CMS 3D CMS Logo

Defines

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoParticleFlow/Benchmark/src/GenericBenchmark.cc File Reference

#include "RecoParticleFlow/Benchmark/interface/GenericBenchmark.h"
#include "RecoParticleFlow/Benchmark/interface/BenchmarkTree.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <TROOT.h>
#include <TFile.h>

Go to the source code of this file.

Defines

#define BOOK1D(name, title, nbinsx, lowx, highx)
#define BOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
#define ET   (PlotAgainstReco_)?"reconstructed E_{T} [GeV]":"generated E_{T} [GeV]"
#define ETA   (PlotAgainstReco_)?"reconstructed #eta":"generated #eta"
#define PHI   (PlotAgainstReco_)?"reconstructed #phi (rad)":"generated #phi (rad)"
#define SETAXES(name, xtitle, ytitle)   h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)

Define Documentation

#define BOOK1D (   name,
  title,
  nbinsx,
  lowx,
  highx 
)
Value:
h##name = DQM ? DQM->book1D(#name,title,nbinsx,lowx,highx)->getTH1F() \
    : new TH1F(#name,title,nbinsx,lowx,highx)

Definition at line 15 of file GenericBenchmark.cc.

Referenced by GenericBenchmark::setup().

#define BOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)
Value:
h##name = DQM ? DQM->book2D(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)->getTH2F() \
    : new TH2F(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)

Definition at line 20 of file GenericBenchmark.cc.

Referenced by GenericBenchmark::setup().

#define ET   (PlotAgainstReco_)?"reconstructed E_{T} [GeV]":"generated E_{T} [GeV]"
#define ETA   (PlotAgainstReco_)?"reconstructed #eta":"generated #eta"
#define PHI   (PlotAgainstReco_)?"reconstructed #phi (rad)":"generated #phi (rad)"
#define SETAXES (   name,
  xtitle,
  ytitle 
)    h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)

Definition at line 28 of file GenericBenchmark.cc.

Referenced by GenericBenchmark::setup().