ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloSwClcon_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
*/
37
38
39
#ifndef CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
40
#define CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
41
42
43
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
44
#include "
CaloConditions/Array.h
"
45
46
68
class
CaloSwClcon_v2
:
69
public
CaloClusterCorrectionCommon
70
{
71
public
:
72
// Inherit constructor.
73
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
74
75
96
virtual
void
makeTheCorrection
(
const
Context& myctx,
97
xAOD::CaloCluster
* cluster,
98
const
CaloDetDescrElement
* elt,
99
float
eta
,
100
float
adj_eta,
101
float
phi
,
102
float
adj_phi,
103
CaloSampling::CaloSample
samp)
const override
;
104
105
106
private
:
108
Constant<float>
m_etamax
109
{
this
,
"etamax"
,
"Maximum eta for which this correction is defined."
};
110
112
Constant<int>
m_degree
113
{
this
,
"degree"
,
"Degree of the polynomial interpolation."
};
114
116
Constant<CxxUtils::Array<2> >
m_correction
117
{
this
,
"correction"
,
"Tabulated arrays of function parameters."
};
118
121
Constant<CxxUtils::Array<1> >
m_energies
122
{
this
,
"energies"
,
"Table of energies at which the correctionwas tabulated."
};
123
125
Constant<int>
m_energy_degree
126
{
this
,
"energy_degree"
,
"Degree of the polynomial interpolation in energy."
};
127
130
Constant<bool>
m_use_raw_eta
131
{
this
,
"use_raw_eta"
,
"If true, tabulated values are in terms of raw (local) eta."
};
132
};
133
134
135
#endif
// not CALOCLUSTERCORRECTION_CALOSWCLCON_V2_H
136
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
CaloClusterCorrectionCommon.h
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
CaloSwClcon_v2
EM calorimeter containment correction.
Definition
CaloSwClcon_v2.h:70
CaloSwClcon_v2::m_degree
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Definition
CaloSwClcon_v2.h:113
CaloSwClcon_v2::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloSwClcon_v2::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
Virtual function for the correction-specific code.
Definition
CaloSwClcon_v2.cxx:67
CaloSwClcon_v2::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Definition
CaloSwClcon_v2.h:117
CaloSwClcon_v2::m_energies
Constant< CxxUtils::Array< 1 > > m_energies
Calibration constant: table of energies at which the correction was tabulated.
Definition
CaloSwClcon_v2.h:122
CaloSwClcon_v2::m_use_raw_eta
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Definition
CaloSwClcon_v2.h:131
CaloSwClcon_v2::m_energy_degree
Constant< int > m_energy_degree
Calibration constant: degree of the polynomial interpolation in energy.
Definition
CaloSwClcon_v2.h:126
CaloSwClcon_v2::m_etamax
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.
Definition
CaloSwClcon_v2.h:109
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