EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "DD4hep/DetFactoryHelper.h"
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) |
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
volume_t | the Type of volume (Volume, Assembly) |
odd | the top level detector |
barrelVolume | the volume to put the routing on |
x_routing | the xml description of the routing |
layerR | the 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 cos(), gap(), M_PI, n, phi, and rmax().
Referenced by create_element().
void buildCoolingRings | ( | Detector & | oddd, |
volume_t & | motherVolume, | ||
const xml_comp_t & | x_mother_comp | ||
) |
Helper method to build a cyoindrical like passive structure
volume_t | the Type of volume (Volume, Assembly) |
odd | the top level detector |
endcapVolume | the volume to put the routing on |
x_mother_comp | the xml description of teh mother component |
layerR | the 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 cos(), dz, M_PI, and phi.
Referenced by create_element().
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
volume_t | the Type of volume (Volume, Assembly) |
odd | the top level detector |
endcapVolume | the volume to put the routing on |
x_routing | the xml description of the routing |
endcapZ | the 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(), cos(), gap(), M_PI, n, phi, and rmax().
Referenced by create_element().
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
volume_t | the Type of volume (Volume, Assembly) |
odd | the top level detector |
endcapVolume | the volume to put the routing on |
x_mother_comp | the xml description of teh mother component |
layerR | the 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().