ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloTopoEMGap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* AUTHORS: N. Kerschen
7
* CREATED: Nov 2006
8
*
9
* PURPOSE: Correction for the barrel-endcap cracks
10
* for topoEM cluster (based on CaloSwGap_v2.h)
11
*
12
*/
13
14
15
#ifndef CALOCLUSTERCORRECTION_CALOTOPOEMGAP_H
16
#define CALOCLUSTERCORRECTION_CALOTOPOEMGAP_H
17
18
19
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
20
#include "
CaloConditions/Array.h
"
21
#include "
StoreGate/ReadHandleKey.h
"
22
23
24
class
CaloCellContainer
;
25
26
27
class
CaloTopoEMGap
28
:
public
CaloClusterCorrectionCommon
29
{
30
public
:
32
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
33
34
38
virtual
StatusCode
initialize
()
override
;
39
40
61
virtual
void
makeTheCorrection
(
const
Context& myctx,
62
xAOD::CaloCluster
* cluster,
63
const
CaloDetDescrElement
* elt,
64
float
eta
,
65
float
adj_eta,
66
float
phi
,
67
float
adj_phi,
68
CaloSampling::CaloSample
samp)
const override
;
69
70
71
private
:
73
Constant<float>
m_etamin_crack
74
{
this
,
"etamin_crack"
,
"Lower edge of range over which this correction is defined."
};
75
Constant<float>
m_etamax_crack
76
{
this
,
"etamax_crack"
,
"Upper edge of range over which this correction is defined."
};
77
79
Constant<int>
m_degree
80
{
this
,
"degree"
,
"The interpolation degree."
};
81
84
Constant<CxxUtils::Array<2> >
m_correction
85
{
this
,
"correction"
,
"The tabulated array of correction weights, A and alpha."
};
86
89
Constant<bool>
m_use_raw_eta
90
{
this
,
"use_raw_eta"
,
"If true, tabulated values are in terms of raw (local) eta."
};
91
92
SG::ReadHandleKey<CaloCellContainer>
m_cells
93
{
this
,
"Cells"
,
"AllCalo"
,
"SG key for calorimeter cells"
};
94
};
95
96
97
#endif
// not CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
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.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
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
CaloTopoEMGap
Definition
CaloTopoEMGap.h:29
CaloTopoEMGap::m_cells
SG::ReadHandleKey< CaloCellContainer > m_cells
Definition
CaloTopoEMGap.h:93
CaloTopoEMGap::m_degree
Constant< int > m_degree
Calibration constant: The interpolation degree.
Definition
CaloTopoEMGap.h:80
CaloTopoEMGap::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloTopoEMGap::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
CaloTopoEMGap.cxx:43
CaloTopoEMGap::m_use_raw_eta
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Definition
CaloTopoEMGap.h:90
CaloTopoEMGap::m_etamax_crack
Constant< float > m_etamax_crack
Definition
CaloTopoEMGap.h:76
CaloTopoEMGap::m_etamin_crack
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
Definition
CaloTopoEMGap.h:74
CaloTopoEMGap::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
CaloTopoEMGap.cxx:71
CaloTopoEMGap::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: The tabulated array of correction weights, A and alpha.
Definition
CaloTopoEMGap.h:85
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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