ATLAS Offline Software
Calorimeter
CaloIdentifier
src
LArHEC_SuperCell_ID.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
14
#include "
CaloIdentifier/LArHEC_SuperCell_ID.h
"
15
16
17
LArHEC_SuperCell_ID::LArHEC_SuperCell_ID
()
18
:
LArHEC_Base_ID
(
"LArHEC_SuperCell_ID"
, true)
19
{
20
}
21
22
23
int
LArHEC_SuperCell_ID::initialize_from_dictionary
(
const
IdDictMgr
& dict_mgr)
24
/*=================================================================*/
25
{
26
MsgStream
log
(
m_msgSvc
,
"LArHEC_SuperCell_ID"
);
27
log
<<
MSG::DEBUG
<<
"initialize_from_dictionary"
<<
endmsg
;
28
29
// Check whether this helper should be reinitialized
30
if
(!
reinitialize
(dict_mgr)) {
31
log
<<
MSG::DEBUG
<<
"Request to reinitialize not satisfied - tags have not changed"
<<
endmsg
;
32
return
(0);
33
}
34
else
{
35
if
(
m_msgSvc
)
log
<<
MSG::DEBUG
<<
"(Re)initialize"
<<
endmsg
;
36
}
37
38
// init base object
39
if
(
LArHEC_Base_ID::initialize_base_from_dictionary
(dict_mgr,
"slar_hec"
))
40
return
(1);
41
42
return
0;
43
}
44
LArHEC_Base_ID
This class factors out code common between LArEM_ID and LArEM_SuperCell_ID.
Definition:
LArHEC_Base_ID.h:44
AtlasDetectorID::m_msgSvc
IMessageSvc * m_msgSvc
pointer to the message service
Definition:
AtlasDetectorID.h:368
LArHEC_SuperCell_ID.h
Helper class for LArHEC offline identifiers for supercells.
IdDictMgr
Definition:
IdDictMgr.h:14
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
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:166
LArHEC_SuperCell_ID::LArHEC_SuperCell_ID
LArHEC_SuperCell_ID()
Definition:
LArHEC_SuperCell_ID.cxx:17
AtlasDetectorID::reinitialize
bool reinitialize(const IdDictMgr &dict_mgr)
Test whether an idhelper should be reinitialized based on the change of tags.
Definition:
AtlasDetectorID.cxx:284
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
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:23
Generated on Sun Dec 22 2024 21:13:30 for ATLAS Offline Software by
1.8.18