ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloScaleCluster.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
/*
4
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
16
17
18
#ifndef CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
19
#define CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
20
21
22
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
23
#include "
CaloConditions/Array.h
"
24
25
35
class
CaloScaleCluster
36
:
public
CaloClusterCorrectionCommon
37
{
38
public
:
40
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
41
42
63
virtual
void
makeTheCorrection
(
const
Context& myctx,
64
xAOD::CaloCluster
* cluster,
65
const
CaloDetDescrElement
* elt,
66
float
eta
,
67
float
adj_eta,
68
float
phi
,
69
float
adj_phi,
70
CaloSampling::CaloSample
samp)
const override
;
71
72
73
private
:
75
Constant<CxxUtils::Array<2> >
m_correction
76
{
this
,
"correction"
,
"Arrays of function parameters"
};
77
79
Constant<int>
m_degree
80
{
this
,
"degree"
,
"Degree of the polynomial interpolation"
};
81
83
Constant<float>
m_etamax
84
{
this
,
"etamax"
,
"Maximum eta for which this correction is defined"
};
85
};
86
87
88
#endif
// not CALOCLUSTERCORRECTION_CALOSCALECLUSTER_H
89
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
CaloScaleCluster
EM calorimeter containment correction.
Definition
CaloScaleCluster.h:37
CaloScaleCluster::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloScaleCluster::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: tabulated arrays of function parameters.
Definition
CaloScaleCluster.h:76
CaloScaleCluster::m_etamax
Constant< float > m_etamax
Calibration constant: maximum eta for which this correction is defined.
Definition
CaloScaleCluster.h:84
CaloScaleCluster::m_degree
Constant< int > m_degree
Calibration constant: degree of the polynomial interpolation.
Definition
CaloScaleCluster.h:80
CaloScaleCluster::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
CaloScaleCluster.cxx:41
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