ATLAS Offline Software
Loading...
Searching...
No Matches
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"
16
18{
19
20public:
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
32private:
33 // histograms to store correction
34 std::unique_ptr<TH2> m_sdeta;
35};
36
37#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
double getDeltaEtaDistortion(const float eta, const float phi) const
get the correction to deltaEta
double getDeltaEtaCorrection(const float eta, const float phi) const
electronPearShapeAlignmentCorrection(const std::string &infile="rel22_210510/pearshapedistortion.root")
constructor (initialization reading a root file)