ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
DetectorElement class implementation for DD4hep geometry. More...
#include <acts/blob/master/Plugins/DD4hep/include/Acts/Plugins/DD4hep/DD4hepDetectorElement.hpp>
Public Types | |
using | ContextType = GeometryContext |
Broadcast the context type. | |
Public Types inherited from Acts::TGeoDetectorElement | |
using | ContextType = GeometryContext |
Broadcast the context type. | |
Public Member Functions | |
DD4hepDetectorElement (const dd4hep::DetElement detElement, const std::string &axes="XYZ", double scalor=1., bool isDisc=false, std::shared_ptr< const ISurfaceMaterial > material=nullptr, std::shared_ptr< const DigitizationModule > digitizationModule=nullptr) | |
~DD4hepDetectorElement () override=default | |
Desctructor. | |
Public Member Functions inherited from Acts::TGeoDetectorElement | |
TGeoDetectorElement (const Identifier &identifier, TGeoNode *tGeoDetElement, const TGeoMatrix *mGlobal=nullptr, const std::string &axes="XYZ", double scalor=1., bool isDisc=false, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitizationModule=nullptr) | |
TGeoDetectorElement (const Identifier &identifier, const TGeoMatrix &transform, TGeoNode *tGeoDetElement, const std::string &axes="XYZ", double scalor=1., bool isDisc=false, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr, std::shared_ptr< const Acts::DigitizationModule > digitizationModule=nullptr) | |
~TGeoDetectorElement () override | |
Destructor. | |
Identifier | identifier () const final |
Identifier. | |
const Transform3D & | transform (const GeometryContext &gctx) const final |
const Surface & | surface () const final |
Return surface associated with this identifier, which should come from the. | |
double | thickness () const final |
Returns the thickness of the module. | |
const std::shared_ptr< const Acts::DigitizationModule > | digitizationModule () const final |
Retrieve the DigitizationModule. | |
Private Attributes | |
dd4hep::DetElement | m_detElement |
DD4hep detector element. | |
dd4hep::Segmentation | m_segmentation |
DD4hep segmentation. | |
Additional Inherited Members | |
Protected Member Functions inherited from Acts::TGeoDetectorElement | |
void | construct (const Double_t *rotation=nullptr, const Double_t *translation=nullptr, const std::string &axes="XYZ", double scalor=1., bool isDisc=false, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr) |
DetectorElement class implementation for DD4hep geometry.
DetectorElement plugin for DD4hep detector elements. DD4hep is based on TGeo shapes, therefore the DD4hepDetectorElement inherits from TGeoDetectorElement. The full geometrical information is provided by the TGeoDetectorElement. The DD4hepDetectorElement extends the TGeoDetectorElement by containing a segmentation for the readout.
Definition at line 41 of file DD4hepDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 41 of file DD4hepDetectorElement.hpp
Broadcast the context type.
Definition at line 44 of file DD4hepDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 44 of file DD4hepDetectorElement.hpp
Acts::DD4hepDetectorElement::DD4hepDetectorElement | ( | const dd4hep::DetElement | detElement, |
const std::string & | axes = "XYZ" , |
||
double | scalor = 1. , |
||
bool | isDisc = false , |
||
std::shared_ptr< const ISurfaceMaterial > | material = nullptr , |
||
std::shared_ptr< const DigitizationModule > | digitizationModule = nullptr |
||
) |
Constructor
detElement | The DD4hep DetElement which should be linked to a surface |
axes | is the axis orientation with respect to the tracking frame it is a string of the three characters x, y and z (standing for the three axes) There is a distinction between capital and lower case characters :
|
Example options are:
scalor | is the scale factor for unit conversion if needed |
isDisc | in case the sensitive detector module should be translated as disc (e.g. for endcaps) this flag should be set to true |
TGeoTubeSeg
should be translated to a disc surface. Per default it will be translated into a cylindrical surface. material | Possible material of detector element |
Definition at line 16 of file DD4hepDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 16 of file DD4hepDetectorElement.cpp
|
overridedefault |
Desctructor.
|
private |
DD4hep detector element.
Definition at line 86 of file DD4hepDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 86 of file DD4hepDetectorElement.hpp
|
private |
DD4hep segmentation.
Definition at line 88 of file DD4hepDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 88 of file DD4hepDetectorElement.hpp