CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
MatchCandidateBenchmark Class Reference

To plot Candidate quantities. More...

#include <MatchCandidateBenchmark.h>

Inheritance diagram for MatchCandidateBenchmark:
Benchmark

Public Member Functions

void fillOne (const reco::Candidate &candidate, const reco::Candidate &matchedCandidate)
 fill histograms with a given particle More...
 
void fillOne (const reco::Candidate &candidate, const reco::Candidate &matchedCandidate, const edm::ParameterSet &parameterSet)
 
 MatchCandidateBenchmark (Mode mode)
 
void setup (DQMStore::IBooker &b)
 book histograms More...
 
void setup (DQMStore::IBooker &b, const edm::ParameterSet &parameterSet)
 
virtual ~MatchCandidateBenchmark ()
 
- Public Member Functions inherited from Benchmark
 Benchmark (Mode mode=DEFAULT)
 
bool isInRange (float pt, float eta, float phi) const
 
virtual void setDirectory (TDirectory *dir)
 
void setParameters (Mode mode)
 
void setRange (float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax)
 
void write ()
 write to the TFile, in plain ROOT mode. No need to call this function in DQM mode More...
 
virtual ~Benchmark ()
 

Protected Attributes

TH2F * BRdelta_et_Over_et_VS_et_
 
std::vector< TH1F * > BRpTRes_
 
TH2F * delta_et_Over_et_VS_et_
 
TH2F * delta_et_VS_et_
 
TH2F * delta_eta_VS_et_
 
TH2F * delta_phi_VS_et_
 
TH2F * ERdelta_et_Over_et_VS_et_
 
std::vector< TH1F * > ERpTRes_
 
bool histogramBooked_
 
std::vector< TH1F * > pTRes_
 
- Protected Attributes inherited from Benchmark
TDirectory * dir_
 
float etaMax_
 
float etaMin_
 
Mode mode_
 
float phiMax_
 
float phiMin_
 
float ptMax_
 
float ptMin_
 

Additional Inherited Members

- Public Types inherited from Benchmark
enum  Mode { DEFAULT, DQMOFFLINE, VALIDATION }
 
- Protected Member Functions inherited from Benchmark
TH1F * book1D (DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax)
 book a 1D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More...
 
TH2F * book2D (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax)
 book a 2D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More...
 
TH2F * book2D (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float *xbins, int nbinsy, float ymin, float ymax)
 book a 2D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More...
 
TProfile * bookProfile (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float xmin, float xmax, float ymin, float ymax, const char *option)
 book a TProfile histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More...
 
TProfile * bookProfile (DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float *xbins, float ymin, float ymax, const char *option)
 book a TProfile histogram, either with DQM or plain root depending if DQM_ has been initialized in a child analyzer or not. More...
 

Detailed Description

To plot Candidate quantities.

Definition at line 13 of file MatchCandidateBenchmark.h.

Constructor & Destructor Documentation

MatchCandidateBenchmark::MatchCandidateBenchmark ( Mode  mode)

Definition at line 17 of file MatchCandidateBenchmark.cc.

MatchCandidateBenchmark::~MatchCandidateBenchmark ( )
virtual

Definition at line 32 of file MatchCandidateBenchmark.cc.

Member Function Documentation

void MatchCandidateBenchmark::fillOne ( const reco::Candidate candidate,
const reco::Candidate matchedCandidate 
)

fill histograms with a given particle

Definition at line 268 of file MatchCandidateBenchmark.cc.

Referenced by PFJetMonitor::fill(), and PFCandidateManager::fill().

void MatchCandidateBenchmark::fillOne ( const reco::Candidate candidate,
const reco::Candidate matchedCandidate,
const edm::ParameterSet parameterSet 
)

Definition at line 300 of file MatchCandidateBenchmark.cc.

void MatchCandidateBenchmark::setup ( DQMStore::IBooker b)

book histograms

Definition at line 35 of file MatchCandidateBenchmark.cc.

void MatchCandidateBenchmark::setup ( DQMStore::IBooker b,
const edm::ParameterSet parameterSet 
)

Definition at line 127 of file MatchCandidateBenchmark.cc.

Member Data Documentation

TH2F* MatchCandidateBenchmark::BRdelta_et_Over_et_VS_et_
protected

Definition at line 40 of file MatchCandidateBenchmark.h.

std::vector<TH1F*> MatchCandidateBenchmark::BRpTRes_
protected

Definition at line 43 of file MatchCandidateBenchmark.h.

TH2F* MatchCandidateBenchmark::delta_et_Over_et_VS_et_
protected

Definition at line 35 of file MatchCandidateBenchmark.h.

TH2F* MatchCandidateBenchmark::delta_et_VS_et_
protected

Definition at line 36 of file MatchCandidateBenchmark.h.

TH2F* MatchCandidateBenchmark::delta_eta_VS_et_
protected

Definition at line 37 of file MatchCandidateBenchmark.h.

TH2F* MatchCandidateBenchmark::delta_phi_VS_et_
protected

Definition at line 38 of file MatchCandidateBenchmark.h.

TH2F* MatchCandidateBenchmark::ERdelta_et_Over_et_VS_et_
protected

Definition at line 41 of file MatchCandidateBenchmark.h.

std::vector<TH1F*> MatchCandidateBenchmark::ERpTRes_
protected

Definition at line 44 of file MatchCandidateBenchmark.h.

bool MatchCandidateBenchmark::histogramBooked_
protected

Definition at line 46 of file MatchCandidateBenchmark.h.

std::vector<TH1F*> MatchCandidateBenchmark::pTRes_
protected

Definition at line 42 of file MatchCandidateBenchmark.h.