ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloSwEtaoff_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
*/
14
15
#ifndef CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
16
#define CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
17
18
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
19
#include "
CaloConditions/Array.h
"
20
21
22
class
CaloDetDescrElement
;
23
24
70
class
CaloSwEtaoff_v2
71
:
public
CaloClusterCorrectionCommon
72
{
73
public
:
75
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
76
77
98
virtual
void
makeTheCorrection
(
const
Context& myctx,
99
xAOD::CaloCluster
* cluster,
100
const
CaloDetDescrElement
* elt,
101
float
eta
,
102
float
adj_eta,
103
float
phi
,
104
float
adj_phi,
105
CaloSampling::CaloSample
samp)
const override
;
106
107
private
:
109
Constant<CxxUtils::Array<3> >
m_correction
110
{
this
,
"correction"
,
"Tabulated arrays of function parameters."
};
111
114
Constant<CxxUtils::Array<1> >
m_interp_barriers
115
{
this
,
"interp_barriers"
,
"Allow breaking up the interpolation into independent regions."
};
116
118
Constant<int>
m_degree
119
{
this
,
"degree"
,
"Degree of the polynomial interpolation."
};
120
123
Constant<CxxUtils::Array<1> >
m_energies
124
{
this
,
"energies"
,
"Table of energies at which the correction was tabulated."
};
125
127
Constant<int>
m_energy_degree
128
{
this
,
"energy_degree"
,
"Degree of the polynomial interpolation in energy."
};
129
};
130
131
132
#endif
// not CALOCLUSTERCORRECTION_CALOSWETAOFF_V2_H
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
CaloClusterCorrectionCommon.h
makeTheCorrection
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
Array.h
Simple multidimensional arrays.
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell.
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloSampling::CaloSample
CaloSample
Definition
Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CaloSwEtaoff_v2::m_interp_barriers
Constant< CxxUtils::Array< 1 > > m_interp_barriers
Calibration constant: allow breaking up the interpolation into independent regions.
Definition
CaloSwEtaoff_v2.h:115
CaloSwEtaoff_v2::m_correction
Constant< CxxUtils::Array< 3 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Definition
CaloSwEtaoff_v2.h:110
CaloSwEtaoff_v2::m_degree
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Definition
CaloSwEtaoff_v2.h:119
CaloSwEtaoff_v2::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloSwEtaoff_v2::m_energy_degree
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Definition
CaloSwEtaoff_v2.h:128
CaloSwEtaoff_v2::m_energies
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Definition
CaloSwEtaoff_v2.h:124
CaloSwEtaoff_v2
Definition
CaloSwEtaoff_v2.py:1
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