26 m_trans( fv->translation()),
28 m_name((( fv->logicalPart()).ddname()).
name()),
29 m_params((( fv->logicalPart()).solid()).
parameters()),
30 m_copy( fv->copyno()),
31 m_z( fv->geoHistory().back().absTranslation().z()),
94 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
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
const std::string DDD_CTPPS_PIXELS_SENSOR_TYPE_2x2
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
const std::string DDD_CTPPS_PIXELS_SENSOR_NAME
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.