EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ODDModuleHelper Struct Reference

#include <acts/blob/sPHENIX/Examples/Detectors/DD4hepDetector/src/OpenDataDetector/ODDModuleHelper.hpp>

Static Public Member Functions

static std::pair< Assembly,
DetElement > 
assembleTrapezoidalModule (Detector &oddd, SensitiveDetector &sens, const xml_comp_t &x_module)
 
static std::pair< Assembly,
DetElement > 
assembleRectangularModule (Detector &oddd, SensitiveDetector &sens, const xml_comp_t &x_module, double &ylength)
 

Detailed Description

This method assemples a trapezoidal module for the strip detectors

Parameters
oddis the top level detector
sensis the top level sensitive detector container
x_moduleis the xml component describing the module

It excpects module_component xml childs

Definition at line 26 of file ODDModuleHelper.hpp.

View newest version in sPHENIX GitHub at line 26 of file ODDModuleHelper.hpp

Member Function Documentation

std::pair< Assembly, DetElement > ODDModuleHelper::assembleRectangularModule ( Detector &  oddd,
SensitiveDetector &  sens,
const xml_comp_t &  x_module,
double &  ylength 
)
static

This method assemples a rectangular module for the pixel and strip detectors

Parameters
oddis the top level detector
sensis the top level sensitive detector container
x_moduleis the xml component describing the module
ylength[in,out]is the maximal length in y of all components to be used for stave building

It excpects module_component xml childs

Definition at line 104 of file ODDModuleHelper.cpp.

View newest version in sPHENIX GitHub at line 104 of file ODDModuleHelper.cpp

References kdfinder::abs(), Acts::ActsExtension::addType(), and M_PI.

Referenced by create_element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::pair< Assembly, DetElement > ODDModuleHelper::assembleTrapezoidalModule ( Detector &  oddd,
SensitiveDetector &  sens,
const xml_comp_t &  x_module 
)
static

Definition at line 16 of file ODDModuleHelper.cpp.

View newest version in sPHENIX GitHub at line 16 of file ODDModuleHelper.cpp

References Acts::ActsExtension::addType().

Referenced by create_element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: