EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Namespaces | |
namespace | utils |
Functions | |
static dd4hep::Ref_t | createTkLayoutTrackerBarrel (dd4hep::Detector &lcdd, dd4hep::xml::Handle_t xmlElement, dd4hep::SensitiveDetector sensDet) |
static dd4hep::Ref_t | createTkLayoutTrackerEndcap (dd4hep::Detector &lcdd, dd4hep::xml::Handle_t xmlElement, dd4hep::SensitiveDetector sensDet) |
static dd4hep::Ref_t | createSimpleLayeredCylinder (dd4hep::Detector &lcdd, dd4hep::xml::Handle_t xmlElement, dd4hep::SensitiveDetector sensDet) |
Given a xml element with several daughters with the same name, e.g. <detector> <layer name="1"> <layer name="2"> </detector> this method returns the first daughter of type nodeName whose attribute has a given value e.g. returns <layer name="2"> when called with (detector, "layer", "name", "1")
|
static |
Factory for a shape from multiple cylinders. Meant for material approximations. Expected xml structure: <detector type="SimpleLayeredCylinder" ...> <dimensions rmin="..." rmax="..." dz="..." z_offset="..."> <layer rmin="..." rmax="..." dz="..." z_offset="..." material="..."> ... <layer rmin="..." rmax="..." dz="..." z_offset="..." material="..."> </detector>
Definition at line 28 of file SimpleLayeredCylinder_geo.cpp.
View newest version in sPHENIX GitHub at line 28 of file SimpleLayeredCylinder_geo.cpp
References Acts::ActsExtension::addType(), G4TTL::layer, and name.
|
static |
Definition at line 20 of file FCChhTrackerTkLayout_Barrel.cpp.
View newest version in sPHENIX GitHub at line 20 of file FCChhTrackerTkLayout_Barrel.cpp
References Acts::ActsExtension::addType(), cos(), G4TTL::layer, M_PI, phi, det::utils::rectangleDigiModuleXZ(), and nlohmann::to_string().
|
static |
iterate over discs
Definition at line 21 of file FCChhTrackerTkLayout_Endcap.cpp.
View newest version in sPHENIX GitHub at line 21 of file FCChhTrackerTkLayout_Endcap.cpp
References Acts::ActsExtension::addType(), M_PI, phi, pi, nlohmann::to_string(), and det::utils::trapezoidalDigiModuleXZ().