ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
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
5
#include "
CaloIdentifier/JTower_ID.h
"
6
#include "
AtlasDetDescr/AtlasDetectorID.h
"
7
#include "
Identifier/IdentifierHash.h
"
8
9
#include "GaudiKernel/MsgStream.h"
10
11
#include <cmath>
12
#include <iostream>
13
#include <set>
14
#include <string>
15
16
17
18
JTower_ID::JTower_ID
() :
19
JGTowerBase_ID
(
"JTower_ID"
,
"Reg_JTower"
)
20
{
21
}
22
23
JTower_ID::~JTower_ID
() =
default
;
24
25
int
JTower_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
26
/*=================================================================*/
27
{
28
ATH_MSG_DEBUG
(
"initialize_from_dictionary"
);
29
30
// Check whether this helper should be reinitialized
31
if
(!
reinitialize
(dict_mgr)) {
32
ATH_MSG_DEBUG
(
"Request to reinitialize not satisfied - tags have not changed"
);
33
return
(0);
34
}
35
else
{
36
ATH_MSG_DEBUG
(
"(Re)initialize"
);
37
}
38
39
// init base object
40
if
(
JGTowerBase_ID::initialize_base_from_dictionary
(dict_mgr,
"JT"
))
41
return
(1);
42
43
44
return
0;
45
}
46
47
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
AtlasDetectorID.h
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
IdentifierHash.h
JTower_ID.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:170
IdDictMgr
Definition
IdDictMgr.h:17
JGTowerBase_ID::JGTowerBase_ID
JGTowerBase_ID(const std::string &name, const std::string &group)
Definition
JGTowerBase_ID.cxx:25
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:146
JTower_ID::~JTower_ID
virtual ~JTower_ID()
JTower_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
JTower_ID.cxx:25
JTower_ID::JTower_ID
JTower_ID()
Definition
JTower_ID.cxx:18
Generated on
for ATLAS Offline Software by
1.17.0