ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloLongWeights_v2.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
#ifndef CALOCLUSTERCORRECTION_CALOLONGWEIGHTS_V2_H
6
#define CALOCLUSTERCORRECTION_CALOLONGWEIGHTS_V2_H
7
/********************************************************************
8
9
NAME: CaloLongWeights_v2.h
10
PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12
AUTHORS: M. Aharrouche
13
CREATED: Jan 25, 2006
14
15
PURPOSE: correction for the energy lost behind the calorimeter,
16
between presampler and the calorimeter and in dead material
17
in front of the presampler.
18
19
********************************************************************/
20
21
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
22
#include "
CaloConditions/Array.h
"
23
24
25
class
CaloLongWeights_v2
:
public
CaloClusterCorrectionCommon
26
{
27
public
:
29
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
30
31
32
virtual
void
makeTheCorrection
(
const
Context& myctx,
33
xAOD::CaloCluster
* cluster,
34
const
CaloDetDescrElement
* elt,
35
float
eta
,
36
float
adj_eta,
37
float
phi
,
38
float
adj_phi,
39
CaloSampling::CaloSample
samp)
const override
;
40
41
42
private
:
43
44
45
Constant<CxxUtils::Array<3> >
m_correction
{
this
,
"correction"
,
""
};
46
Constant<CxxUtils::Array<1> >
m_energies
{
this
,
"energies"
,
""
};
47
Constant<int>
m_degree
{
this
,
"degree"
,
""
};
48
Constant<float>
m_etamax
{
this
,
"EtaMax"
,
""
};
49
Constant<float>
m_barrel_frontier
{
this
,
"EtaBarrel"
,
""
};
50
Constant<float>
m_endcap_frontier
{
this
,
"EtaEndCap"
,
""
};
51
};
52
53
#endif
54
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
CaloLongWeights_v2
Definition
CaloLongWeights_v2.h:26
CaloLongWeights_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
CaloLongWeights_v2.cxx:23
CaloLongWeights_v2::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloLongWeights_v2::m_correction
Constant< CxxUtils::Array< 3 > > m_correction
Definition
CaloLongWeights_v2.h:45
CaloLongWeights_v2::m_etamax
Constant< float > m_etamax
Definition
CaloLongWeights_v2.h:48
CaloLongWeights_v2::m_barrel_frontier
Constant< float > m_barrel_frontier
Definition
CaloLongWeights_v2.h:49
CaloLongWeights_v2::m_energies
Constant< CxxUtils::Array< 1 > > m_energies
Definition
CaloLongWeights_v2.h:46
CaloLongWeights_v2::m_degree
Constant< int > m_degree
Definition
CaloLongWeights_v2.h:47
CaloLongWeights_v2::m_endcap_frontier
Constant< float > m_endcap_frontier
Definition
CaloLongWeights_v2.h:50
CaloSampling::CaloSample
CaloSample
Definition
Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
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