ATLAS Offline Software
Loading...
Searching...
No Matches
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
17
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
36 TH1D* m_helec[8];
37 TH1D* m_hphot[8];
38 TH1D* m_hphot2[8];
39 TFile* m_file0;
40 const TArrayD* m_etBins;
41};
42
43#endif
Scalar eta() const
pseudorapidity method
const TArrayD * m_etBins
double getAlpha(int particle_type, double energy, double eta, bool interpolate=false) const
particle_type = 0 (electrons), 1 (unconv photons), 2 (conv photons)
e1hg_systematics(const std::string &filename)
constructor (initialization done there reading root files)