ATLAS Offline Software
Calorimeter
CaloClusterCorrection
src
CaloDummyCorrection.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it is really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: CaloDummyCorrection.h,v 1.1 2009-04-19 03:58:47 ssnyder Exp $
8
/* @file CaloDummyCorrection.h
9
* @author scott snyder <snyder@bnl.gov>
10
* @date Apr, 2009
11
* @brief Dummy correction tool, used to get dummy constants objects
12
* written to the database.
13
*/
14
15
16
#ifndef CALODUMMYCORRECTION_H
17
#define CALODUMMYCORRECTION_H
18
19
20
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
21
22
23
/*
24
* @brief Dummy correction tool, used to get dummy constants objects
25
* written to the database.
26
*
27
* Each hierarchical tag needs to be defined in each folder, regardless
28
* of whether or not that tag actually uses the correction from that folder.
29
* To deal with this, we create a dummy object for each folder, with
30
* the constant isDummy set to 1. The tool here is used to set this up
31
* when we write to the database.
32
*/
33
class
CaloDummyCorrection
34
:
public
CaloClusterCorrection
35
{
36
public
:
38
using
CaloClusterCorrection::CaloClusterCorrection;
39
40
44
virtual
StatusCode
initialize
()
override
;
45
46
47
// derived class implement the real correction.
48
// (Does nothing here.)
49
virtual
void
makeCorrection
(
const
Context
& myctx,
50
xAOD::CaloCluster
*)
const override
;
51
};
52
53
54
#endif // not CALODUMMYCORRECTION_H
CaloDummyCorrection
Definition:
CaloDummyCorrection.h:35
CaloDummyCorrection::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const override
Definition:
CaloDummyCorrection.cxx:32
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
CaloClusterCorrection.h
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
CaloClusterCorrection
Definition:
CaloClusterCorrection.h:55
Generated on Thu Nov 7 2024 21:11:27 for ATLAS Offline Software by
1.8.18