ATLAS Offline Software
Calorimeter
CaloIdentifier
src
LArFCAL_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
*/
4
5
#include "
CaloIdentifier/LArFCAL_SuperCell_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
LArFCAL_SuperCell_ID::LArFCAL_SuperCell_ID
() :
17
LArFCAL_Base_ID
(
"LArFCAL_SuperCell_ID"
,
"slar_fcal"
, 1)
18
{
19
}
20
21
LArFCAL_SuperCell_ID::~LArFCAL_SuperCell_ID
() =
default
;
22
23
int
LArFCAL_SuperCell_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
24
/*=================================================================*/
25
{
26
MsgStream
log
(
m_msgSvc
,
"LArFCAL_SuperCell_ID"
);
27
28
log
<<
MSG::DEBUG
<<
"initialize_from_dictionary"
<<
endmsg
;
29
30
// Check whether this helper should be reinitialized
31
if
(!
reinitialize
(dict_mgr)) {
32
log
<<
MSG::DEBUG
<<
"Request to reinitialize not satisfied - tags have not changed"
<<
endmsg
;
33
return
(0);
34
}
35
else
{
36
if
(
m_msgSvc
)
log
<<
MSG::DEBUG
<<
"(Re)initialize"
<<
endmsg
;
37
}
38
39
// init base object
40
if
(
LArFCAL_Base_ID::initialize_base_from_dictionary
(dict_mgr,
group
()))
41
return
(1);
42
43
return
0;
44
}
45
LArFCAL_Base_ID
Definition:
LArFCAL_Base_ID.h:19
LArFCAL_Base_ID::initialize_base_from_dictionary
virtual int initialize_base_from_dictionary(const IdDictMgr &dict_mgr, const std::string &group_name)
initialization from the identifier dictionary
Definition:
LArFCAL_Base_ID.cxx:135
LArFCAL_SuperCell_ID.h
AtlasDetectorID::m_msgSvc
IMessageSvc * m_msgSvc
pointer to the message service
Definition:
AtlasDetectorID.h:369
LArFCAL_SuperCell_ID::~LArFCAL_SuperCell_ID
~LArFCAL_SuperCell_ID()
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
AtlasDetectorID::group
const std::string & group() const
Group name for this helper.
Definition:
AtlasDetectorID.cxx:32
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
LArFCAL_SuperCell_ID::initialize_from_dictionary
virtual int initialize_from_dictionary(const IdDictMgr &dict_mgr)
initialization from the identifier dictionary
Definition:
LArFCAL_SuperCell_ID.cxx:23
LArFCAL_SuperCell_ID::LArFCAL_SuperCell_ID
LArFCAL_SuperCell_ID()
Definition:
LArFCAL_SuperCell_ID.cxx:16
Generated on Sun Oct 26 2025 21:13:17 for ATLAS Offline Software by
1.8.18