ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwGap_v2.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4*/
29
30
31#ifndef CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
32#define CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
33
34
39
40
42
43
74{
75public:
78
79
83 virtual StatusCode initialize() override;
84
85
106 virtual void makeTheCorrection (const Context& myctx,
107 xAOD::CaloCluster* cluster,
108 const CaloDetDescrElement* elt,
109 float eta,
110 float adj_eta,
111 float phi,
112 float adj_phi,
113 CaloSampling::CaloSample samp) const override;
114
115
116
121 virtual StatusCode setCaloCellContainerName (const std::string& name) override;
122
123
124private:
127 { this, "etamin_crack", "Lower end of range over which this correction is defined." };
129 { this, "etamax_crack", "Upper end of range over which this correction is defined." };
130
133 { this, "degree", "Interpolation degree." };
134
138 { this, "correction", "The tabulated array of correction weights, A and alpha." };
139
143 { this, "use_raw_eta", "If true, tabulated values are in terms of raw (local) eta." };
144
147 { this, "cells_name", "AllCalo", "The name of the container in which to look to find tile cells." };
148};
149
150
151#endif // not CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Simple multidimensional arrays.
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
This class groups all DetDescr information related to a CaloCell.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< float > m_etamax_crack
Constant< int > m_degree
Calibration constant: The interpolation degree.
virtual void makeTheCorrection(const Context &myctx, xAOD::CaloCluster *cluster, const CaloDetDescrElement *elt, float eta, float adj_eta, float phi, float adj_phi, CaloSampling::CaloSample samp) const override
Virtual function for the correction-specific code.
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
SG::ReadHandleKey< CaloCellContainer > m_cells_name
Property: The name of the container in which to look to find tile cells.
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: The tabulated array of correction weights, A and alpha.
Allow changing the name of the CaloCellContainer used by a tool.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
void initialize()