|
ATLAS Offline Software
|
Go to the documentation of this file.
39 int nstaves,
const std::string&
suffix,
40 int nModulesPerStave,
int nChipsPerModule)
44 nModulesPerStave, nChipsPerModule);
53 int nstaves,
const std::string&
suffix,
54 int nModulesPerStave,
int nChipsPerModule)
59 nModulesPerStave, nChipsPerModule);
74 msg(MSG::INFO) <<
"ServicesTracker::finaliseServices called for " <<
m_volumes.size() <<
" volumes" <<
endmsg;
79 std::map<const ServicesLayer*, ServiceMaterial> layerMaterial;
83 std::vector<ServiceMaterial>
result;
87 for (ServiceVolume::LayerContainer::const_iterator
il=
layers.begin();
il!=
layers.end(); ++
il) {
92 if (iMat != layerMaterial.end()) layerMat = iMat->second;
107 layerMaterial[*
il] = layerMat;
109 result.push_back( layerMat);
112 (**iv).setMaterials(
result);
119 if (vol.
name().find(
"Pixel") != string::npos) {
120 name =
"pix::PixelEOS";
123 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.