ATLAS Offline Software
GTower_ID.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 #include "IdDict/IdDictDefs.h"
9 
10 #include "GaudiKernel/MsgStream.h"
11 
12 #include <cmath>
13 #include <iostream>
14 #include <set>
15 #include <string>
16 
17 
18 
21 {
22 }
23 
25 = default;
26 
28 /*=================================================================*/
29 {
30  MsgStream log(m_msgSvc, "GTower_ID" );
31 
32  log << MSG::DEBUG << "initialize_from_dictionary" << endmsg;
33 
34  // Check whether this helper should be reinitialized
35  if (!reinitialize(dict_mgr)) {
36  log << MSG::DEBUG << "Request to reinitialize not satisfied - tags have not changed" << endmsg;
37  return (0);
38  }
39  else {
40  if(m_msgSvc)log << MSG::DEBUG << "(Re)initialize" << endmsg;
41  }
42 
43  // init base object
45  return (1);
46 
47 
48  return 0;
49 }
50 
51 
AtlasDetectorID::m_msgSvc
IMessageSvc * m_msgSvc
pointer to the message service
Definition: AtlasDetectorID.h:368
GTower_ID.h
JGTowerBase_ID
Definition: JGTowerBase_ID.h:33
IdDictDefs.h
JGTowerBase_ID::initialize_base_from_dictionary
virtual int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &t_pre)
initialization from the identifier dictionary
Definition: JGTowerBase_ID.cxx:163
GTower_ID::~GTower_ID
~GTower_ID(void)
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdDictMgr
Definition: IdDictMgr.h:14
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
IdentifierHash.h
GTower_ID::GTower_ID
GTower_ID(void)
Definition: GTower_ID.cxx:19
GTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: GTower_ID.cxx:27
AtlasDetectorID::reinitialize
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
Definition: AtlasDetectorID.cxx:284
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20