ATLAS Offline Software
Loading...
Searching...
No Matches
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
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
CaloClusterCorrDumper.h
ReadCondHandle.h
CaloClusterCorrDumper::initialize
virtual StatusCode initialize() override
Definition
CaloClusterCorrDumper.cxx:16
CaloClusterCorrDumper::m_constants
SG::ReadCondHandleKeyArray< CaloRec::ToolConstants > m_constants
Definition
CaloClusterCorrDumper.h:36
CaloClusterCorrDumper::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CaloClusterCorrDumper.cxx:23
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadCondHandle
Definition
ReadCondHandle.h:40
Generated on
for ATLAS Offline Software by
1.14.0