ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloSwGap_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
*/
29
30
31
#ifndef CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
32
#define CALOCLUSTERCORRECTION_CALOSWGAP_V2_H
33
34
35
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
36
#include "
CaloConditions/Array.h
"
37
#include "
CaloInterface/ISetCaloCellContainerName.h
"
38
#include "
StoreGate/ReadHandleKey.h
"
39
40
41
class
CaloCellContainer
;
42
43
71
class
CaloSwGap_v2
72
:
public
CaloClusterCorrectionCommon
,
73
public
ISetCaloCellContainerName
74
{
75
public
:
77
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
78
79
83
virtual
StatusCode
initialize
()
override
;
84
85
106
virtual
void
makeTheCorrection
(
const
Context& myctx,
107
xAOD::CaloCluster
* cluster,
108
const
CaloDetDescrElement
* elt,
109
float
eta
,
110
float
adj_eta,
111
float
phi
,
112
float
adj_phi,
113
CaloSampling::CaloSample
samp)
const override
;
114
115
116
121
virtual
StatusCode
setCaloCellContainerName
(
const
std::string& name)
override
;
122
123
124
private
:
126
Constant<float>
m_etamin_crack
127
{
this
,
"etamin_crack"
,
"Lower end of range over which this correction is defined."
};
128
Constant<float>
m_etamax_crack
129
{
this
,
"etamax_crack"
,
"Upper end of range over which this correction is defined."
};
130
132
Constant<int>
m_degree
133
{
this
,
"degree"
,
"Interpolation degree."
};
134
137
Constant<CxxUtils::Array<2> >
m_correction
138
{
this
,
"correction"
,
"The tabulated array of correction weights, A and alpha."
};
139
142
Constant<bool>
m_use_raw_eta
143
{
this
,
"use_raw_eta"
,
"If true, tabulated values are in terms of raw (local) eta."
};
144
146
SG::ReadHandleKey<CaloCellContainer>
m_cells_name
147
{
this
,
"cells_name"
,
"AllCalo"
,
"The name of the container in which to look to find tile cells."
};
148
};
149
150
151
#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
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_v2::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloSwGap_v2::m_etamax_crack
Constant< float > m_etamax_crack
Definition
CaloSwGap_v2.h:129
CaloSwGap_v2::m_degree
Constant< int > m_degree
Calibration constant: The interpolation degree.
Definition
CaloSwGap_v2.h:133
CaloSwGap_v2::m_etamin_crack
Constant< float > m_etamin_crack
Calibration constants: The range over which this correction is defined.
Definition
CaloSwGap_v2.h:127
CaloSwGap_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
CaloSwGap_v2.h:143
CaloSwGap_v2::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_v2.h:147
CaloSwGap_v2::setCaloCellContainerName
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
Definition
CaloSwGap_v2.cxx:165
CaloSwGap_v2::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Calibration constant: The tabulated array of correction weights, A and alpha.
Definition
CaloSwGap_v2.h:138
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_v2
Definition
CaloSwGap_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
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0