ATLAS Offline Software
Loading...
Searching...
No Matches
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"
16
17
22{
23 // Need the explicit std::string here to avoid matching
24 // the template in AlgTool.
25 CHECK( setProperty ("isDummy", std::string("1")) );
27}
28
29
30// derived class implement the real correction.
31// (Does nothing here.)
33 xAOD::CaloCluster*) const
34{
35}
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
void setProperty(columnar::PythonToolHandle &self, const std::string &key, nb::object value)
virtual StatusCode initialize() override
Initialize method.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const override
virtual StatusCode initialize() override
Standard initialization method.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.