1 #ifndef RecoParticleFlow_Benchmark_Benchmark_h
2 #define RecoParticleFlow_Benchmark_Benchmark_h
70 TH1F*
book1D(
const char* histname,
const char*
title,
71 int nbins,
float xmin,
float xmax);
74 TH2F*
book2D(
const char* histname,
const char*
title,
75 int nbinsx,
float xmin,
float xmax,
76 int nbinsy,
float ymin,
float ymax );
79 TH2F*
book2D(
const char* histname,
const char*
title,
80 int nbinsx,
float*
xbins,
81 int nbinsy,
float ymin,
float ymax );
PhaseSpace(int n, float m, float M)
virtual void setDirectory(TDirectory *dir)
void write()
write to the TFile, in plain ROOT mode. No need to call this function in DQM mode ...
TH2F * book2D(const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax)
book a 2D histogram, either with DQM or plain root.
void setParameters(Mode mode)
Benchmark(Mode mode=DEFAULT)
void setRange(float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax)
bool isInRange(float pt, float eta, float phi) const
TH1F * book1D(const char *histname, const char *title, int nbins, float xmin, float xmax)
book a 1D histogram, either with DQM or plain root.