1 #ifndef RecoParticleFlow_Benchmark_Benchmark_h 2 #define RecoParticleFlow_Benchmark_Benchmark_h 108 const char *histname,
TH1F * book1D(DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax)
book a 1D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child ...
virtual ~Benchmark() noexcept(false)
dqm::legacy::DQMStore DQMStore
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 ...
void setParameters(Mode mode)
bool isInRange(float pt, float eta, float phi) const
TH2F * book2D(DQMStore::IBooker &b, 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 depending if DQM_ has been initialized in a child ...
Benchmark(Mode mode=DEFAULT)
void setRange(float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax)
TProfile * bookProfile(DQMStore::IBooker &b, 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 depending if DQM_ has been initialized in a ...