1 #ifndef RecoParticleFlow_Benchmark_Benchmark_h
2 #define RecoParticleFlow_Benchmark_Benchmark_h
71 TH1F*
book1D(
const char* histname,
const char*
title,
75 TH2F*
book2D(
const char* histname,
const char*
title,
77 int nbinsy,
float ymin,
float ymax );
80 TH2F*
book2D(
const char* histname,
const char*
title,
81 int nbinsx,
float*
xbins,
82 int nbinsy,
float ymin,
float ymax );
87 float ymin,
float ymax,
const char* option );
91 int nbinsx,
float*
xbins,
92 float ymin,
float ymax,
const char* option );
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
TProfile * bookProfile(const char *histname, const char *title, int nbinsx, float xmin, float xmax, float ymin, float ymax, const char *option)
book a TProfile histogram, either with DQM or plain root.
TH1F * book1D(const char *histname, const char *title, int nbins, float xmin, float xmax)
book a 1D histogram, either with DQM or plain root.