ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
det Namespace Reference

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)
 

Detailed Description

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")

Function Documentation

static dd4hep::Ref_t det::createSimpleLayeredCylinder ( dd4hep::Detector &  lcdd,
dd4hep::xml::Handle_t  xmlElement,
dd4hep::SensitiveDetector  sensDet 
)
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>

Author
: Joschka Lingemann

Definition at line 27 of file SimpleLayeredCylinder_geo.cpp.

View newest version in sPHENIX GitHub at line 27 of file SimpleLayeredCylinder_geo.cpp

References Acts::ActsExtension::addType(), and G4TTL::layer.

+ Here is the call graph for this function:

static dd4hep::Ref_t det::createTkLayoutTrackerBarrel ( dd4hep::Detector &  lcdd,
dd4hep::xml::Handle_t  xmlElement,
dd4hep::SensitiveDetector  sensDet 
)
static

Definition at line 19 of file FCChhTrackerTkLayout_Barrel.cpp.

View newest version in sPHENIX GitHub at line 19 of file FCChhTrackerTkLayout_Barrel.cpp

References Acts::ActsExtension::addType(), G4TTL::layer, M_PI, phi, det::utils::rectangleDigiModuleXZ(), and nlohmann::to_string().

+ Here is the call graph for this function:

static dd4hep::Ref_t det::createTkLayoutTrackerEndcap ( dd4hep::Detector &  lcdd,
dd4hep::xml::Handle_t  xmlElement,
dd4hep::SensitiveDetector  sensDet 
)
static

iterate over discs

Definition at line 20 of file FCChhTrackerTkLayout_Endcap.cpp.

View newest version in sPHENIX GitHub at line 20 of file FCChhTrackerTkLayout_Endcap.cpp

References Acts::ActsExtension::addType(), components, M_PI, phi, pi, nlohmann::to_string(), and det::utils::trapezoidalDigiModuleXZ().

+ Here is the call graph for this function: