6 #include "TGeoMatrix.h" 27 CellGeo(
const std::vector<const TGeoNode*>&
n,
int depth);
30 void GetCenter(
double* xyz,
double localz=0.0)
const;
31 void GetCenter(TVector3& xyz,
double localz=0.0)
const;
39 void WorldToLocal(
const double* local,
double* world)
const;
void GetCenter(double *xyz, double localz=0.0) const
void WorldToLocal(const double *local, double *world) const
void LocalToWorld(const double *local, double *world) const
const TGeoNode * fCellNode
Pointer to the cell node.
void WorldToLocalVect(const double *local, double *world) const
CellGeo(const std::vector< const TGeoNode * > &n, int depth)
Construct a cell geometry.
Give every cell in the geometry a unique ID number based on the TGeo path to the node.
const CellUniqueId & Id() const
double DistToReadOut(double localz) const
void LocalToWorldVect(const double *local, double *world) const
const TGeoNode * Node() const
static std::vector< TGeoHMatrix > fgParentMatrices
Collection of unique parent matrices seen.
Encapsulate the geometry of one entire detector (near, far, ndos)
void TranslateCell(double dx, double dy=0, double dz=0)
TGeoHMatrix GetGeoMatrix() const
Transformation matrix to world frame.
unsigned long long int CellUniqueId
TGeoHMatrix * fTranslatedMatrix
Adjusted matrix, if TranslateCell() has been called.
int fParentMatrixIdx
Index into fgParentMatrices.
CellUniqueId fId
Node ID number.
Encapsulate the cell geometry.
void RestoreOriginal()
Restore geometry to original.