ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloIdentifier
src
LArHEC_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/LArHEC_ID.h
"
6
#include "
AtlasDetDescr/AtlasDetectorID.h
"
7
#include "
Identifier/IdentifierHash.h
"
8
#include "
LArHEC_region.h
"
9
10
#include <cmath>
11
#include <iostream>
12
#include <set>
13
#include <string>
14
15
16
LArHEC_ID::LArHEC_ID
() :
17
LArHEC_Base_ID
(
"LArHEC_ID"
,
"lar_hec"
, false)
18
{
19
}
20
21
LArHEC_ID::~LArHEC_ID
() =
default
;
22
23
int
LArHEC_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
24
/*===================================================================*/
25
{
26
ATH_MSG_DEBUG
(
"initialize_from_dictionary"
);
27
28
// Check whether this helper should be reinitialized
29
if
(!
reinitialize
(dict_mgr)) {
30
ATH_MSG_DEBUG
(
"Request to reinitialize not satisfied - tags have not changed"
);
31
return
(0);
32
}
33
else
{
34
ATH_MSG_DEBUG
(
"(Re)initialize"
);
35
}
36
37
// init base object
38
if
(
LArHEC_Base_ID::initialize_base_from_dictionary
(dict_mgr,
group
()))
39
return
(1);
40
41
42
return
0;
43
}
44
45
46
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
LArHEC_ID.h
LArHEC_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
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_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition
LArHEC_ID.cxx:23
LArHEC_ID::~LArHEC_ID
virtual ~LArHEC_ID()
LArHEC_ID::LArHEC_ID
LArHEC_ID()
Definition
LArHEC_ID.cxx:16
Generated on
for ATLAS Offline Software by
1.17.0