ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloSwLongWeights.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_CALOSWLONGWEIGHTS_H
6
#define CALOCLUSTERCORRECTION_CALOSWLONGWEIGHTS_H
7
/********************************************************************
8
9
NAME: CaloSwLongWeights.h
10
PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12
AUTHORS: K.Loureiro, S.Paganis
13
CREATED: July 5, 2004
14
15
PURPOSE: Longitudinal weight corrections applied to calo clusters
16
17
18
********************************************************************/
19
20
#include "
CaloClusterCorrection/CaloClusterCorrectionCommon.h
"
21
#include "
CaloConditions/Array.h
"
22
23
24
class
CaloSwLongWeights
:
public
CaloClusterCorrectionCommon
25
{
26
public
:
28
using
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
;
29
30
51
virtual
void
makeTheCorrection
(
const
Context& myctx,
52
xAOD::CaloCluster
* cluster,
53
const
CaloDetDescrElement
* elt,
54
float
eta
,
55
float
adj_eta,
56
float
phi
,
57
float
adj_phi,
58
CaloSampling::CaloSample
samp)
const override
;
59
60
61
private
:
62
63
64
Constant<CxxUtils::Array<2> >
m_correction
{
this
,
"correction"
,
""
};
65
Constant<float>
m_eta_start_crack
{
this
,
"eta_start_crack"
,
""
};
66
Constant<float>
m_eta_end_crack
{
this
,
"eta_end_crack"
,
""
};
67
Constant<float>
m_etamax
{
this
,
"etamax"
,
""
};
68
Constant<int>
m_degree
{
this
,
"degree"
,
""
};
69
Constant<bool>
m_use_raw_eta
{
this
,
"use_raw_eta"
,
""
};
70
Constant<bool>
m_preserve_offset
{
this
,
"preserve_offset"
,
""
};
71
};
72
73
#endif
74
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.
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
CaloSwLongWeights::m_degree
Constant< int > m_degree
Definition
CaloSwLongWeights.h:68
CaloSwLongWeights::m_etamax
Constant< float > m_etamax
Definition
CaloSwLongWeights.h:67
CaloSwLongWeights::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition
CaloClusterCorrectionCommon.cxx:407
CaloSwLongWeights::m_use_raw_eta
Constant< bool > m_use_raw_eta
Definition
CaloSwLongWeights.h:69
CaloSwLongWeights::m_eta_end_crack
Constant< float > m_eta_end_crack
Definition
CaloSwLongWeights.h:66
CaloSwLongWeights::m_eta_start_crack
Constant< float > m_eta_start_crack
Definition
CaloSwLongWeights.h:65
CaloSwLongWeights::m_preserve_offset
Constant< bool > m_preserve_offset
Definition
CaloSwLongWeights.h:70
CaloSwLongWeights::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition
CaloSwLongWeights.h:64
CaloSwLongWeights
Definition
CaloSwLongWeights.py:1
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