ATLAS Offline Software
e1hg_systematics.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef E1HG_SYSTEMATICS_H
6 #define E1HG_SYSTEMATICS_H
7 #include "TArrayD.h"
8 #include "TFile.h"
9 #include "TH1.h"
10 
19 
20  public:
22  e1hg_systematics(const std::string& filename);
24 
31  double getAlpha(int particle_type, double energy, double eta,
32  bool interpolate = false) const;
33 
34  private:
35  // histograms to store parameters
39  TFile* m_file0;
40  const TArrayD* m_etBins;
41 };
42 
43 #endif
e1hg_systematics::~e1hg_systematics
~e1hg_systematics()
Definition: e1hg_systematics.cxx:37
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
TH1D
Definition: rootspy.cxx:342
EgammaARTmonitoring_plotsMaker.particle_type
particle_type
Definition: EgammaARTmonitoring_plotsMaker.py:633
e1hg_systematics::m_etBins
const TArrayD * m_etBins
Definition: e1hg_systematics.h:40
e1hg_systematics::e1hg_systematics
e1hg_systematics(const std::string &filename)
constructor (initialization done there reading root files)
Definition: e1hg_systematics.cxx:18
e1hg_systematics::m_file0
TFile * m_file0
Definition: e1hg_systematics.h:39
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
e1hg_systematics::m_hphot2
TH1D * m_hphot2[8]
Definition: e1hg_systematics.h:38
e1hg_systematics::m_hphot
TH1D * m_hphot[8]
Definition: e1hg_systematics.h:37
e1hg_systematics
Definition: e1hg_systematics.h:18
e1hg_systematics::m_helec
TH1D * m_helec[8]
Definition: e1hg_systematics.h:36
e1hg_systematics::getAlpha
double getAlpha(int particle_type, double energy, double eta, bool interpolate=false) const
particle_type = 0 (electrons), 1 (unconv photons), 2 (conv photons)
Definition: e1hg_systematics.cxx:48
CaloClusterCorr::interpolate
float interpolate(const CaloRec::Array< 2 > &a, float x, unsigned int degree, unsigned int ycol=1, const CaloRec::Array< 1 > &regions=CaloRec::Array< 1 >(), int n_points=-1, bool fixZero=false)
Polynomial interpolation in a table.
Definition: interpolate.cxx:75
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24