ATLAS Offline Software
Calorimeter
CaloClusterCorrection
src
CaloDummyCorrection.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
// $Id: CaloDummyCorrection.cxx,v 1.1 2009-04-19 03:58:47 ssnyder Exp $
6
/* @file CaloDummyCorrection.cxx
7
* @author scott snyder <snyder@bnl.gov>
8
* @date Apr, 2009
9
* @brief Dummy correction tool, used to get dummy constants objects
10
* written to the database.
11
*/
12
13
14
#include "
CaloDummyCorrection.h
"
15
#include "
AthenaKernel/errorcheck.h
"
16
17
21
StatusCode
CaloDummyCorrection::initialize
()
22
{
23
// Need the explicit std::string here to avoid matching
24
// the template in AlgTool.
25
CHECK
( setProperty (
"isDummy"
, std::string(
"1"
)) );
26
return
CaloClusterCorrection::initialize
();
27
}
28
29
30
// derived class implement the real correction.
31
// (Does nothing here.)
32
void
CaloDummyCorrection::makeCorrection
(
const
Context
&
/*myctx*/
,
33
xAOD::CaloCluster
*)
const
34
{
35
}
CaloDummyCorrection::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const override
Definition:
CaloDummyCorrection.cxx:32
CaloClusterCorrection::initialize
virtual StatusCode initialize() override
Initialize method.
Definition:
CaloClusterCorrection.cxx:47
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloDummyCorrection.h
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition:
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
errorcheck.h
Helpers for checking error return status codes and reporting errors.
CaloDummyCorrection::initialize
virtual StatusCode initialize() override
Standard initialization method.
Definition:
CaloDummyCorrection.cxx:21
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition:
ToolWithConstants.h:61
Generated on Sun Dec 22 2024 21:07:54 for ATLAS Offline Software by
1.8.18