ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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.h
errorcheck.h
Helpers for checking error return status codes and reporting errors.
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
setProperty
void setProperty(columnar::PythonToolHandle &self, const std::string &key, nb::object value)
Definition
NanobindBindings.cxx:75
CaloClusterCorrection::initialize
virtual StatusCode initialize() override
Definition
CaloClusterCorrection.cxx:46
CaloDummyCorrection::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const override
Definition
CaloDummyCorrection.cxx:32
CaloDummyCorrection::initialize
virtual StatusCode initialize() override
Standard initialization method.
Definition
CaloDummyCorrection.cxx:21
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
Generated on
for ATLAS Offline Software by
1.17.0