ATLAS Offline Software
Calorimeter
CaloRec
src
CaloClusterCorrDumper.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//-----------------------------------------------------------------------
6
//
7
// Description: see CaloClusterCorrDumper.h
8
//-----------------------------------------------------------------------
9
10
11
#include "
CaloClusterCorrDumper.h
"
12
#include "
StoreGate/ReadCondHandle.h
"
13
14
15
16
StatusCode
CaloClusterCorrDumper::initialize
()
17
{
18
ATH_CHECK
(
m_constants
.initialize() );
19
return
StatusCode::SUCCESS;
20
}
21
22
23
StatusCode
CaloClusterCorrDumper::execute
(
const
EventContext& ctx)
const
24
{
25
for
(
const
SG::ReadCondHandleKey<CaloRec::ToolConstants>
&
k
:
m_constants
) {
26
SG::ReadCondHandle<CaloRec::ToolConstants>
constant
(
k
, ctx);
27
ATH_MSG_INFO
(
constant
->toString (
"dumper"
) );
28
}
29
return
StatusCode::SUCCESS;
30
}
31
32
SG::ReadCondHandle
Definition:
ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition:
AthMsgStreamMacros.h:31
CaloClusterCorrDumper::initialize
virtual StatusCode initialize() override
Definition:
CaloClusterCorrDumper.cxx:16
CaloClusterCorrDumper::m_constants
SG::ReadCondHandleKeyArray< CaloRec::ToolConstants > m_constants
Definition:
CaloClusterCorrDumper.h:36
ReadCondHandle.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
dumpNswErrorDb.constant
def constant
Definition:
dumpNswErrorDb.py:22
CaloClusterCorrDumper::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
CaloClusterCorrDumper.cxx:23
SG::ReadCondHandleKey< CaloRec::ToolConstants >
CaloClusterCorrDumper.h
fitman.k
k
Definition:
fitman.py:528
Generated on Thu Nov 7 2024 21:11:21 for ATLAS Offline Software by
1.8.18