ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
AtlasDetectorIDHelper Class Reference

#include <AtlasDetectorIDHelper.h>

Inheritance diagram for AtlasDetectorIDHelper:
Collaboration diagram for AtlasDetectorIDHelper:

Public Types

enum  ERRORS { UNDEFINED = 999 }
 
typedef Identifier::size_type size_type
 

Public Member Functions

 AtlasDetectorIDHelper (IMessageSvc *msgSvc)
 
int initialize_from_dictionary (const IdDictMgr &dict_mgr, bool quiet)
 Initialization from the identifier dictionary. More...
 
 ~AtlasDetectorIDHelper ()=default
 
size_type pixel_region_index ()
 
size_type sct_region_index ()
 
size_type trt_region_index ()
 
size_type lar_em_region_index ()
 
size_type lar_hec_region_index ()
 
size_type lar_fcal_region_index ()
 
size_type lvl1_region_index ()
 
size_type dm_region_index ()
 
size_type tile_region_index ()
 
size_type mdt_region_index ()
 
size_type csc_region_index ()
 
size_type rpc_region_index ()
 
size_type tgc_region_index ()
 
size_type stgc_region_index ()
 
size_type mm_region_index ()
 
size_type muon_station_index ()
 
size_type alfa_region_index ()
 
size_type bcm_region_index ()
 
size_type lucid_region_index ()
 
size_type zdc_region_index ()
 
const IdDictFieldstation_field ()
 
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...
 

Private Member Functions

void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

bool m_isHighLuminosityLHC {}
 
size_type m_pixel_region_index {UNDEFINED}
 
size_type m_sct_region_index {UNDEFINED}
 
size_type m_trt_region_index {UNDEFINED}
 
size_type m_lar_em_region_index {UNDEFINED}
 
size_type m_lar_hec_region_index {UNDEFINED}
 
size_type m_lar_fcal_region_index {UNDEFINED}
 
size_type m_lvl1_region_index {UNDEFINED}
 
size_type m_dm_region_index {UNDEFINED}
 
size_type m_tile_region_index {UNDEFINED}
 
size_type m_mdt_region_index {UNDEFINED}
 
size_type m_csc_region_index {UNDEFINED}
 
size_type m_rpc_region_index {UNDEFINED}
 
size_type m_tgc_region_index {UNDEFINED}
 
size_type m_mm_region_index {UNDEFINED}
 
size_type m_stgc_region_index {UNDEFINED}
 
size_type m_muon_station_index {UNDEFINED}
 
size_type m_alfa_region_index {UNDEFINED}
 
size_type m_bcm_region_index {UNDEFINED}
 
size_type m_lucid_region_index {UNDEFINED}
 
size_type m_zdc_region_index {UNDEFINED}
 
bool m_initialized {}
 
IdDictFieldm_station_field {}
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 17 of file AtlasDetectorIDHelper.h.

Member Typedef Documentation

◆ size_type

Definition at line 25 of file AtlasDetectorIDHelper.h.

Member Enumeration Documentation

◆ ERRORS

Enumerator
UNDEFINED 

Definition at line 20 of file AtlasDetectorIDHelper.h.

20 { UNDEFINED = 999 };

Constructor & Destructor Documentation

◆ AtlasDetectorIDHelper()

AtlasDetectorIDHelper::AtlasDetectorIDHelper ( IMessageSvc *  msgSvc)

Definition at line 10 of file AtlasDetectorIDHelper.cxx.

10  :
11  AthMessaging(msgSvc, "AtlasDetectorIDHelper") {
12 }

◆ ~AtlasDetectorIDHelper()

AtlasDetectorIDHelper::~AtlasDetectorIDHelper ( )
default

Member Function Documentation

◆ alfa_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::alfa_region_index ( )
inline

Definition at line 149 of file AtlasDetectorIDHelper.h.

150 {return(m_alfa_region_index);}

◆ bcm_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::bcm_region_index ( )
inline

Definition at line 152 of file AtlasDetectorIDHelper.h.

153 {return(m_bcm_region_index);}

◆ csc_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::csc_region_index ( )
inline

Definition at line 128 of file AtlasDetectorIDHelper.h.

129 {return (m_csc_region_index);}

◆ dm_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::dm_region_index ( )
inline

Definition at line 119 of file AtlasDetectorIDHelper.h.

120 {return (m_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.

16  {
17  if (m_initialized) return(0);
18 
19  m_initialized = true;
20 
21  AtlasDetectorID atlas_id;
23 
24  const IdDictDictionary* dict = dict_mgr.find_dictionary("InnerDetector");
25  if (!dict) {
26  ATH_MSG_WARNING("initialize_from_dictionary - cannot access InnerDetector dictionary");
27  return 1;
28  } else {
29  // Check if this is High Luminosity LHC layout
30  if (dict->m_version == "ITkHGTD" || dict->m_version == "ITkHGTDPLR" || dict->m_version == "P2-RUN4") {
31  m_isHighLuminosityLHC = true;
32  }
33 
34  // Save index to a PIXEL region for unpacking
35  id = atlas_id.pixel_exp();
36  if (dict->find_region(id, m_pixel_region_index)) {
37  ATH_MSG_WARNING("initialize_from_dictionary - unable to find pixel region index: id, reg "
38  << (std::string) id << " " << m_pixel_region_index);
39  }
40 
41  // for High Luminosity LHC layout one cannot get the sct region as below, nor
42  // is there any trt regions
43  if (!m_isHighLuminosityLHC) {
44  // Save index to a SCT region for unpacking
45  id = atlas_id.sct_exp();
46  if (dict->find_region(id, m_sct_region_index)) {
47  ATH_MSG_WARNING("initialize_from_dictionary - unable to find sct region index: id, reg "
48  << (std::string) id << " " << m_sct_region_index);
49  }
50 
51  // Save index to a TRT region for unpacking
52  id = atlas_id.trt_exp();
53  if (dict->find_region(id, m_trt_region_index)) {
54  ATH_MSG_WARNING("initialize_from_dictionary - unable to find trt region index: id, reg "
55  << (std::string) id << " " << m_trt_region_index);
56  }
57  }
58 
59  dict = dict_mgr.find_dictionary("LArCalorimeter");
60  if (!dict) {
61  ATH_MSG_WARNING("initialize_from_dictionary - cannot access LArCalorimeter dictionary");
62  return 1;
63  } else {
64  // Save index to a LAR_EM region for unpacking
65  id = atlas_id.lar_em_exp();
66  if (dict->find_region(id, m_lar_em_region_index)) {
67  ATH_MSG_WARNING("initialize_from_dictionary - unable to find lar_em region index: id, reg "
68  << (std::string) id << " " << m_lar_em_region_index);
69  }
70 
71  // Save index to a LAR_HEC region for unpacking
72  id = atlas_id.lar_hec_exp();
73  if (dict->find_region(id, m_lar_hec_region_index)) {
74  ATH_MSG_WARNING("initialize_from_dictionary - unable to find lar_hec region index: id, reg "
75  << (std::string) id << " " << m_lar_hec_region_index);
76  }
77 
78  // Save index to a LAR_FCAL region for unpacking
79  id = atlas_id.lar_fcal_exp();
80  if (dict->find_region(id, m_lar_fcal_region_index)) {
81  ATH_MSG_WARNING("initialize_from_dictionary - unable to find lar_fcal region index: id, reg "
82  << (std::string) id << " " << m_lar_fcal_region_index);
83  }
84  }
85 
86  // Get Calorimetry dictionary for both LVL1 and Dead material
87  dict = dict_mgr.find_dictionary("Calorimeter");
88  if (!dict) {
89  ATH_MSG_WARNING("initialize_from_dictionary - cannot access Calorimeter dictionary");
90  return 1;
91  } else {
92  // Save index to a LVL1 region for unpacking
93  IdDictRegion* reg = dict->find_region("Lvl1_0");
94  if (reg) {
96  } else {
97  ATH_MSG_WARNING("initialize_from_dictionary - unable to find lvl1 region");
98  }
99 
100  // Save index to a Dead Material region for unpacking
101  reg = dict->find_region("DM_4_1_0_0");
102  if (reg) {
103  m_dm_region_index = reg->m_index;
104  } else {
105  ATH_MSG_WARNING("initialize_from_dictionary - unable to find dead material region");
106  }
107  }
108 
109  dict = dict_mgr.find_dictionary("TileCalorimeter");
110  if (!dict) {
111  ATH_MSG_WARNING("initialize_from_dictionary - cannot access TileCalorimeter dictionary");
112  return 1;
113  } else {
114  // Save index to a TILE region for unpacking
115  id = atlas_id.tile_exp();
116  if (dict->find_region(id, m_tile_region_index)) {
117  ATH_MSG_WARNING("initialize_from_dictionary - unable to find tile region index: id, reg");
118  }
119  }
120 
121  dict = dict_mgr.find_dictionary("MuonSpectrometer");
122  if (!dict) {
123  ATH_MSG_WARNING("initialize_from_dictionary - cannot access MuonSpectrometer dictionary");
124  return 1;
125  } else {
126  m_station_field = dict->find_field("stationName");
127  if (!m_station_field) {
128  ATH_MSG_WARNING("initialize_from_dictionary - cannot access stationName field");
129  } else {
131  }
132  }
133 
134 
135  // Save index to a MDT region for unpacking
136  IdDictGroup* group = dict->find_group("mdt");
137  if (group) {
138  const std::vector<IdDictRegion*>& regions = group->regions();
139  if (regions.size() > 0) {
140  m_mdt_region_index = regions[0]->m_index;
141  }
142  }
143 
144 
145  if (UNDEFINED == m_mdt_region_index) {
146  int size = 0;
147  if (group) {
148  size = group->regions().size();
149  }
150  ATH_MSG_WARNING("initialize_from_dictionary - unable to find mdt region index: group, region size "
151  << group << " " << size);
152  }
153 
154  // Save index to a CSC region for unpacking
155  group = dict->find_group("csc");
156  if (group) {
157  if (group->regions().size() > 0) {
158  m_csc_region_index = group->regions()[0]->m_index;
159  }
160  }
161  if (UNDEFINED == m_csc_region_index) {
162  int size = 0;
163  if (group) {
164  size = group->regions().size();
165  }
166  ATH_MSG_DEBUG("initialize_from_dictionary - unable to find csc region index: group, region size "
167  << group << " " << size);
168  }
169 
170  // Save index to a RPC region for unpacking
171  group = dict->find_group("rpc");
172  if (group) {
173  if (group->regions().size() > 0) {
174  m_rpc_region_index = group->regions()[0]->m_index;
175  }
176  }
177  if (UNDEFINED == m_rpc_region_index) {
178  int size = 0;
179  if (group) {
180  size = group->regions().size();
181  }
182  ATH_MSG_WARNING("initialize_from_dictionary - unable to find rpc region index: group, region size "
183  << group << " " << size);
184  }
185 
186  // Save index to a TGC region for unpacking
187  group = dict->find_group("tgc");
188  if (group) {
189  if (group->regions().size() > 0) {
190  m_tgc_region_index = group->regions()[0]->m_index;
191  }
192  }
193  if (UNDEFINED == m_tgc_region_index) {
194  int size = 0;
195  if (group) {
196  size = group->regions().size();
197  }
198  ATH_MSG_WARNING("initialize_from_dictionary - unable to find tgc region index: group, region size "
199  << group << " " << size);
200  }
201 
202  // Save index to a MM region for unpacking
203  group = dict->find_group("mm");
204  if (group) {
205  if (group->regions().size() > 0) {
206  m_mm_region_index = group->regions()[0]->m_index;
207  }
208  }
209  if (UNDEFINED == m_mm_region_index) {
210  int size = 0;
211  if (group) {
212  size = group->regions().size();
213  }
214  if (!quiet) {
215  ATH_MSG_DEBUG("initialize_from_dictionary - unable to find mm region index: group, region size "
216  << group << " " << size);
217  }
218  }
219 
220  // Save index to a sTGC region for unpacking
221  group = dict->find_group("stgc");
222  if (group) {
223  if (group->regions().size() > 0) {
224  m_stgc_region_index = group->regions()[0]->m_index;
225  }
226  }
228  int size = 0;
229  if (group) {
230  size = group->regions().size();
231  }
232  if (!quiet) {
233  ATH_MSG_DEBUG("initialize_from_dictionary - unable to find stgc region index: group, region size "
234  << group << " " << size);
235  }
236  }
237  }
238 
239 
240  dict = dict_mgr.find_dictionary("ForwardDetectors");
241  if (!dict) {
242  ATH_MSG_WARNING("initialize_from_dictionary - cannot access ForwardDetectors dictionary");
243  return 1;
244  } else {
245  // Save index to a ALFA region for unpacking
246  id = atlas_id.alfa_exp();
247  if (dict->find_region(id, m_alfa_region_index)) {
248  ATH_MSG_WARNING("initialize_from_dictionary - unable to find alfa region index: id, reg "
249  << (std::string) id << " " << m_alfa_region_index);
250  }
251 
252  // Save index to a BCM region for unpacking
253  id = atlas_id.bcm_exp();
254  if (dict->find_region(id, m_bcm_region_index)) {
255  ATH_MSG_WARNING("initialize_from_dictionary - unable to find bcm region index: id, reg "
256  << (std::string) id << " " << m_bcm_region_index);
257  }
258 
259  // Save index to a LUCID region for unpacking
260  id = atlas_id.lucid_exp();
261  if (dict->find_region(id, m_lucid_region_index)) {
262  ATH_MSG_WARNING("initialize_from_dictionary - unable to find lucid region index: id, reg "
263  << (std::string) id << " " << m_lucid_region_index);
264  }
265 
266  // Save index to a ZDC region for unpacking
267  id = atlas_id.zdc_exp();
268  if (dict->find_region(id, m_zdc_region_index)) {
269  ATH_MSG_WARNING("initialize_from_dictionary - unable to find zdc region index: id, reg "
270  << (std::string) id << " " << m_zdc_region_index);
271  }
272  }
273 
274 // std::cout << "AtlasDetectorIDHelper::initialize_from_dictionary " << std::endl;
275 // std::cout << " pixel_region_index " << m_pixel_region_index << std::endl;
276 // std::cout << " sct_region_index " << m_sct_region_index << std::endl;
277 // std::cout << " trt_region_index " << m_trt_region_index << std::endl;
278 // std::cout << " lar_em_region_index " << m_lar_em_region_index << std::endl;
279 // std::cout << " lar_hec_region_index " << m_lar_hec_region_index << std::endl;
280 // std::cout << " lar_fcal_region_index " << m_lar_fcal_region_index << std::endl;
281 // std::cout << " lvl1_region_index " << m_lvl1_region_index << std::endl;
282 // std::cout << " tile_region_index " << m_tile_region_index << std::endl;
283 // std::cout << " mdt_region_index " << m_mdt_region_index << std::endl;
284 // std::cout << " csc_region_index " << m_csc_region_index << std::endl;
285 // std::cout << " rpc_region_index " << m_rpc_region_index << std::endl;
286 // std::cout << " tgc_region_index " << m_tgc_region_index << std::endl;
287 // std::cout << " muon_station_index " << m_muon_station_index << std::endl;
288 
289  return(0);
290 }

◆ 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.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ lar_em_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::lar_em_region_index ( )
inline

Definition at line 107 of file AtlasDetectorIDHelper.h.

108 {return (m_lar_em_region_index);}

◆ lar_fcal_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::lar_fcal_region_index ( )
inline

Definition at line 113 of file AtlasDetectorIDHelper.h.

114 {return (m_lar_fcal_region_index);}

◆ lar_hec_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::lar_hec_region_index ( )
inline

Definition at line 110 of file AtlasDetectorIDHelper.h.

111 {return (m_lar_hec_region_index);}

◆ lucid_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::lucid_region_index ( )
inline

Definition at line 155 of file AtlasDetectorIDHelper.h.

156 {return(m_lucid_region_index);}

◆ lvl1_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::lvl1_region_index ( )
inline

Definition at line 116 of file AtlasDetectorIDHelper.h.

117 {return (m_lvl1_region_index);}

◆ mdt_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::mdt_region_index ( )
inline

Definition at line 125 of file AtlasDetectorIDHelper.h.

126 {return (m_mdt_region_index);}

◆ mm_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::mm_region_index ( )
inline

Definition at line 137 of file AtlasDetectorIDHelper.h.

138 {return (m_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.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ 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
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ muon_station_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::muon_station_index ( )
inline

Definition at line 143 of file AtlasDetectorIDHelper.h.

144 {return (m_muon_station_index);}

◆ pixel_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::pixel_region_index ( )
inline

Definition at line 98 of file AtlasDetectorIDHelper.h.

99 {return (m_pixel_region_index);}

◆ rpc_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::rpc_region_index ( )
inline

Definition at line 131 of file AtlasDetectorIDHelper.h.

132 {return (m_rpc_region_index);}

◆ sct_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::sct_region_index ( )
inline

Definition at line 101 of file AtlasDetectorIDHelper.h.

102 {return (m_sct_region_index);}

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ station_field()

const IdDictField * AtlasDetectorIDHelper::station_field ( )
inline

Definition at line 146 of file AtlasDetectorIDHelper.h.

147 {return (m_station_field);}

◆ stgc_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::stgc_region_index ( )
inline

Definition at line 140 of file AtlasDetectorIDHelper.h.

141 {return (m_stgc_region_index);}

◆ tgc_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::tgc_region_index ( )
inline

Definition at line 134 of file AtlasDetectorIDHelper.h.

135 {return (m_tgc_region_index);}

◆ tile_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::tile_region_index ( )
inline

Definition at line 122 of file AtlasDetectorIDHelper.h.

123 {return (m_tile_region_index);}

◆ trt_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::trt_region_index ( )
inline

Definition at line 104 of file AtlasDetectorIDHelper.h.

105 {return (m_trt_region_index);}

◆ zdc_region_index()

AtlasDetectorIDHelper::size_type AtlasDetectorIDHelper::zdc_region_index ( )
inline

Definition at line 158 of file AtlasDetectorIDHelper.h.

159 {return(m_zdc_region_index);}

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_alfa_region_index

size_type AtlasDetectorIDHelper::m_alfa_region_index {UNDEFINED}
private

Definition at line 84 of file AtlasDetectorIDHelper.h.

◆ m_bcm_region_index

size_type AtlasDetectorIDHelper::m_bcm_region_index {UNDEFINED}
private

Definition at line 85 of file AtlasDetectorIDHelper.h.

◆ m_csc_region_index

size_type AtlasDetectorIDHelper::m_csc_region_index {UNDEFINED}
private

Definition at line 78 of file AtlasDetectorIDHelper.h.

◆ m_dm_region_index

size_type AtlasDetectorIDHelper::m_dm_region_index {UNDEFINED}
private

Definition at line 75 of file AtlasDetectorIDHelper.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_initialized

bool AtlasDetectorIDHelper::m_initialized {}
private

Definition at line 88 of file AtlasDetectorIDHelper.h.

◆ m_isHighLuminosityLHC

bool AtlasDetectorIDHelper::m_isHighLuminosityLHC {}
private

Definition at line 67 of file AtlasDetectorIDHelper.h.

◆ m_lar_em_region_index

size_type AtlasDetectorIDHelper::m_lar_em_region_index {UNDEFINED}
private

Definition at line 71 of file AtlasDetectorIDHelper.h.

◆ m_lar_fcal_region_index

size_type AtlasDetectorIDHelper::m_lar_fcal_region_index {UNDEFINED}
private

Definition at line 73 of file AtlasDetectorIDHelper.h.

◆ m_lar_hec_region_index

size_type AtlasDetectorIDHelper::m_lar_hec_region_index {UNDEFINED}
private

Definition at line 72 of file AtlasDetectorIDHelper.h.

◆ m_lucid_region_index

size_type AtlasDetectorIDHelper::m_lucid_region_index {UNDEFINED}
private

Definition at line 86 of file AtlasDetectorIDHelper.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_lvl1_region_index

size_type AtlasDetectorIDHelper::m_lvl1_region_index {UNDEFINED}
private

Definition at line 74 of file AtlasDetectorIDHelper.h.

◆ m_mdt_region_index

size_type AtlasDetectorIDHelper::m_mdt_region_index {UNDEFINED}
private

Definition at line 77 of file AtlasDetectorIDHelper.h.

◆ m_mm_region_index

size_type AtlasDetectorIDHelper::m_mm_region_index {UNDEFINED}
private

Definition at line 81 of file AtlasDetectorIDHelper.h.

◆ 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

size_type AtlasDetectorIDHelper::m_muon_station_index {UNDEFINED}
private

Definition at line 83 of file AtlasDetectorIDHelper.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_pixel_region_index

size_type AtlasDetectorIDHelper::m_pixel_region_index {UNDEFINED}
private

Definition at line 68 of file AtlasDetectorIDHelper.h.

◆ m_rpc_region_index

size_type AtlasDetectorIDHelper::m_rpc_region_index {UNDEFINED}
private

Definition at line 79 of file AtlasDetectorIDHelper.h.

◆ m_sct_region_index

size_type AtlasDetectorIDHelper::m_sct_region_index {UNDEFINED}
private

Definition at line 69 of file AtlasDetectorIDHelper.h.

◆ m_station_field

IdDictField* AtlasDetectorIDHelper::m_station_field {}
private

Definition at line 89 of file AtlasDetectorIDHelper.h.

◆ m_stgc_region_index

size_type AtlasDetectorIDHelper::m_stgc_region_index {UNDEFINED}
private

Definition at line 82 of file AtlasDetectorIDHelper.h.

◆ m_tgc_region_index

size_type AtlasDetectorIDHelper::m_tgc_region_index {UNDEFINED}
private

Definition at line 80 of file AtlasDetectorIDHelper.h.

◆ m_tile_region_index

size_type AtlasDetectorIDHelper::m_tile_region_index {UNDEFINED}
private

Definition at line 76 of file AtlasDetectorIDHelper.h.

◆ m_trt_region_index

size_type AtlasDetectorIDHelper::m_trt_region_index {UNDEFINED}
private

Definition at line 70 of file AtlasDetectorIDHelper.h.

◆ m_zdc_region_index

size_type AtlasDetectorIDHelper::m_zdc_region_index {UNDEFINED}
private

Definition at line 87 of file AtlasDetectorIDHelper.h.


The documentation for this class was generated from the following files:
AtlasDetectorIDHelper::m_muon_station_index
size_type m_muon_station_index
Definition: AtlasDetectorIDHelper.h:83
IdDictDictionary::find_region
IdDictRegion * find_region(const std::string &region_name) const
Definition: IdDictMgr.cxx:368
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
IdDictField::m_index
size_t m_index
Definition: IdDictDefs.h:331
AtlasDetectorIDHelper::m_dm_region_index
size_type m_dm_region_index
Definition: AtlasDetectorIDHelper.h:75
AtlasDetectorIDHelper::m_trt_region_index
size_type m_trt_region_index
Definition: AtlasDetectorIDHelper.h:70
IdDictGroup
Definition: IdDictDefs.h:341
AtlasDetectorIDHelper::m_bcm_region_index
size_type m_bcm_region_index
Definition: AtlasDetectorIDHelper.h:85
quiet
bool quiet
Definition: TrigGlobEffCorrValidation.cxx:190
AtlasDetectorID::lucid_exp
ExpandedIdentifier lucid_exp(void) const
Definition: AtlasDetectorID.h:597
AtlasDetectorIDHelper::m_pixel_region_index
size_type m_pixel_region_index
Definition: AtlasDetectorIDHelper.h:68
ExpandedIdentifier
Definition: DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h:102
AtlasDetectorIDHelper::m_mm_region_index
size_type m_mm_region_index
Definition: AtlasDetectorIDHelper.h:81
AtlasDetectorIDHelper::m_zdc_region_index
size_type m_zdc_region_index
Definition: AtlasDetectorIDHelper.h:87
AtlasDetectorIDHelper::m_isHighLuminosityLHC
bool m_isHighLuminosityLHC
Definition: AtlasDetectorIDHelper.h:67
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
AtlasDetectorID::tile_exp
ExpandedIdentifier tile_exp(void) const
Definition: AtlasDetectorID.h:499
AtlasDetectorIDHelper::UNDEFINED
@ UNDEFINED
Definition: AtlasDetectorIDHelper.h:20
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
IdDictDictionary::find_field
IdDictField * find_field(const std::string &name) const
Definition: IdDictMgr.cxx:311
IdDictRegion
Definition: IdDictDefs.h:433
IdDictDictionary::m_version
std::string m_version
Definition: IdDictDefs.h:284
AtlasDetectorIDHelper::m_lar_em_region_index
size_type m_lar_em_region_index
Definition: AtlasDetectorIDHelper.h:71
AtlasDetectorIDHelper::m_csc_region_index
size_type m_csc_region_index
Definition: AtlasDetectorIDHelper.h:78
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
AthMessaging::AthMessaging
AthMessaging()
Default constructor:
IdDictDictionary::find_group
IdDictGroup * find_group(const std::string &group_name) const
Definition: IdDictMgr.cxx:385
IdDictMgr::find_dictionary
IdDictDictionary * find_dictionary(const std::string &name) const
Access dictionary by name.
Definition: IdDictMgr.cxx:163
IdDictRegion::m_index
size_t m_index
Definition: IdDictDefs.h:460
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AtlasDetectorIDHelper::m_lvl1_region_index
size_type m_lvl1_region_index
Definition: AtlasDetectorIDHelper.h:74
AtlasDetectorID::zdc_exp
ExpandedIdentifier zdc_exp(void) const
Definition: AtlasDetectorID.h:604
AtlasDetectorIDHelper::m_stgc_region_index
size_type m_stgc_region_index
Definition: AtlasDetectorIDHelper.h:82
AtlasDetectorID::alfa_exp
ExpandedIdentifier alfa_exp(void) const
Forward.
Definition: AtlasDetectorID.h:583
AtlasDetectorID::sct_exp
ExpandedIdentifier sct_exp(void) const
Definition: AtlasDetectorID.h:534
AtlasDetectorIDHelper::m_rpc_region_index
size_type m_rpc_region_index
Definition: AtlasDetectorIDHelper.h:79
AtlasDetectorID::lar_hec_exp
ExpandedIdentifier lar_hec_exp(void) const
Definition: AtlasDetectorID.h:569
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
AtlasDetectorIDHelper::m_lucid_region_index
size_type m_lucid_region_index
Definition: AtlasDetectorIDHelper.h:86
AtlasDetectorIDHelper::m_initialized
bool m_initialized
Definition: AtlasDetectorIDHelper.h:88
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
IdDictDictionary
Definition: IdDictDefs.h:97
AtlasDetectorIDHelper::m_alfa_region_index
size_type m_alfa_region_index
Definition: AtlasDetectorIDHelper.h:84
AtlasDetectorIDHelper::m_mdt_region_index
size_type m_mdt_region_index
Definition: AtlasDetectorIDHelper.h:77
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
AtlasDetectorIDHelper::m_sct_region_index
size_type m_sct_region_index
Definition: AtlasDetectorIDHelper.h:69
AtlasDetectorID::trt_exp
ExpandedIdentifier trt_exp(void) const
Definition: AtlasDetectorID.h:541
AtlasDetectorID::bcm_exp
ExpandedIdentifier bcm_exp(void) const
Definition: AtlasDetectorID.h:590
AtlasDetectorID::lar_fcal_exp
ExpandedIdentifier lar_fcal_exp(void) const
Definition: AtlasDetectorID.h:576
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
AtlasDetectorIDHelper::m_lar_fcal_region_index
size_type m_lar_fcal_region_index
Definition: AtlasDetectorIDHelper.h:73
AtlasDetectorID::pixel_exp
ExpandedIdentifier pixel_exp(void) const
Inner Detector:
Definition: AtlasDetectorID.h:527
AtlasDetectorIDHelper::m_tile_region_index
size_type m_tile_region_index
Definition: AtlasDetectorIDHelper.h:76
AtlasDetectorIDHelper::m_lar_hec_region_index
size_type m_lar_hec_region_index
Definition: AtlasDetectorIDHelper.h:72
AtlasDetectorIDHelper::m_tgc_region_index
size_type m_tgc_region_index
Definition: AtlasDetectorIDHelper.h:80
AtlasDetectorID::lar_em_exp
ExpandedIdentifier lar_em_exp(void) const
LAr.
Definition: AtlasDetectorID.h:562
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
AtlasDetectorIDHelper::m_station_field
IdDictField * m_station_field
Definition: AtlasDetectorIDHelper.h:89