ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoEMsshape.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_CALOTOPOEMSSHAPE_H
6#define CALOCLUSTERCORRECTION_CALOTOPOEMSSHAPE_H
7/********************************************************************
8
9NAME: CaloTopoEMsshape.h
10PACKAGE: offline/Calorimeter/CaloClusterCorrection
11
12AUTHORS: M.Boonekamp, N.Kerschen
13CREATED: March 2005
14
15PURPOSE: s-shape corrections
16 base class: CaloClusterCorrection (AlgTool)
17
18Updated: March 12, 2005 (MB)
19 corrections for the TopoCluster
20********************************************************************/
21
23class CaloCluster;
24
26{
27public:
30
31
32 // virtual method in CaloClusterCorrection
33 virtual void makeTheCorrection(const Context& myctx,
34 xAOD::CaloCluster* cluster,
35 const CaloDetDescrElement* elt,
36 float eta,
37 float adj_eta,
38 float phi,
39 float adj_phi,
40 CaloSampling::CaloSample samp) const;
41
42 private:
43 // Comments on the parametrization :
44 // f(x) = P0 + atan(P1*(x-0.5)) + P2(x-0.5) + P3*|x-0.5| + P4
45 // x is the position on the cell (0<x<1)
46 // Tuned on 100 GeV electrons, no energy dependence
47 Constant<CxxUtils::Array<1> > m_P0 { this, "P0", "" };
48 Constant<CxxUtils::Array<1> > m_P1 { this, "P1", "" };
49 Constant<CxxUtils::Array<1> > m_P2 { this, "P2", "" };
50 Constant<CxxUtils::Array<1> > m_P3 { this, "P3", "" };
51 Constant<CxxUtils::Array<1> > m_P4 { this, "P4", "" };
52 Constant<CxxUtils::Array<1> > m_EtaFrontier { this, "EtaFrontier", "" };
53 Constant<float> m_Granularity { this, "Granularity", "" };
54};
55
56#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Principal data class for CaloCell clusters.
This class groups all DetDescr information related to a CaloCell.
Constant< CxxUtils::Array< 1 > > m_EtaFrontier
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
Constant< float > m_Granularity
Constant< CxxUtils::Array< 1 > > m_P4
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Constant< CxxUtils::Array< 1 > > m_P2
Constant< CxxUtils::Array< 1 > > m_P3
Constant< CxxUtils::Array< 1 > > m_P0
Constant< CxxUtils::Array< 1 > > m_P1
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.