Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <AtlasDetectorIDHelper.h>
Definition at line 17 of file AtlasDetectorIDHelper.h.
◆ size_type
◆ ERRORS
◆ AtlasDetectorIDHelper()
AtlasDetectorIDHelper::AtlasDetectorIDHelper |
( |
| ) |
|
◆ ~AtlasDetectorIDHelper()
AtlasDetectorIDHelper::~AtlasDetectorIDHelper |
( |
| ) |
|
|
default |
◆ alfa_region_index()
size_type AtlasDetectorIDHelper::alfa_region_index |
( |
| ) |
const |
|
inline |
◆ bcm_region_index()
size_type AtlasDetectorIDHelper::bcm_region_index |
( |
| ) |
const |
|
inline |
◆ csc_region_index()
size_type AtlasDetectorIDHelper::csc_region_index |
( |
| ) |
const |
|
inline |
◆ dm_region_index()
size_type AtlasDetectorIDHelper::dm_region_index |
( |
| ) |
const |
|
inline |
◆ initialize_from_dictionary()
int AtlasDetectorIDHelper::initialize_from_dictionary |
( |
const IdDictMgr & |
dict_mgr | ) |
|
Initialization from the identifier dictionary.
Definition at line 15 of file AtlasDetectorIDHelper.cxx.
26 const std::string& techType) {
28 ATH_MSG_WARNING(
"initialize_from_dictionary - unable to find "<<techType<<
" region index: id, reg "
29 <<
id <<
" " << regionIdx);
33 auto assignRegionIdxFromGrp = [
this, &dict](
const std::string& grp,
size_type& regionIdx) {
40 regionIdx =
group->regions().front()->m_index;
41 ATH_MSG_VERBOSE(
"Region index for "<<grp<<
" will be assigned to "<<regionIdx);
45 auto assignRegionIdxFromRegion = [
this, &dict](
const std::string& grp,
size_type& regionIdx) {
53 ATH_MSG_VERBOSE(
"Region index for "<<grp<<
" will be assigned to "<<regionIdx);
58 ATH_MSG_ERROR(
"initialize_from_dictionary - cannot access InnerDetector dictionary");
76 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access LArCalorimeter dictionary");
85 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access Calorimeter dictionary");
95 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access TileCalorimeter dictionary");
103 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access MuonSpectrometer dictionary");
108 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access stationName field");
122 ATH_MSG_WARNING(
"initialize_from_dictionary - cannot access ForwardDetectors dictionary");
131 ATH_MSG_VERBOSE(
"AtlasDetectorIDHelper::initialize_from_dictionary ");
◆ 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()
size_type AtlasDetectorIDHelper::lar_em_region_index |
( |
| ) |
const |
|
inline |
◆ lar_fcal_region_index()
size_type AtlasDetectorIDHelper::lar_fcal_region_index |
( |
| ) |
const |
|
inline |
◆ lar_hec_region_index()
size_type AtlasDetectorIDHelper::lar_hec_region_index |
( |
| ) |
const |
|
inline |
◆ lucid_region_index()
size_type AtlasDetectorIDHelper::lucid_region_index |
( |
| ) |
const |
|
inline |
◆ lvl1_region_index()
size_type AtlasDetectorIDHelper::lvl1_region_index |
( |
| ) |
const |
|
inline |
◆ mdt_region_index()
size_type AtlasDetectorIDHelper::mdt_region_index |
( |
| ) |
const |
|
inline |
◆ mm_region_index()
size_type AtlasDetectorIDHelper::mm_region_index |
( |
| ) |
const |
|
inline |
◆ 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()
size_type AtlasDetectorIDHelper::muon_station_index |
( |
| ) |
const |
|
inline |
◆ pixel_region_index()
size_type AtlasDetectorIDHelper::pixel_region_index |
( |
| ) |
const |
|
inline |
◆ rpc_region_index()
size_type AtlasDetectorIDHelper::rpc_region_index |
( |
| ) |
const |
|
inline |
◆ sct_region_index()
size_type AtlasDetectorIDHelper::sct_region_index |
( |
| ) |
const |
|
inline |
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ station_field()
◆ stgc_region_index()
size_type AtlasDetectorIDHelper::stgc_region_index |
( |
| ) |
const |
|
inline |
◆ tgc_region_index()
size_type AtlasDetectorIDHelper::tgc_region_index |
( |
| ) |
const |
|
inline |
◆ tile_region_index()
size_type AtlasDetectorIDHelper::tile_region_index |
( |
| ) |
const |
|
inline |
◆ trt_region_index()
size_type AtlasDetectorIDHelper::trt_region_index |
( |
| ) |
const |
|
inline |
◆ zdc_region_index()
size_type AtlasDetectorIDHelper::zdc_region_index |
( |
| ) |
const |
|
inline |
◆ 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 {false} |
|
private |
◆ m_isHighLuminosityLHC
bool AtlasDetectorIDHelper::m_isHighLuminosityLHC {false} |
|
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.
Identifier::size_type size_type
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
#define ATH_MSG_VERBOSE(x)
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.
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