ATLAS Offline Software
JTower_ID.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 #include "GaudiKernel/MsgStream.h"
10 
11 #include <cmath>
12 #include <iostream>
13 #include <set>
14 #include <string>
15 
16 
17 
19  JGTowerBase_ID("JTowerID", "Reg_JTower")
20 {
21 }
22 
23 JTower_ID::~JTower_ID() = default;
24 
26 /*=================================================================*/
27 {
28  MsgStream log(m_msgSvc, "JTower_ID" );
29 
30  log << MSG::DEBUG << "initialize_from_dictionary" << endmsg;
31 
32  // Check whether this helper should be reinitialized
33  if (!reinitialize(dict_mgr)) {
34  log << MSG::DEBUG << "Request to reinitialize not satisfied - tags have not changed" << endmsg;
35  return (0);
36  }
37  else {
38  if(m_msgSvc)log << MSG::DEBUG << "(Re)initialize" << endmsg;
39  }
40 
41  // init base object
43  return (1);
44 
45 
46  return 0;
47 }
48 
49 
AtlasDetectorID::m_msgSvc
IMessageSvc * m_msgSvc
pointer to the message service
Definition: AtlasDetectorID.h:369
JGTowerBase_ID
Definition: JGTowerBase_ID.h:31
JTower_ID::~JTower_ID
virtual ~JTower_ID()
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:168
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
JTower_ID::JTower_ID
JTower_ID()
Definition: JTower_ID.cxx:18
JTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition: JTower_ID.cxx:25
IdentifierHash.h
AtlasDetectorID::reinitialize
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
Definition: AtlasDetectorID.cxx:221
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
JTower_ID.h