ATLAS Offline Software
electronPearShapeAlignmentCorrection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ELECTRONPEARSHAPEALIGNMENTCORRECTION_H
6 #define ELECTRONPEARSHAPEALIGNMENTCORRECTION_H
7 
8 #include "TH2.h"
18 {
19 
20 public:
24  const std::string& infile = "rel22_210510/pearshapedistortion.root");
26 
29  double getDeltaEtaDistortion(const float eta, const float phi) const;
30  double getDeltaEtaCorrection(const float eta, const float phi) const;
31 
32 private:
33  // histograms to store correction
34  std::unique_ptr<TH2> m_sdeta;
35 };
36 
37 #endif
run.infile
string infile
Definition: run.py:13
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
electronPearShapeAlignmentCorrection::getDeltaEtaDistortion
double getDeltaEtaDistortion(const float eta, const float phi) const
get the correction to deltaEta
Definition: electronPearShapeAlignmentCorrection.cxx:32
electronPearShapeAlignmentCorrection::electronPearShapeAlignmentCorrection
electronPearShapeAlignmentCorrection(const std::string &infile="rel22_210510/pearshapedistortion.root")
constructor (initialization reading a root file)
Definition: electronPearShapeAlignmentCorrection.cxx:13
electronPearShapeAlignmentCorrection::getDeltaEtaCorrection
double getDeltaEtaCorrection(const float eta, const float phi) const
Definition: electronPearShapeAlignmentCorrection.cxx:43
electronPearShapeAlignmentCorrection::~electronPearShapeAlignmentCorrection
~electronPearShapeAlignmentCorrection()=default
electronPearShapeAlignmentCorrection::m_sdeta
std::unique_ptr< TH2 > m_sdeta
Definition: electronPearShapeAlignmentCorrection.h:34
electronPearShapeAlignmentCorrection
return a correction for deltaEta1 to account for the pear shape distortion of the calorimeter
Definition: electronPearShapeAlignmentCorrection.h:18