ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloSwGap_v3.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
*/
9
10
11
#ifndef CALOCLUSTERCORRECTION_CALOSWGAP_V3_H
12
#define CALOCLUSTERCORRECTION_CALOSWGAP_V3_H
13
14
15
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
16
#include "
CaloConditions/Array.h
"
17
#include "
CaloInterface/ISetCaloCellContainerName.h
"
18
#include "
StoreGate/ReadHandleKey.h
"
19
20
21
class
CaloCellContainer
;
22
23
51
class
CaloSwGap_v3
52
:
public
CaloClusterCorrectionCommon
,
53
public
ISetCaloCellContainerName
54
{
55
public
:
57
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
58
59
63
virtual
StatusCode
initialize
()
override
;
64
65
87
virtual
void
makeTheCorrection
(
const
Context& myctx,
88
xAOD::CaloCluster
* cluster,
89
const
CaloDetDescrElement
* elt,
90
float
eta
,
91
float
adj_eta,
92
float
phi
,
93
float
adj_phi,
94
CaloSampling::CaloSample
samp)
const override
;
95
96
97
102
virtual
StatusCode
setCaloCellContainerName
(
const
std::string& name)
override
;
103
104
virtual
bool
isGoodPhi
(
float
eta
,
float
phi
)
const
;
105
106
private
:
108
Constant<float>
m_etamin_crack
109
{
this
,
"etamin_crack"
,
"Lower end of range over which this correction is defined."
};
110
Constant<float>
m_etamax_crack
111
{
this
,
"etamax_crack"
,
"Upper end of range over which this correction is defined."
};
112
114
Constant<int>
m_degree
115
{
this
,
"degree"
,
"Interpolation degree."
};
116
119
Constant<CxxUtils::Array<2> >
m_correctionGoodPhi
120
{
this
,
"correctionGoodPhi"
,
""
};
121
Constant<CxxUtils::Array<2> >
m_correctionBadPhi
122
{
this
,
"correctionBadPhi"
,
""
};
123
126
Constant<bool>
m_use_raw_eta
127
{
this
,
"use_raw_eta"
,
"If true, tabulated values are in terms of raw (local) eta."
};
128
Constant<bool>
m_use_raw_eta_boundaries
129
{
this
,
"use_raw_eta_boundaries"
,
""
};
130
132
SG::ReadHandleKey<CaloCellContainer>
m_cells_name
133
{
this
,
"cells_name"
,
"AllCalo"
,
"The name of the container in which to look to find tile cells."
};
134
};
135
136
137
#endif
// not CALOCLUSTERCORRECTION_CALOSWGAP_V3_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.
ISetCaloCellContainerName.h
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
CaloSwGap_v3::m_degree
Constant< int > m_degree
Calibration constant: The interpolation degree.
Definition
CaloSwGap_v3.h:115
CaloSwGap_v3::m_etamax_crack
Constant< float > m_etamax_crack
Definition
CaloSwGap_v3.h:111
CaloSwGap_v3::m_use_raw_eta_boundaries
Constant< bool > m_use_raw_eta_boundaries
Definition
CaloSwGap_v3.h:129
CaloSwGap_v3::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloSwGap_v3::isGoodPhi
virtual bool isGoodPhi(float eta, float phi) const
Definition
CaloSwGap_v3.cxx:182
CaloSwGap_v3::setCaloCellContainerName
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Definition
CaloSwGap_v3.cxx:176
CaloSwGap_v3::m_etamin_crack
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
Definition
CaloSwGap_v3.h:109
CaloSwGap_v3::m_correctionGoodPhi
Constant< CxxUtils::Array< 2 > > m_correctionGoodPhi
Calibration constant: The tabulated array of correction weights, A and alpha.
Definition
CaloSwGap_v3.h:120
CaloSwGap_v3::m_correctionBadPhi
Constant< CxxUtils::Array< 2 > > m_correctionBadPhi
Definition
CaloSwGap_v3.h:122
CaloSwGap_v3::m_use_raw_eta
Constant< bool > m_use_raw_eta
Calibration constant: If true, tabulated values are in terms of raw (local) eta.
Definition
CaloSwGap_v3.h:127
CaloSwGap_v3::m_cells_name
SG::ReadHandleKey< CaloCellContainer > m_cells_name
Property: The name of the container in which to look to find tile cells.
Definition
CaloSwGap_v3.h:133
ISetCaloCellContainerName
Allow changing the name of the CaloCellContainer used by a tool.
Definition
ISetCaloCellContainerName.h:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CaloSwGap_v3
Definition
CaloSwGap_v3.py:1
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0