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 at line 11 of file GenericBenchmark.cc.

◆ 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 at line 16 of file GenericBenchmark.cc.

◆ ET

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

Definition at line 27 of file GenericBenchmark.cc.

◆ ETA

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

Definition at line 28 of file GenericBenchmark.cc.

◆ PHI

#define PHI   (PlotAgainstReco_) ? "reconstructed #phi (rad)" : "generated #phi (rad)"

Definition at line 29 of file GenericBenchmark.cc.

◆ SETAXES

#define SETAXES (   name,
  xtitle,
  ytitle 
)
Value:
h##name->GetXaxis()->SetTitle(xtitle); \
h##name->GetYaxis()->SetTitle(ytitle)

Definition at line 23 of file GenericBenchmark.cc.

runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
h
hgcalPlots.xtitle
xtitle
Definition: hgcalPlots.py:93
DQM
Definition: DQM.py:1
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
hgcalPlots.ytitle
ytitle
Definition: hgcalPlots.py:1109