ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: CaloLongWeights_v2.h
10PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12AUTHORS: M. Aharrouche
13CREATED: Jan 25, 2006
14
15PURPOSE: 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
23
24
26{
27public:
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
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Simple multidimensional arrays.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
This class groups all DetDescr information related to a CaloCell.
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.
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< CxxUtils::Array< 3 > > m_correction
Constant< float > m_etamax
Constant< float > m_barrel_frontier
Constant< CxxUtils::Array< 1 > > m_energies
Constant< int > m_degree
Constant< float > m_endcap_frontier
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.