EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Functions | |
std::shared_ptr< const Acts::DigitizationModule > | rectangleDigiModuleXZ (double halflengthX, double halflengthZ, double thickness, const dd4hep::Segmentation &segmentation) |
std::shared_ptr< const Acts::DigitizationModule > | rectangleDigiModuleXZ (double halflengthX, double halflengthZ, double thickness, double gridSizeX, double gridSizeZ) |
std::shared_ptr< const Acts::DigitizationModule > | trapezoidalDigiModuleXZ (double minHalflengthX, double maxHalflengthX, double halflengthZ, double thickness, const dd4hep::Segmentation &segmentation) |
std::shared_ptr< const Acts::DigitizationModule > | trapezoidalDigiModuleXZ (double minHalflengthX, double maxHalflengthX, double halflengthZ, double thickness, double gridSizeX, double gridSizeZ) |
dd4hep::xml::Component | getNodeByStrAttr (const dd4hep::xml::Handle_t &mother, const std::string &nodeName, const std::string &attrName, const std::string &attrValue) |
Retrieves the the node componetn from a mother by the string names. | |
double | getAttrValueWithFallback (const dd4hep::xml::Component &node, const std::string &attrName, const double &defaultValue) |
double det::utils::getAttrValueWithFallback | ( | const dd4hep::xml::Component & | node, |
const std::string & | attrName, | ||
const double & | defaultValue | ||
) |
try to get attribute with double value, return defaultValue if attribute not found
Definition at line 152 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 152 of file DetUtils.cpp
dd4hep::xml::Component det::utils::getNodeByStrAttr | ( | const dd4hep::xml::Handle_t & | mother, |
const std::string & | nodeName, | ||
const std::string & | attrName, | ||
const std::string & | attrValue | ||
) |
Retrieves the the node componetn from a mother by the string names.
mother | The Handle to the mother volume |
nodeName | The name of the note |
attrName | The name of the Atribute |
attrValue | The attribute value |
Definition at line 138 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 138 of file DetUtils.cpp
std::shared_ptr< const Acts::DigitizationModule > det::utils::rectangleDigiModuleXZ | ( | double | halflengthX, |
double | halflengthZ, | ||
double | thickness, | ||
const dd4hep::Segmentation & | segmentation | ||
) |
Global method to build an Acts::DigitizationModule with rectangular segmentation.
halflengthX | The half length in x of the detector module |
halflengthZ | The half length in z of the detector module |
thickness | The thickness of the detector module |
segmentation | the DD4hep segmentation |
Definition at line 21 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 21 of file DetUtils.cpp
References Acts::UnitConstants::cm.
Referenced by det::createTkLayoutTrackerBarrel().
std::shared_ptr< const Acts::DigitizationModule > det::utils::rectangleDigiModuleXZ | ( | double | halflengthX, |
double | halflengthZ, | ||
double | thickness, | ||
double | gridSizeX, | ||
double | gridSizeZ | ||
) |
Global method to build an Acts::DigitizationModule with rectangular segmentation.
halflengthX | The half length in x of the detector module |
halflengthZ | The half length in z of the detector module |
thickness | The thickness of the detector module |
gridSizeX | The grid size in x |
gridSizeY | The grid size in y |
Definition at line 52 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 52 of file DetUtils.cpp
References Acts::UnitConstants::cm.
std::shared_ptr< const Acts::DigitizationModule > det::utils::trapezoidalDigiModuleXZ | ( | double | minHalflengthX, |
double | maxHalflengthX, | ||
double | halflengthZ, | ||
double | thickness, | ||
const dd4hep::Segmentation & | segmentation | ||
) |
Global method to build an Acts::DigitizationModule with trapezoidal segmentation.
minHalflengthX | The half length in x of the detector module on the negative side of z |
maxHalflengthX | The half length in x of the detector module on the positive side of z |
halflengthZ | The half length in z of the detector module |
thickness | The thickness of the detector module |
segmentation | the DD4hep segmentation |
Definition at line 77 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 77 of file DetUtils.cpp
References Acts::UnitConstants::cm.
Referenced by det::createTkLayoutTrackerEndcap().
std::shared_ptr< const Acts::DigitizationModule > det::utils::trapezoidalDigiModuleXZ | ( | double | minHalflengthX, |
double | maxHalflengthX, | ||
double | halflengthZ, | ||
double | thickness, | ||
double | gridSizeX, | ||
double | gridSizeZ | ||
) |
Global method to build an Acts::DigitizationModule with trapezoidal segmentation.
minHalflengthX | The half length in x of the detector module on the negative side of z |
maxHalflengthX | The half length in x of the detector module on the positive side of z |
halflengthZ | The half length in z of the detector module |
thickness | The thickness of the detector module |
gridSizeX | The grid size in x |
gridSizeY | The grid size in y |
Definition at line 111 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 111 of file DetUtils.cpp
References Acts::UnitConstants::cm.