Analysis Software
Documentation for sPHENIX simulation software
|
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 node component 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 169 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 169 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 node component 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 Attribute |
attrValue | The attribute value |
Definition at line 155 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 155 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 26 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 26 of file DetUtils.cpp
References bounds, and Acts::UnitConstants::cm.
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 59 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 59 of file DetUtils.cpp
References bounds, and 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 88 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 88 of file DetUtils.cpp
References bounds, and Acts::UnitConstants::cm.
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 124 of file DetUtils.cpp.
View newest version in sPHENIX GitHub at line 124 of file DetUtils.cpp
References bounds, and Acts::UnitConstants::cm.