ATLAS Offline Software
LArHEC_SuperCell_ID.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
13 
14 
16  : LArHEC_Base_ID ("LArHEC_SuperCell_ID", "slar_hec", true)
17 {
18 }
19 
20 
22 /*=================================================================*/
23 {
24  MsgStream log(m_msgSvc, "LArHEC_SuperCell_ID" );
25  log << MSG::DEBUG << "initialize_from_dictionary" << endmsg;
26 
27  // Check whether this helper should be reinitialized
28  if (!reinitialize(dict_mgr)) {
29  log << MSG::DEBUG << "Request to reinitialize not satisfied - tags have not changed" << endmsg;
30  return (0);
31  }
32  else {
33  if(m_msgSvc)log << MSG::DEBUG << "(Re)initialize" << endmsg;
34  }
35 
36  // init base object
38  return (1);
39 
40  return 0;
41 }
42 
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition: LArHEC_Base_ID.h:41
AtlasDetectorID::m_msgSvc
IMessageSvc * m_msgSvc
pointer to the message service
Definition: AtlasDetectorID.h:375
LArHEC_SuperCell_ID.h
Helper class for LArHEC offline identifiers for supercells.
IdDictMgr
Definition: IdDictMgr.h:14
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
LArHEC_Base_ID::initialize_base_from_dictionary
int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &group_name)
initialization from the identifier dictionary
Definition: LArHEC_Base_ID.cxx:168
AtlasDetectorID::group
const std::string & group() const
Group name for this helper.
Definition: AtlasDetectorID.cxx:27
LArHEC_SuperCell_ID::LArHEC_SuperCell_ID
LArHEC_SuperCell_ID()
Definition: LArHEC_SuperCell_ID.cxx:15
AtlasDetectorID::reinitialize
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
Definition: AtlasDetectorID.cxx:216
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LArHEC_SuperCell_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: LArHEC_SuperCell_ID.cxx:21