ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ODDServiceHelper.hpp File Reference
#include "DD4hep/DetFactoryHelper.h"
+ Include dependency graph for ODDServiceHelper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename volume_t >
void buildBarrelRouting (Detector &oddd, volume_t &barrelVolume, const xml_comp_t &x_routing, const std::vector< double > &layerR)
 
template<typename volume_t >
void buildEndcapRouting (Detector &oddd, volume_t &endcapVolume, const xml_comp_t &x_routing, const std::vector< double > &endcapZ)
 
template<typename volume_t >
void buildSupportCylinder (Detector &oddd, volume_t &motherVolume, const xml_comp_t &x_mother_comp, std::vector< double > &layerR)
 
template<typename volume_t >
void buildCoolingRings (Detector &oddd, volume_t &motherVolume, const xml_comp_t &x_mother_comp)
 

Function Documentation

template<typename volume_t >
void buildBarrelRouting ( Detector &  oddd,
volume_t &  barrelVolume,
const xml_comp_t &  x_routing,
const std::vector< double > &  layerR 
)

Helper method to build service routing for the Barrel type

Template Parameters
volume_tthe Type of volume (Volume, Assembly)
Parameters
oddthe top level detector
barrelVolumethe volume to put the routing on
x_routingthe xml description of the routing
layerRthe layer radii to connect

Definition at line 25 of file ODDServiceHelper.hpp.

View newest version in sPHENIX GitHub at line 25 of file ODDServiceHelper.hpp

References BlackHoleGeometry::gap, M_PI, n, phi, rmax(), and BTOF::zpos.

Referenced by create_element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename volume_t >
void buildCoolingRings ( Detector &  oddd,
volume_t &  motherVolume,
const xml_comp_t &  x_mother_comp 
)

Helper method to build a cyoindrical like passive structure

Template Parameters
volume_tthe Type of volume (Volume, Assembly)
Parameters
oddthe top level detector
endcapVolumethe volume to put the routing on
x_mother_compthe xml description of teh mother component
layerRthe layer radii contaienr to add the new one

Definition at line 196 of file ODDServiceHelper.hpp.

View newest version in sPHENIX GitHub at line 196 of file ODDServiceHelper.hpp

References dz, M_PI, phi, r, and BTOF::zpos.

Referenced by create_element().

+ Here is the caller graph for this function:

template<typename volume_t >
void buildEndcapRouting ( Detector &  oddd,
volume_t &  endcapVolume,
const xml_comp_t &  x_routing,
const std::vector< double > &  endcapZ 
)

Helper method to build service routing for the Endcap type

Template Parameters
volume_tthe Type of volume (Volume, Assembly)
Parameters
oddthe top level detector
endcapVolumethe volume to put the routing on
x_routingthe xml description of the routing
endcapZthe layer z positions to connect

Definition at line 94 of file ODDServiceHelper.hpp.

View newest version in sPHENIX GitHub at line 94 of file ODDServiceHelper.hpp

References kdfinder::abs(), BlackHoleGeometry::gap, M_PI, n, phi, r, rmax(), and BTOF::zpos.

Referenced by create_element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename volume_t >
void buildSupportCylinder ( Detector &  oddd,
volume_t &  motherVolume,
const xml_comp_t &  x_mother_comp,
std::vector< double > &  layerR 
)

Helper method to build a cyoindrical like passive structure

Template Parameters
volume_tthe Type of volume (Volume, Assembly)
Parameters
oddthe top level detector
endcapVolumethe volume to put the routing on
x_mother_compthe xml description of teh mother component
layerRthe layer radii contaienr to add the new one

Definition at line 160 of file ODDServiceHelper.hpp.

View newest version in sPHENIX GitHub at line 160 of file ODDServiceHelper.hpp

Referenced by create_element().

+ Here is the caller graph for this function: