|
ATLAS Offline Software
|
#include <ServicesTracker.h>
|
| ServicesTracker () |
| Construct an empty tracker, to be filled by Builder. More...
|
|
| ~ServicesTracker () |
|
void | computeServicesPerLayer () |
|
void | finaliseServices () |
|
const LayerContainer & | barrelLayers () const |
|
LayerContainer & | barrelLayers () |
|
LayerContainer & | barrelPixelLayers () |
|
LayerContainer & | endcapPixelLayers () |
|
LayerContainer & | barrelStripLayers () |
|
LayerContainer & | endcapStripLayers () |
|
const std::vector< ServiceVolume * > & | serviceVolumes () const |
|
void | setServiceVolumes (const std::vector< ServiceVolume * > &vc) |
|
void | constructBarrelLayer (double radius, double zHalfLength, DetType::Type type, int num, int nstaves, const std::string &suffix, int nModulesPerStave, int nChipsPerModule) |
|
void | constructEndcapLayer (double zpos, double rmin, double rmax, DetType::Type type, int num, int nstaves, const std::string &suffix, int nModulesPerStave, int nChipsPerModule) |
|
const InDetServMatGeometryManager * | geoMgr () const |
|
void | setGeoMgr (const InDetServMatGeometryManager *mgr) |
|
bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. More...
|
|
MsgStream & | msg () const |
| The standard message stream. More...
|
|
MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. More...
|
|
void | setLevel (MSG::Level lvl) |
| Change the current logging level. More...
|
|
Definition at line 19 of file ServicesTracker.h.
◆ LayerContainer
◆ ServicesTracker()
ServicesTracker::ServicesTracker |
( |
| ) |
|
◆ ~ServicesTracker()
ServicesTracker::~ServicesTracker |
( |
| ) |
|
◆ add()
void ServicesTracker::add |
( |
std::map< std::string, double > & |
res, |
|
|
const std::string & |
name, |
|
|
double |
len |
|
) |
| |
|
private |
◆ addEosMaterial()
◆ barrelLayers() [1/2]
◆ barrelLayers() [2/2]
◆ barrelPixelLayers()
◆ barrelStripLayers()
◆ computeServicesPerLayer()
void ServicesTracker::computeServicesPerLayer |
( |
| ) |
|
◆ constructBarrelLayer()
void ServicesTracker::constructBarrelLayer |
( |
double |
radius, |
|
|
double |
zHalfLength, |
|
|
DetType::Type |
type, |
|
|
int |
num, |
|
|
int |
nstaves, |
|
|
const std::string & |
suffix, |
|
|
int |
nModulesPerStave, |
|
|
int |
nChipsPerModule |
|
) |
| |
◆ constructEndcapLayer()
void ServicesTracker::constructEndcapLayer |
( |
double |
zpos, |
|
|
double |
rmin, |
|
|
double |
rmax, |
|
|
DetType::Type |
type, |
|
|
int |
num, |
|
|
int |
nstaves, |
|
|
const std::string & |
suffix, |
|
|
int |
nModulesPerStave, |
|
|
int |
nChipsPerModule |
|
) |
| |
◆ endcapPixelLayers()
◆ endcapStripLayers()
◆ finaliseServices()
void ServicesTracker::finaliseServices |
( |
| ) |
|
Definition at line 72 of file ServicesTracker.cxx.
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);
◆ geoMgr()
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ serviceVolumes()
◆ setGeoMgr()
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ setServiceVolumes()
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_barrelLayers
◆ m_barrelPixelLayers
◆ m_barrelStripLayers
◆ m_endcapPixelLayers
◆ m_endcapStripLayers
◆ m_geoMgr
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_volumes
The documentation for this class was generated from the following files:
LayerContainer m_barrelLayers
JetConstituentVector::iterator iterator
std::atomic< MSG::Level > m_lvl
Current logging level.
void addCooling(DetType::Type type, DetType::Part part, int layerNumber, int nStaves, ServiceMaterial &mat)
const InDetServMatGeometryManager * m_geoMgr
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)
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
IMessageSvc * getMessageSvc(bool quiet=false)
LayerContainer m_endcapStripLayers
std::vector< const ServicesLayer * > LayerContainer
AthMessaging()
Default constructor:
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
MsgStream & msg() const
The standard message stream.
std::vector< Entry > EntryContainer
const LayerContainer & layers() const
std::string m_nm
Message source name.
std::vector< ServiceVolume * > m_volumes
const std::string & name() const
void initMessaging() const
Initialize our message level and MessageSvc.
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void addEosMaterial(const ServiceVolume &vol, std::vector< ServiceMaterial > &result)
Structure holding one service material.