 |
ATLAS Offline Software
|
Go to the documentation of this file.
38 int nstaves,
const std::string&
suffix,
39 int nModulesPerStave,
int nChipsPerModule)
43 nModulesPerStave, nChipsPerModule);
52 int nstaves,
const std::string&
suffix,
53 int nModulesPerStave,
int nChipsPerModule)
58 nModulesPerStave, nChipsPerModule);
78 std::map<const ServicesLayer*, ServiceMaterial> layerMaterial;
82 std::vector<ServiceMaterial>
result;
86 for (ServiceVolume::LayerContainer::const_iterator
il=
layers.begin();
il!=
layers.end(); ++
il) {
91 if (iMat != layerMaterial.end()) layerMat = iMat->second;
106 layerMaterial[*
il] = layerMat;
108 result.push_back( std::move(layerMat));
111 (**iv).setMaterials(
result);
118 if (vol.
name().find(
"Pixel") != string::npos) {
119 name =
"pix::PixelEOS";
122 name =
"pix::StripEOS";
LayerContainer m_barrelLayers
JetConstituentVector::iterator iterator
void addCooling(DetType::Type type, DetType::Part part, int layerNumber, int nStaves, ServiceMaterial &mat)
void constructBarrelLayer(double radius, double zHalfLength, DetType::Type type, int num, int nstaves, const std::string &suffix, int nModulesPerStave, int nChipsPerModule)
void computeServicesPerLayer()
LayerContainer m_endcapPixelLayers
LayerContainer m_barrelStripLayers
Class storing all the services of a stave (or a petal, etc...) classifying them by function and by nu...
void createRoutingVolumes(ServicesTracker &tracker)
void multiply(int factor)
LayerContainer m_endcapStripLayers
std::vector< const ServicesLayer * > LayerContainer
ServiceMaterial convertStaveServices(const StaveServices &stServ) const
bool msgLvl(const MSG::Level lvl) const
Test the output level.
void dump(std::ostream &os) const
StaveServices compute(DetType::Type, DetType::Part, int layerNumber, int nModulesPerStave, int nChipsPerModule, MsgStream &msg) const
LayerContainer m_barrelPixelLayers
Class to provide easy MsgStream access and capabilities.
void constructEndcapLayer(double zpos, double rmin, double rmax, DetType::Type type, int num, int nstaves, const std::string &suffix, int nModulesPerStave, int nChipsPerModule)
MsgStream & msg() const
The standard message stream.
std::vector< Entry > EntryContainer
const LayerContainer & layers() const
std::vector< ServiceVolume * > m_volumes
const std::string & name() const
void addEosMaterial(const ServiceVolume &vol, std::vector< ServiceMaterial > &result)
ServicesTracker()
Construct an empty tracker, to be filled by Builder.
Structure holding one service material.