25 : m_trans(fv->translation()),
27 m_name(((fv->logicalPart()).ddname()).
name()),
28 m_params(((fv->logicalPart()).solid()).
parameters()),
30 m_z(fv->geoHistory().back().absTranslation().z()) {}
68 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
std::vector< DetGeomDesc * > Container
math::XYZVectorD getTranslation() const
void deepDeleteComponents()
deletes just the first daughters
std::vector< double > m_params
virtual ~DetGeomDesc()
destructor
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.