CMS 3D CMS Logo

PFJetBenchmark.cc File Reference

#include "RecoParticleFlow/Benchmark/interface/PFJetBenchmark.h"

Go to the source code of this file.

Defines

#define BOOK1D(name, title, nbinsx, lowx, highx)
#define BOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)
#define DBOOK1D(name, title, nbinsx, lowx, highx)   BOOK1D(B##name,"Barrel "#title,nbinsx,lowx,highx); BOOK1D(E##name,"Endcap "#title,nbinsx,lowx,highx);
#define DBOOK2D(name, title, nbinsx, lowx, highx, nbinsy, lowy, highy)   BOOK2D(B##name,"Barrel "#title,nbinsx,lowx,highx,nbinsy,lowy,highy); BOOK2D(E##name,"Endcap "#title,nbinsx,lowx,highx,nbinsy,lowy,highy);
#define DSETAXES(name, xtitle, ytitle)   SETAXES(B##name,xtitle,ytitle);SETAXES(E##name,xtitle,ytitle)
#define PT   (plotAgainstReco_)?"reconstructed P_{T}" :"generated P_{T}"
#define SETAXES(name, xtitle, ytitle)   h##name->GetXaxis()->SetTitle(xtitle); h##name->GetYaxis()->SetTitle(ytitle)


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

Definition at line 5 of file PFJetBenchmark.cc.

#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 10 of file PFJetBenchmark.cc.

#define DBOOK1D ( name,
title,
nbinsx,
lowx,
highx   )     BOOK1D(B##name,"Barrel "#title,nbinsx,lowx,highx); BOOK1D(E##name,"Endcap "#title,nbinsx,lowx,highx);

Definition at line 15 of file PFJetBenchmark.cc.

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

Definition at line 17 of file PFJetBenchmark.cc.

#define DSETAXES ( name,
xtitle,
ytitle   )     SETAXES(B##name,xtitle,ytitle);SETAXES(E##name,xtitle,ytitle)

Definition at line 26 of file PFJetBenchmark.cc.

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

Definition at line 32 of file PFJetBenchmark.cc.

Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), VisMuon::analyze(), VisMET::analyze(), and VisTrack::analyze().

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

Definition at line 22 of file PFJetBenchmark.cc.


Generated on Tue Jun 9 17:55:30 2009 for CMSSW by  doxygen 1.5.4