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

#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.
virtual TH1F * getTH1F() const
dqm::legacy::DQMStore * dbe_
MonitorElement * book1D(char_string const &name, char_string const &title, int const nchX, double const lowX, double const highX)
Book 1D histogram.
Definition: DQMStore.cc:1121

Definition at line 4 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.
virtual TH2F * getTH2F() const
MonitorElement * book2D(char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1178
dqm::legacy::DQMStore * dbe_

Definition at line 9 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().

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

Definition at line 23 of file PFMETBenchmark.cc.

#define SETAXES (   name,
  xtitle,
  ytitle 
)
Value:
h##name->GetXaxis()->SetTitle(xtitle); \
h##name->GetYaxis()->SetTitle(ytitle)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.

Definition at line 15 of file PFMETBenchmark.cc.

Referenced by PFMETBenchmark::setup().