25 m_trans( fv->translation()),
27 m_name((( fv->logicalPart()).ddname()).
name()),
28 m_params((( fv->logicalPart()).solid()).
parameters()),
29 m_copy( fv->copyno()),
30 m_z( fv->geoHistory().back().absTranslation().z())
86 it->deepDeleteComponents();
DetGeomDesc & operator=(const DetGeomDesc &)
void applyAlignment(const CTPPSRPAlignmentCorrectionData &)
alignment
void clearComponents()
traverses the treee and deletes all nodes.
ROOT::Math::Rotation3D getRotationMatrix() const
math::XYZVectorD getTranslation() const
void deepDeleteComponents()
deletes just the first daughters
std::vector< double > m_params
virtual ~DetGeomDesc()
destructor
std::vector< DetGeomDesc * > Container
Geometrical description of a sensor.
Container components() const
access to the tree structure
void addComponent(DetGeomDesc *)
components (children) management
Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds.