ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
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
*/
10
11
12
#include "
CaloIdentifier/LArHEC_SuperCell_ID.h
"
13
14
15
LArHEC_SuperCell_ID::LArHEC_SuperCell_ID
()
16
:
LArHEC_Base_ID
(
"LArHEC_SuperCell_ID"
,
"slar_hec"
, true)
17
{
18
}
19
20
21
int
LArHEC_SuperCell_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
22
/*=================================================================*/
23
{
24
ATH_MSG_DEBUG
(
"initialize_from_dictionary"
);
25
26
// Check whether this helper should be reinitialized
27
if
(!
reinitialize
(dict_mgr)) {
28
ATH_MSG_DEBUG
(
"Request to reinitialize not satisfied - tags have not changed"
);
29
return
(0);
30
}
31
else
{
32
ATH_MSG_DEBUG
(
"(Re)initialize"
);
33
}
34
35
// init base object
36
if
(
LArHEC_Base_ID::initialize_base_from_dictionary
(dict_mgr,
group
()))
37
return
(1);
38
39
return
0;
40
}
41
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
LArHEC_SuperCell_ID.h
Helper class for LArHEC offline identifiers for supercells.
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
AtlasDetectorID::group
const std::string & group() const
Group name for this helper.
Definition
AtlasDetectorID.cxx:39
IdDictMgr
Definition
IdDictMgr.h:17
LArHEC_Base_ID::LArHEC_Base_ID
LArHEC_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Definition
LArHEC_Base_ID.cxx:31
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:169
LArHEC_SuperCell_ID::LArHEC_SuperCell_ID
LArHEC_SuperCell_ID()
Definition
LArHEC_SuperCell_ID.cxx:15
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
Generated on
for ATLAS Offline Software by
1.17.0