CMS 3D CMS Logo

Macros
PFTauElecRejectionBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/PFTauElecRejectionBenchmark.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 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 = db_ ? db_->book1D(#name,title,nbinsx,lowx,highx)->getTH1F() \
: new TH1F(#name,title,nbinsx,lowx,highx)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.

Definition at line 4 of file PFTauElecRejectionBenchmark.cc.

Referenced by PFTauElecRejectionBenchmark::setup().

#define BOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)
Value:
h##name = db_ ? db_->book2D(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)->getTH2F() \
: new TH2F(#name,title,nbinsx,lowx,highx,nbinsy,lowy,highy)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.

Definition at line 9 of file PFTauElecRejectionBenchmark.cc.

Referenced by PFTauElecRejectionBenchmark::setup().

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

Definition at line 15 of file PFTauElecRejectionBenchmark.cc.

Referenced by PFTauElecRejectionBenchmark::setup().