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)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:928
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
DQMStore * dbe_
TH1F * getTH1F(void) const

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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
DQMStore * dbe_
TH2F * getTH2F(void) const
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1056

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