9 #ifndef Geometry_VeryForwardGeometryBuilder_DetGeomDesc 10 #define Geometry_VeryForwardGeometryBuilder_DetGeomDesc 67 virtual std::vector< DDExpandedNode >
parents() const
std::vector< DDExpandedNode > _parents
DDRotationMatrix rotation() const
geometry information
DetGeomDesc(nav_type navtype, GeometricEnumType dd=0)
Constructors to be used when looping over DDD.
void addComponents(Container cont)
void setComponents(Container cont)
components (children) management
DetGeomDesc & operator=(const DetGeomDesc &)
virtual double density() const
DDName is used to identify DDD entities uniquely.
DDExpandedView::nav_type nav_type
void deepDeleteComponents()
deletes just the first daughters
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
virtual ~DetGeomDesc()
destructor
void ApplyAlignment(const RPAlignmentCorrectionData &)
alignment
void setGeographicalID(DetId id)
ID stuff.
virtual ConstContainer components() const
access to the tree structure
Geometrical description of a sensor.
virtual std::vector< DDExpandedNode > parents() const
returns all the components below
DDTranslation translation() const
std::vector< DetGeomDesc * > Container
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.
virtual std::string material() const
virtual double volume() const
virtual int copyno() const
virtual DetId geographicalID() const
std::vector< double > _params
GeometricEnumType type() const
std::vector< const DetGeomDesc * > ConstContainer
virtual double weight() const
unsigned int GeometricEnumType
a type (not used in the moment, left for the future)
std::vector< double > params() const
virtual ConstContainer deepComponents() const
Provides an exploded view of the detector (tree-view)
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
void addComponent(DetGeomDesc *)
DDSolidShape shape() const
std::vector< int > nav_type
std::vector of sibling numbers
bool isLeaf() const
traverses the treee and deletes all nodes.