|
ATLAS Offline Software
|
#include <AtlasDetectorIDHelper.h>
Definition at line 17 of file AtlasDetectorIDHelper.h.
◆ size_type
◆ ERRORS
◆ AtlasDetectorIDHelper()
AtlasDetectorIDHelper::AtlasDetectorIDHelper |
( |
IMessageSvc * |
msgSvc | ) |
|
◆ ~AtlasDetectorIDHelper()
AtlasDetectorIDHelper::~AtlasDetectorIDHelper |
( |
| ) |
|
|
default |
◆ alfa_region_index()
◆ bcm_region_index()
◆ csc_region_index()
◆ dm_region_index()
◆ initialize_from_dictionary()
int AtlasDetectorIDHelper::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr, |
|
|
bool |
quiet |
|
) |
| |
Initialization from the identifier dictionary.
Definition at line 15 of file AtlasDetectorIDHelper.cxx.
26 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access InnerDetector dictionary");
37 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find pixel region index: id, reg "
47 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find sct region index: id, reg "
54 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find trt region index: id, reg "
61 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access LArCalorimeter dictionary");
67 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find lar_em region index: id, reg "
74 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find lar_hec region index: id, reg "
81 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find lar_fcal region index: id, reg "
89 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access Calorimeter dictionary");
97 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find lvl1 region");
105 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find dead material region");
111 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access TileCalorimeter dictionary");
117 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find tile region index: id, reg");
123 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access MuonSpectrometer dictionary");
128 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access stationName field");
138 const std::vector<IdDictRegion*>& regions =
group->regions();
139 if (regions.size() > 0) {
150 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find mdt region index: group, region size "
157 if (
group->regions().size() > 0) {
166 ATH_MSG_DEBUG(
"initialize_from_dictionary - unable to find csc region index: group, region size "
173 if (
group->regions().size() > 0) {
182 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find rpc region index: group, region size "
189 if (
group->regions().size() > 0) {
198 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find tgc region index: group, region size "
205 if (
group->regions().size() > 0) {
215 ATH_MSG_DEBUG(
"initialize_from_dictionary - unable to find mm region index: group, region size "
223 if (
group->regions().size() > 0) {
233 ATH_MSG_DEBUG(
"initialize_from_dictionary - unable to find stgc region index: group, region size "
242 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access ForwardDetectors dictionary");
248 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find alfa region index: id, reg "
255 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find bcm region index: id, reg "
262 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find lucid region index: id, reg "
269 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find zdc region index: id, reg "
◆ 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.
◆ lar_em_region_index()
◆ lar_fcal_region_index()
◆ lar_hec_region_index()
◆ lucid_region_index()
◆ lvl1_region_index()
◆ mdt_region_index()
◆ mm_region_index()
◆ 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.
◆ muon_station_index()
◆ pixel_region_index()
◆ rpc_region_index()
◆ sct_region_index()
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ station_field()
◆ stgc_region_index()
◆ tgc_region_index()
◆ tile_region_index()
◆ trt_region_index()
◆ zdc_region_index()
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_alfa_region_index
◆ m_bcm_region_index
◆ m_csc_region_index
◆ m_dm_region_index
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_initialized
bool AtlasDetectorIDHelper::m_initialized {} |
|
private |
◆ m_isHighLuminosityLHC
bool AtlasDetectorIDHelper::m_isHighLuminosityLHC {} |
|
private |
◆ m_lar_em_region_index
◆ m_lar_fcal_region_index
◆ m_lar_hec_region_index
◆ m_lucid_region_index
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_lvl1_region_index
◆ m_mdt_region_index
◆ m_mm_region_index
◆ 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_muon_station_index
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_pixel_region_index
◆ m_rpc_region_index
◆ m_sct_region_index
◆ m_station_field
◆ m_stgc_region_index
◆ m_tgc_region_index
◆ m_tile_region_index
◆ m_trt_region_index
◆ m_zdc_region_index
The documentation for this class was generated from the following files:
size_type m_muon_station_index
IdDictRegion * find_region(const std::string ®ion_name) const
std::atomic< MSG::Level > m_lvl
Current logging level.
size_type m_dm_region_index
size_type m_trt_region_index
size_type m_bcm_region_index
ExpandedIdentifier lucid_exp(void) const
size_type m_pixel_region_index
size_type m_mm_region_index
size_type m_zdc_region_index
bool m_isHighLuminosityLHC
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
ExpandedIdentifier tile_exp(void) const
IMessageSvc * getMessageSvc(bool quiet=false)
IdDictField * find_field(const std::string &name) const
size_type m_lar_em_region_index
size_type m_csc_region_index
AthMessaging()
Default constructor:
IdDictGroup * find_group(const std::string &group_name) const
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
msgSvc
Provide convenience handles for various services.
size_type m_lvl1_region_index
ExpandedIdentifier zdc_exp(void) const
size_type m_stgc_region_index
ExpandedIdentifier alfa_exp(void) const
Forward.
ExpandedIdentifier sct_exp(void) const
size_type m_rpc_region_index
ExpandedIdentifier lar_hec_exp(void) const
MsgStream & msg() const
The standard message stream.
size_type m_lucid_region_index
size_type m_alfa_region_index
size_type m_mdt_region_index
#define ATH_MSG_WARNING(x)
std::string m_nm
Message source name.
size_type m_sct_region_index
ExpandedIdentifier trt_exp(void) const
ExpandedIdentifier bcm_exp(void) const
ExpandedIdentifier lar_fcal_exp(void) 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)
size_type m_lar_fcal_region_index
ExpandedIdentifier pixel_exp(void) const
Inner Detector:
size_type m_tile_region_index
size_type m_lar_hec_region_index
size_type m_tgc_region_index
ExpandedIdentifier lar_em_exp(void) const
LAr.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdDictField * m_station_field