CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
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.

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)   h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(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)
tuple DQM
Definition: DQM_cfg.py:6
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 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)
tuple DQM
Definition: DQM_cfg.py:6
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 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().