CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
PFMETBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/PFMETBenchmark.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.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)   h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)
 

Macro Definition Documentation

#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)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
DQMStore * dbe_

Definition at line 6 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().

#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)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
DQMStore * dbe_

Definition at line 11 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().

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

Definition at line 25 of file PFMETBenchmark.cc.

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

Definition at line 17 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().