39 PlaneGeo(std::vector<const TGeoNode*>&
n,
unsigned int depth);
49 if (icell < 0 || icell >= (
int)
fCell.size())
return 0;
50 return fCell[icell]; }
62 void WorldToLocal(
const double* world,
double* plane)
const;
70 double phi = 0,
double theta= 0,
double psi = 0);
80 void FindCells(std::vector<const TGeoNode*>& n,
unsigned int depth);
81 void MakeCell(std::vector<const TGeoNode*>& n,
unsigned int depth);
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
void FindCells(std::vector< const TGeoNode * > &n, unsigned int depth)
const CellGeo * Cell(int icell) const
Vertical planes which measure X.
unsigned int Ncells() const
Number of cells in this plane.
PlaneGeo(std::vector< const TGeoNode * > &n, unsigned int depth)
Construct a representation of a single plane of the detector.
Vertical modules readout on the top.
_plane_proj
Enumerate the possible plane projections.
void WorldToLocal(const double *world, double *plane) const
Transform point from world frame to local plane frame.
View_t fView
Does this plane measure X or Y?
Horizontal modules readout on the west.
Horizontal planes which measure Y.
_readout
Enumerate the possible locations of the cell readout.
bool fIsOriginal
Is fGeoMatrix the original transform?
TGeoHMatrix * fGeoMatrixOriginal
Original plane to world transform.
Readout_t fReadout
Which end is the readout on?
View_t View() const
Which coordinate does this plane measure.
TGeoHMatrix * fGeoMatrix
Plane to world transform.
enum geo::_readout Readout_t
Enumerate the possible locations of the cell readout.
Geometry information for a single readout plane.
void TranslatePlane(double dx, double dy=0, double dz=0, double phi=0, double theta=0, double psi=0)
std::vector< CellGeo * > fCell
List of cells in this plane.
Don't care which side the read out is on.
void LocalToWorldVect(const double *plane, double *world) const
Transform direction vector from local to world.
void MakeCell(std::vector< const TGeoNode * > &n, unsigned int depth)
Encapsulate the cell geometry.
Horizontal modules readout on the east.
void RestoreOriginal()
Restore geometry to original.
void LocalToWorld(const double *plane, double *world) const
Transform point from local plane frame to world frame.
void WorldToLocalVect(const double *world, double *plane) const
Transform direction vector from world to local.