CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros
GenericBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/GenericBenchmark.h"
#include "RecoParticleFlow/Benchmark/interface/BenchmarkTree.h"
#include <TROOT.h>
#include <TFile.h>

Go to the source code of this file.

Macros

#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)
 

Macro Definition 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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

Definition at line 11 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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

Definition at line 16 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)"

Definition at line 29 of file GenericBenchmark.cc.

Referenced by kinem::delta_phi(), kinem::phi(), and GenericBenchmark::setup().

#define SETAXES (   name,
  xtitle,
  ytitle 
)
Value:
h##name->GetXaxis()->SetTitle(xtitle); \
h##name->GetYaxis()->SetTitle(ytitle)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

Definition at line 23 of file GenericBenchmark.cc.

Referenced by GenericBenchmark::setup().