ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
LArEM_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/LArEM_SuperCell_ID.h
"
13
#include "
AtlasDetDescr/AtlasDetectorID.h
"
14
#include "
Identifier/IdentifierHash.h
"
15
#include "
LArEM_region.h
"
16
17
#include <cmath>
18
#include <iostream>
19
#include <set>
20
#include <string>
21
22
23
24
LArEM_SuperCell_ID::LArEM_SuperCell_ID
() :
25
LArEM_Base_ID
(
"LArEM_SuperCell_ID"
,
"slar_em"
, 1)
26
{
27
}
28
29
LArEM_SuperCell_ID::~LArEM_SuperCell_ID
() =
default
;
30
31
int
LArEM_SuperCell_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
32
/*=================================================================*/
33
{
34
ATH_MSG_DEBUG
(
"initialize_from_dictionary"
);
35
36
// Check whether this helper should be reinitialized
37
if
(!
reinitialize
(dict_mgr)) {
38
ATH_MSG_DEBUG
(
"Request to reinitialize not satisfied - tags have not changed"
);
39
return
(0);
40
}
41
else
{
42
ATH_MSG_DEBUG
(
"(Re)initialize"
);
43
}
44
45
// init base object
46
if
(
LArEM_Base_ID::initialize_base_from_dictionary
(dict_mgr,
group
()))
47
return
(1);
48
49
return
0;
50
}
51
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
LArEM_SuperCell_ID.h
Helper class for LArEM offline identifiers for supercells.
LArEM_region.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
AtlasDetectorID::group
const std::string & group() const
Group name for this helper.
Definition
AtlasDetectorID.cxx:39
IdDictMgr
Definition
IdDictMgr.h:17
LArEM_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
LArEM_Base_ID.cxx:363
LArEM_Base_ID::LArEM_Base_ID
LArEM_Base_ID(const std::string &name, const std::string &group, bool supercell)
Constructor.
Definition
LArEM_Base_ID.cxx:26
LArEM_SuperCell_ID::~LArEM_SuperCell_ID
~LArEM_SuperCell_ID()
LArEM_SuperCell_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
LArEM_SuperCell_ID.cxx:31
LArEM_SuperCell_ID::LArEM_SuperCell_ID
LArEM_SuperCell_ID()
Definition
LArEM_SuperCell_ID.cxx:24
Generated on
for ATLAS Offline Software by
1.17.0