00001 #ifndef E1HG_SYSTEMATICS_H
00002 #define E1HG_SYSTEMATICS_H
00003 #include "TH1.h"
00004 #include "TFile.h"
00005 #include "TArrayD.h"
00006
00013 class e1hg_systematics {
00014
00015 public:
00017 e1hg_systematics();
00018 ~e1hg_systematics();
00019
00026 double getAlpha(int particle_type, double energy, double eta, bool interpolate=false) const;
00027
00028 private:
00029
00030
00031 TH1D* m_helec[8];
00032 TH1D* m_hphot[8];
00033 TH1D* m_hphot2[8];
00034 TFile* m_file0;
00035 const TArrayD* m_etBins;
00036
00037 };
00038
00039 #endif