CMS 3D CMS Logo

Macros
PFMETBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/PFMETBenchmark.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 PT   (plotAgainstReco_) ? "reconstructed P_{T}" : "generated P_{T}"
 
#define SETAXES(name, xtitle, ytitle)
 

Macro Definition Documentation

◆ BOOK1D

#define BOOK1D (   name,
  title,
  nbinsx,
  lowx,
  highx 
)
Value:
h##name = \
dbe_ ? dbe_->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 4 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().

◆ BOOK2D

#define BOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)
Value:
h##name = dbe_ ? dbe_->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 9 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().

◆ PT

#define PT   (plotAgainstReco_) ? "reconstructed P_{T}" : "generated P_{T}"

Definition at line 23 of file PFMETBenchmark.cc.

◆ 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 15 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().