|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef EGAMMAUTILS_SHOWERDEPTHTOOL_H 
    6 #define EGAMMAUTILS_SHOWERDEPTHTOOL_H 
   23                                    bool isData = 
true) 
const;
 
   27                                    bool isData = 
true) 
const;
 
   32                                          int sampling = 1) 
const;
 
   39                                  bool isData = 
true, 
int sampling = 1) 
const;
 
   43                                           bool isData = 
true) 
const;
 
   52   static std::pair<float, float> 
getRZ(
float eta, 
int sampling);
 
   59                                                const char* histoName);
 
   67 #endif  // ELECTRONISOLATIONSELECTION_SHOWERDEPTHTOOL_H 
  
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
@ zvertex
pointing z at vertex reconstructed from the cluster
std::unique_ptr< TH1 > m_hMC
Select isolated Photons, Electrons and Muons.
std::optional< float > getCaloPointingEta(float etas1, float etas2, float phi, bool isData=true) const
Eta direction from samplings 1 and 2 (pointing)
static float getShowerDepthEM2(float etas2)
Shower depth (in mm) vs.
static std::unique_ptr< TH1 > getHistoFromFile(const char *fileName, const char *histoName)
Return TH1* from file given fileName, histoName.
float getCorrectedEtaDirection(float zvertex, float eta, float phi, bool isData=true, int sampling=1) const
Eta direction from zvertex to the shower in the given sampling.
float getCorrectedShowerDepthEM1(float etas1, float phi, bool isData=true) const
Shower depth (in mm) on EM1 vs.
static std::pair< float, float > getRZ(float eta, int sampling)
Shower depth in R,Z for the given sampling.
static float getShowerDepthEM1(float etas1)
Shower depth (in mm) vs.
static float getEtaDirection(float zvertex, float R, float z)
std::pair< float, float > getCorrectedRZ(float eta, float phi, bool isData=true, int sampling=1) const
Return the shower depth in R,Z considering misalignments.
float getCorrectedShowerDepthEM2(float etas2, float phi, bool isData=true) const
Shower depth (in mm) on EM2 vs.
std::unique_ptr< TH1 > m_hData
float getRZCorrection(float eta, float phi, bool isData=true) const
Return the calorimeter displacement in R(Z) for barrel (endcap)