CMS 3D CMS Logo

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

◆ BOOK1D

#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: DQM.py:1
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().

◆ BOOK2D

#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: DQM.py:1
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().

◆ ET

#define ET   (PlotAgainstReco_) ? "reconstructed E_{T} [GeV]" : "generated E_{T} [GeV]"

◆ ETA

#define ETA   (PlotAgainstReco_) ? "reconstructed #eta" : "generated #eta"

◆ PHI

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

◆ SETAXES

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