CMS 3D CMS Logo

Macros
PFJetBenchmark.cc File Reference
#include "RecoParticleFlow/Benchmark/interface/PFJetBenchmark.h"
#include "RecoParticleFlow/PFTracking/interface/PFTrackAlgoTools.h"
#include "DataFormats/TrackReco/interface/Track.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 DBOOK1D(name, title, nbinsx, lowx, highx)
 
#define DBOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
 
#define DSETAXES(name, xtitle, ytitle)
 
#define P   (plotAgainstReco_) ? "generated P" : "generated P"
 
#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)

Definition at line 7 of file PFJetBenchmark.cc.

◆ 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)

Definition at line 12 of file PFJetBenchmark.cc.

◆ DBOOK1D

#define DBOOK1D (   name,
  title,
  nbinsx,
  lowx,
  highx 
)
Value:
BOOK1D(B##name, "Barrel " #title, nbinsx, lowx, highx); \
BOOK1D(E##name, "Endcap " #title, nbinsx, lowx, highx); \
BOOK1D(F##name, "Forward " #title, nbinsx, lowx, highx);

Definition at line 17 of file PFJetBenchmark.cc.

◆ DBOOK2D

#define DBOOK2D (   name,
  title,
  nbinsx,
  lowx,
  highx,
  nbinsy,
  lowy,
  highy 
)
Value:
BOOK2D(B##name, "Barrel " #title, nbinsx, lowx, highx, nbinsy, lowy, highy); \
BOOK2D(E##name, "Endcap " #title, nbinsx, lowx, highx, nbinsy, lowy, highy); \
BOOK2D(F##name, "Forward " #title, nbinsx, lowx, highx, nbinsy, lowy, highy);

Definition at line 21 of file PFJetBenchmark.cc.

◆ DSETAXES

#define DSETAXES (   name,
  xtitle,
  ytitle 
)
Value:
SETAXES(E##name, xtitle, ytitle); \
SETAXES(F##name, xtitle, ytitle);

Definition at line 33 of file PFJetBenchmark.cc.

◆ P

#define P   (plotAgainstReco_) ? "generated P" : "generated P"

Definition at line 42 of file PFJetBenchmark.cc.

◆ PT

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

Definition at line 41 of file PFJetBenchmark.cc.

◆ SETAXES

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

Definition at line 28 of file PFJetBenchmark.cc.

runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
SETAXES
#define SETAXES(name, xtitle, ytitle)
Definition: PFJetBenchmark.cc:28
dqm::legacy::MonitorElement::getTH1F
virtual TH1F * getTH1F() const
Definition: MonitorElement.h:479
BOOK2D
#define BOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
Definition: PFJetBenchmark.cc:12
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
h
hgcalPlots.xtitle
xtitle
Definition: hgcalPlots.py:94
dbe_
dqm::legacy::DQMStore * dbe_
Definition: PFJetBenchmarkAnalyzer.cc:77
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9
dqm::implementation::IBooker::book2D
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
BOOK1D
#define BOOK1D(name, title, nbinsx, lowx, highx)
Definition: PFJetBenchmark.cc:7
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
hgcalPlots.ytitle
ytitle
Definition: hgcalPlots.py:1110
dqm::legacy::MonitorElement::getTH2F
virtual TH2F * getTH2F() const
Definition: MonitorElement.h:491