ATLAS Offline Software
CaloTopoEMLongWeights.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_CALOTOPOEMLONGWEIGHTS_H
6 #define CALOCLUSTERCORRECTION_CALOTOPOEMLONGWEIGHTS_H
7 /********************************************************************
8 
9 NAME: CaloTopoEMLongWeights.h
10 PACKAGE: offline/Calorimeter/CaloClusterCorrection
11 
12 AUTHORS: N.Kerschen
13 CREATED: Nov 8, 2006
14 
15 PURPOSE: Longitudinal weight corrections applied to topoEM
16 
17 
18 ********************************************************************/
19 
21 #include "CaloConditions/Array.h"
22 
23 
25 {
26 public:
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;
59 
60 
61 private:
62  Constant<CxxUtils::Array<2> > m_correction { this, "correction", "" };
63  Constant<float> m_eta_start_crack { this, "eta_start_crack", "" };
64  Constant<float> m_eta_end_crack { this, "eta_end_crack", "" };
65  Constant<float> m_etamax { this, "etamax", "" };
66  Constant<int> m_degree { this, "degree", "" };
67  Constant<bool> m_use_raw_eta { this, "use_raw_eta", "" };
68 };
69 
70 #endif
71 
CaloTopoEMLongWeights::m_correction
Constant< CxxUtils::Array< 2 > > m_correction
Definition: CaloTopoEMLongWeights.h:73
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
CaloTopoEMLongWeights::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
Virtual function for the correction-specific code.
Definition: CaloTopoEMLongWeights.cxx:45
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
Array.h
Simple multidimensional arrays.
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloTopoEMLongWeights
Definition: CaloTopoEMLongWeights.h:25
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CaloClusterCorrectionCommon::CaloClusterCorrectionCommon
CaloClusterCorrectionCommon(const std::string &type, const std::string &name, const IInterface *parent)
Inherit constructor.
Definition: CaloClusterCorrectionCommon.cxx:408
CaloClusterCorrectionCommon.h
CaloTopoEMLongWeights::m_eta_end_crack
Constant< float > m_eta_end_crack
Definition: CaloTopoEMLongWeights.h:75
CaloTopoEMLongWeights::m_eta_start_crack
Constant< float > m_eta_start_crack
Definition: CaloTopoEMLongWeights.h:74
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloTopoEMLongWeights::m_use_raw_eta
Constant< bool > m_use_raw_eta
Definition: CaloTopoEMLongWeights.h:78
CaloTopoEMLongWeights::m_etamax
Constant< float > m_etamax
Definition: CaloTopoEMLongWeights.h:76
CaloClusterCorrectionCommon
Code common to cluster corrections.
Definition: CaloClusterCorrectionCommon.h:42
CaloUtils::ToolConstant
Constant of a ToolWithConstants.
Definition: ToolWithConstants.h:202
CaloTopoEMLongWeights::m_degree
Constant< int > m_degree
Definition: CaloTopoEMLongWeights.h:77