ATLAS Offline Software
Loading...
Searching...
No Matches
CalibHitIDCheck Class Reference

#include <CalibHitIDCheck.h>

Inheritance diagram for CalibHitIDCheck:
Collaboration diagram for CalibHitIDCheck:

Public Member Functions

 CalibHitIDCheck (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~CalibHitIDCheck ()
virtual StatusCode initialize () override
virtual StatusCode execute () override
void check (int)
void show_all ()
void check_all_cnts ()
void merge (Identifier)
void reset ()
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

bool m_Merge {false}
Gaudi::Property< std::string > m_larDMHitContainer {this, "LArDMCalibHitCnt", "LArCalibrationHitDeadMaterial"}
Gaudi::Property< std::string > m_larActiveHitContainer {this, "ActiveCalibHitCnt", "LArCalibrationHitActive"}
Gaudi::Property< std::string > m_larInactiveHitContainer {this, "InactiveCalibHitCnt", "LArCalibrationHitInactive"}
Gaudi::Property< std::string > m_tileActiveHitContainer {this, "TileActiveHitCnt", "TileCalibHitActiveCell"}
Gaudi::Property< std::string > m_tileInactiveHitContainer {this, "TileInactiveHitCnt", "TileCalibHitInactiveCell"}
Gaudi::Property< std::string > m_tiledmHitContainer {this, "TileDMCalibHitCnt", "TileCalibHitDeadMaterial"}
const CaloCalibrationHitContainerm_LArDMHitCnt {}
const CaloCalibrationHitContainerm_ActiveHitCnt {}
const CaloCalibrationHitContainerm_InactiveHitCnt {}
const CaloCalibrationHitContainerm_TileActiveHitCnt {}
const CaloCalibrationHitContainerm_TileInactiveHitCnt {}
const CaloCalibrationHitContainerm_TileDMHitCnt {}
Gaudi::Property< bool > m_Check {this, "Check", true}
Gaudi::Property< bool > m_ShowAll {this, "ShowAll", false}
Gaudi::Property< bool > m_CheckAll {this, "CheckAll", false}
const AtlasDetectorIDm_id_helper {}
std::vector< Identifierm_id_vec
DataObjIDColl m_extendedExtraObjects
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 26 of file CalibHitIDCheck.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ CalibHitIDCheck()

CalibHitIDCheck::CalibHitIDCheck ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 31 of file CalibHitIDCheck.cxx.

32 : AthAlgorithm(name, pSvcLocator)
33{
34}
AthAlgorithm()
Default constructor:

◆ ~CalibHitIDCheck()

CalibHitIDCheck::~CalibHitIDCheck ( )
virtualdefault

Member Function Documentation

◆ check()

void CalibHitIDCheck::check ( int l_cnt)

Definition at line 99 of file CalibHitIDCheck.cxx.

99 {
100
101 std::vector<Identifier> id_vec;
102 std::map<Identifier, int> id_map;
103 std::map<Identifier, int>::iterator map_it;
105
106 bool no_invalid = true;
107 bool no_alien = true;
108
109 //define appropriate iterator over the container
110 switch(l_cnt) {
111 case 0:
112
113 if((m_InactiveHitCnt->Size()) != 0 )
114 {
115 ATH_MSG_INFO(" " );
116 ATH_MSG_INFO("*************************************************************" );
117 ATH_MSG_INFO("Investigate CalibHit IDs from LAr Inactive CalibHit Container" );
118 ATH_MSG_INFO("*************************************************************" );
119
120 it = m_InactiveHitCnt->begin();
121 end = m_InactiveHitCnt->end();
122 }
123 else
124 {
125 return;
126 }
127 break;
128
129
130 case 1:
131
132 if((m_ActiveHitCnt->Size()) != 0 )
133 {
134 ATH_MSG_INFO(" " );
135 ATH_MSG_INFO("***********************************************************" );
136 ATH_MSG_INFO("Investigate CalibHit IDs from LAr Active CalibHit Container" );
137 ATH_MSG_INFO("***********************************************************" );
138
139 it = m_ActiveHitCnt->begin();
140 end = m_ActiveHitCnt->end();
141
142 m_Merge=true;
143 }
144 else
145 {
146 return;
147 }
148 break;
149
150
151 case 2:
152
153 if((m_TileInactiveHitCnt->Size()) != 0 )
154 {
155 ATH_MSG_INFO(" " );
156 ATH_MSG_INFO("**************************************************************" );
157 ATH_MSG_INFO("Investigate CalibHit IDs from Tile Inactive CalibHit container" );
158 ATH_MSG_INFO("**************************************************************" );
159
160 it = m_TileInactiveHitCnt->begin();
161 end = m_TileInactiveHitCnt->end();
162 }
163 else
164 {
165 return;
166 }
167 break;
168
169
170 case 3:
171
172 if((m_TileActiveHitCnt->Size()) != 0 )
173 {
174 ATH_MSG_INFO(" " );
175 ATH_MSG_INFO("************************************************************" );
176 ATH_MSG_INFO("Investigate CalibHit IDs from Tile Active CalibHit container" );
177 ATH_MSG_INFO("************************************************************" );
178
179 it = m_TileActiveHitCnt->begin();
180 end = m_TileActiveHitCnt->end();
181
182 m_Merge=true;
183 }
184 else
185 {
186 return;
187 }
188 break;
189
190
191 case 4:
192
193 if((m_LArDMHitCnt->Size()) != 0 )
194 {
195 ATH_MSG_INFO(" " );
196 ATH_MSG_INFO("*******************************************************" );
197 ATH_MSG_INFO("Investigate CalibHit IDs from LAr DM CalibHit Container" );
198 ATH_MSG_INFO("*******************************************************" );
199
200 it = m_LArDMHitCnt->begin();
201 end = m_LArDMHitCnt->end();
202 }
203 else
204 {
205 return;
206 }
207 break;
208
209
210 case 5:
211
212 if((m_TileDMHitCnt->Size()) != 0 )
213 {
214 ATH_MSG_INFO(" " );
215 ATH_MSG_INFO("********************************************************" );
216 ATH_MSG_INFO("Investigate CalibHit IDs from Tile DM CalibHit Container" );
217 ATH_MSG_INFO("********************************************************" );
218
219 it = m_TileDMHitCnt->begin();
220 end = m_TileDMHitCnt->end();
221 }
222 else
223 {
224 return;
225 }
226 break;
227
228 default:
229 return;
230 }
231
232
233 //Now, iterate over the container to find
234 //not valid, 'alien' and repeated IDs
235 for(; it != end; ++it) {
236
237 Identifier id=(*it)->cellID();
238
239
240 //Check ID whether is it valid or not
241 if(!id.is_valid()) {
242
243 ATH_MSG_ERROR("Invalid Identifier of CalibHit is found! "
244 <<m_id_helper->show_to_string(id) );
245
246 no_invalid=false;
247 }
248
249
250
251 //Check for 'alien' IDs in the container
252 switch(l_cnt) {
253 case 0:
254 case 1:
255 if( !(m_id_helper->is_lar(id)) ) {
256 ATH_MSG_INFO("Found CalibHit with NO LAr ID "
257 <<m_id_helper->show_to_string(id) );
258 no_alien=false;
259 }
260 break;
261
262 case 2:
263 case 3:
264 if( !(m_id_helper->is_tile(id)) ) {
265 ATH_MSG_INFO("Found CalibHit with NO Tile ID "
266 <<m_id_helper->show_to_string(id) );
267 no_alien=false;
268 }
269 break;
270
271 case 4:
272 if( !(m_id_helper->is_lar_dm(id)) &&
273 //It's normal to find Tile DM ID
274 //recorded by Default Calculator
275 !(m_id_helper->is_tile_dm(id)) ) {
276 ATH_MSG_INFO("Found CalibHit with NO LAr DM ID "
277 <<m_id_helper->show_to_string(id) );
278 no_alien=false;
279 }
280 break;
281
282 case 5:
283 if( !(m_id_helper->is_tile_dm(id)) ) {
284 ATH_MSG_INFO("Found CalibHit with NO Tile DM ID "
285 <<m_id_helper->show_to_string(id) );
286 no_alien=false;
287 }
288 break;
289
290 }
291
292
293 bool no_rep = true;
294
295 //Fill id_map with IDs, which are repeted more then once in the container
296 for (int iter=0; iter<static_cast<int>(id_vec.size()); iter++) {
297 if(id == id_vec[iter]) {
298
299 if(id_map.find(id)==id_map.end()) {
300 id_map.insert(std::make_pair(id,2));
301 }
302 else {
303 map_it=id_map.find(id);
304 (map_it->second)++ ;
305 }
306
307 no_rep = false;
308 break;
309 }
310 }
311
312 if(no_rep) {
313 id_vec.push_back(id);
314
315 //store id in the vector for all containers and
316 //don't forget merge Inactive & Active CalibHit IDs
317 if(m_Merge) merge(id);
318 else m_id_vec.push_back(id);
319 }
320 else {
321 //repeated ID should not be stored because
322 //its first pattern was already stored &
323 //should not be merged still the same reason
324 //as above.
325 }
326
327 }//End of looping over the CalibHits inside the container
328
329
330 //reset merge flag anyway.
331 //It is needed 'true' only twice
332 m_Merge=false;
333
334
335 //tell if no invalid IDs were eppeared
336 if(no_invalid) {
337
338 ATH_MSG_INFO("------------------------------------- " );
339 ATH_MSG_INFO("No invalid Identifiers has been found " );
340 ATH_MSG_INFO("------------------------------------- " );
341
342 }
343
344
345 //tell if no 'alien' IDs were eppeared
346 if(no_alien) {
347
348 ATH_MSG_INFO("------------------------------------------------------" );
349 ATH_MSG_INFO("No container not-respective Identifiers has been found" );
350 ATH_MSG_INFO("------------------------------------------------------" );
351
352 }
353
354
355 //Print the result of looking for repeated IDs
356 if(!id_map.empty()) {
357
358 ATH_MSG_INFO("----------------------------------------------- " );
359 ATH_MSG_INFO("Found repeated Identifiers | how many times " );
360 ATH_MSG_INFO("----------------------------------------------- " );
361
362 for (const std::pair<const Identifier, int>& p : id_map) {
363 ATH_MSG_INFO(m_id_helper->show_to_string(p.first)
364 <<" "<< p.second );
365 }
366
367 }
368 else {
369 ATH_MSG_INFO("----------------------------------------------- " );
370 ATH_MSG_INFO("No repeated CalibHit Identifiers has been found " );
371 ATH_MSG_INFO("----------------------------------------------- " );
372 }
373
374}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
boost::transform_iterator< make_const, typename CONT::const_iterator > const_iterator
std::vector< Identifier > m_id_vec
const CaloCalibrationHitContainer * m_LArDMHitCnt
const CaloCalibrationHitContainer * m_TileInactiveHitCnt
const CaloCalibrationHitContainer * m_ActiveHitCnt
const CaloCalibrationHitContainer * m_TileDMHitCnt
void merge(Identifier)
const AtlasDetectorID * m_id_helper
const CaloCalibrationHitContainer * m_TileActiveHitCnt
const CaloCalibrationHitContainer * m_InactiveHitCnt

◆ check_all_cnts()

void CalibHitIDCheck::check_all_cnts ( )

Definition at line 444 of file CalibHitIDCheck.cxx.

444 {
445
446 ATH_MSG_INFO("======================================================" );
447 ATH_MSG_INFO("Check for the CalibHits Identifiers has been repeated " );
448 ATH_MSG_INFO(" inside the different CalibHit containers " );
449 ATH_MSG_INFO("======================================================" );
450
451
452 bool no_rep=true;
453
454 for (size_t i=0; i < m_id_vec.size(); i++) {
455
456 auto it_end = std::remove (m_id_vec.begin()+i+1,
457 m_id_vec.end(),
458 m_id_vec[i]);
459 int same = m_id_vec.end() - it_end;
460 m_id_vec.erase (it_end, m_id_vec.end());
461
462 if(same!=0) {
463 ATH_MSG_INFO("Identifier "
464 <<m_id_helper->show_to_string(m_id_vec[i])
465 <<" is repeated "<<(same+1)<<" times"
466 <<" inside different containers " );
467
468 no_rep=false;
469 }
470 } //end looping
471
472
473 if(no_rep) {
474 ATH_MSG_INFO("*** No repeated CalibHit Identifier "
475 <<"in the different containers was found ***" );
476 }
477
478}
DataModel_detail::iterator< DVL > remove(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, const T &value)
Specialization of remove for DataVector/List.

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode CalibHitIDCheck::execute ( )
overridevirtual

Definition at line 50 of file CalibHitIDCheck.cxx.

51{
58
59 //We need merge only Inactive and Active
60 //LAr CalibHit Containers only once
61 m_Merge=false;
62
63
64 //check containers separately
65 if(m_Check) {
66 if(m_InactiveHitCnt) { check(0); }
67 if(m_ActiveHitCnt) { check(1); }
69 if(m_TileActiveHitCnt) { check(3); }
70 if(m_LArDMHitCnt) { check(4); }
71 if(m_TileDMHitCnt) { check(5); }
72 }
73
74
75 //show all IDs from all containers
76 if(m_ShowAll) show_all();
77
78
79 //check all containers
81
82
83 //reset member 'm_id_vec'
84 reset();
85
86
87 ATH_MSG_DEBUG("execute() completed successfully" );
88 return StatusCode::SUCCESS;
89}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
Gaudi::Property< std::string > m_tiledmHitContainer
Gaudi::Property< std::string > m_tileInactiveHitContainer
Gaudi::Property< std::string > m_tileActiveHitContainer
Gaudi::Property< std::string > m_larActiveHitContainer
Gaudi::Property< std::string > m_larInactiveHitContainer
Gaudi::Property< bool > m_ShowAll
Gaudi::Property< bool > m_CheckAll
Gaudi::Property< std::string > m_larDMHitContainer
Gaudi::Property< bool > m_Check

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51{
52 // If we didn't find any symlinks to add, just return the collection
53 // from the base class. Otherwise, return the extended collection.
54 if (!m_extendedExtraObjects.empty()) {
56 }
57 return Algorithm::extraOutputDeps();
58}
DataObjIDColl m_extendedExtraObjects

◆ initialize()

StatusCode CalibHitIDCheck::initialize ( )
overridevirtual

Definition at line 39 of file CalibHitIDCheck.cxx.

40{
41 ATH_CHECK( detStore()->retrieve(m_id_helper) );
42 ATH_MSG_INFO("initialisation completed" );
43 return StatusCode::SUCCESS;
44}
const ServiceHandle< StoreGateSvc > & detStore() const

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ merge()

void CalibHitIDCheck::merge ( Identifier id)

Definition at line 382 of file CalibHitIDCheck.cxx.

382 {
383
384 bool new_id = false;
385
386 if(!m_id_vec.empty()) {
387
388 for (int iter=0; iter != static_cast<int>(m_id_vec.size()); iter++) {
389 if(id == m_id_vec[iter]) {
390 new_id = false;
391 break;
392 }
393 else {
394 new_id = true;
395 }
396 }
397
398 if(new_id) m_id_vec.push_back(id);
399 }
400 else {
401 //nothing to merge.
402 //push all IDs in the vector
403 m_id_vec.push_back(id) ;
404 }
405
406}

◆ msg()

MsgStream & AthCommonMsg< Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ reset()

void CalibHitIDCheck::reset ( )
inline

Definition at line 40 of file CalibHitIDCheck.h.

40{m_id_vec.clear();}

◆ show_all()

void CalibHitIDCheck::show_all ( )

Definition at line 412 of file CalibHitIDCheck.cxx.

412 {
413
414 ATH_MSG_INFO("=================================================" );
415 ATH_MSG_INFO("Show all CalibHits Identifiers for current events" );
416 ATH_MSG_INFO("=================================================" );
417
418 for (int iter=0; iter != static_cast<int>(m_id_vec.size()); iter++) {
419
420 ATH_MSG_INFO(m_id_helper->show_to_string(m_id_vec[iter]) );
421
422 }
423
424}

◆ sysInitialize()

StatusCode AthAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.

Definition at line 66 of file AthAlgorithm.cxx.

66 {
68
69 if (sc.isFailure()) {
70 return sc;
71 }
72 ServiceHandle<ICondSvc> cs("CondSvc",name());
73 for (auto h : outputHandles()) {
74 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75 // do this inside the loop so we don't create the CondSvc until needed
76 if ( cs.retrieve().isFailure() ) {
77 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78 return StatusCode::SUCCESS;
79 }
80 if (cs->regHandle(this,*h).isFailure()) {
81 sc = StatusCode::FAILURE;
82 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83 << " with CondSvc");
84 }
85 }
86 }
87 return sc;
88}
#define ATH_MSG_WARNING(x)
static Double_t sc
virtual StatusCode sysInitialize() override
Override sysInitialize.
AthCommonDataStore(const std::string &name, T... args)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
::StatusCode StatusCode
StatusCode definition for legacy code.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_ActiveHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_ActiveHitCnt {}
private

Definition at line 54 of file CalibHitIDCheck.h.

54{};

◆ m_Check

Gaudi::Property<bool> CalibHitIDCheck::m_Check {this, "Check", true}
private

Definition at line 60 of file CalibHitIDCheck.h.

60{this, "Check", true};

◆ m_CheckAll

Gaudi::Property<bool> CalibHitIDCheck::m_CheckAll {this, "CheckAll", false}
private

Definition at line 62 of file CalibHitIDCheck.h.

62{this, "CheckAll", false};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_id_helper

const AtlasDetectorID* CalibHitIDCheck::m_id_helper {}
private

Definition at line 64 of file CalibHitIDCheck.h.

64{};

◆ m_id_vec

std::vector<Identifier> CalibHitIDCheck::m_id_vec
private

Definition at line 66 of file CalibHitIDCheck.h.

◆ m_InactiveHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_InactiveHitCnt {}
private

Definition at line 55 of file CalibHitIDCheck.h.

55{};

◆ m_larActiveHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_larActiveHitContainer {this, "ActiveCalibHitCnt", "LArCalibrationHitActive"}
private

Definition at line 47 of file CalibHitIDCheck.h.

47{this, "ActiveCalibHitCnt", "LArCalibrationHitActive"};

◆ m_LArDMHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_LArDMHitCnt {}
private

Definition at line 53 of file CalibHitIDCheck.h.

53{};

◆ m_larDMHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_larDMHitContainer {this, "LArDMCalibHitCnt", "LArCalibrationHitDeadMaterial"}
private

Definition at line 46 of file CalibHitIDCheck.h.

46{this, "LArDMCalibHitCnt", "LArCalibrationHitDeadMaterial"};

◆ m_larInactiveHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_larInactiveHitContainer {this, "InactiveCalibHitCnt", "LArCalibrationHitInactive"}
private

Definition at line 48 of file CalibHitIDCheck.h.

48{this, "InactiveCalibHitCnt", "LArCalibrationHitInactive"};

◆ m_Merge

bool CalibHitIDCheck::m_Merge {false}
private

Definition at line 44 of file CalibHitIDCheck.h.

44{false};

◆ m_ShowAll

Gaudi::Property<bool> CalibHitIDCheck::m_ShowAll {this, "ShowAll", false}
private

Definition at line 61 of file CalibHitIDCheck.h.

61{this, "ShowAll", false};

◆ m_TileActiveHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_TileActiveHitCnt {}
private

Definition at line 56 of file CalibHitIDCheck.h.

56{};

◆ m_tileActiveHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_tileActiveHitContainer {this, "TileActiveHitCnt", "TileCalibHitActiveCell"}
private

Definition at line 49 of file CalibHitIDCheck.h.

49{this, "TileActiveHitCnt", "TileCalibHitActiveCell"};

◆ m_TileDMHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_TileDMHitCnt {}
private

Definition at line 58 of file CalibHitIDCheck.h.

58{};

◆ m_tiledmHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_tiledmHitContainer {this, "TileDMCalibHitCnt", "TileCalibHitDeadMaterial"}
private

Definition at line 51 of file CalibHitIDCheck.h.

51{this, "TileDMCalibHitCnt", "TileCalibHitDeadMaterial"};

◆ m_TileInactiveHitCnt

const CaloCalibrationHitContainer* CalibHitIDCheck::m_TileInactiveHitCnt {}
private

Definition at line 57 of file CalibHitIDCheck.h.

57{};

◆ m_tileInactiveHitContainer

Gaudi::Property<std::string> CalibHitIDCheck::m_tileInactiveHitContainer {this, "TileInactiveHitCnt", "TileCalibHitInactiveCell"}
private

Definition at line 50 of file CalibHitIDCheck.h.

50{this, "TileInactiveHitCnt", "TileCalibHitInactiveCell"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: