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
PFMETMonitor Class Reference

#include <PFMETMonitor.h>

Inheritance diagram for PFMETMonitor:
Benchmark

Public Member Functions

void fillOne (const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal)
 
void fillOne (const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal, const edm::ParameterSet &parameterSet)
 
 PFMETMonitor (Benchmark::Mode mode=Benchmark::DEFAULT)
 
void setDirectory (TDirectory *dir)
 set directory (to use in ROOT) More...
 
void setParameters (Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool metSpHistos)
 set the parameters locally More...
 
void setParameters (const edm::ParameterSet &parameterSet)
 set the parameters accessing them from ParameterSet More...
 
void setup (DQMStore::IBooker &b)
 book histograms More...
 
void setup (DQMStore::IBooker &b, const edm::ParameterSet &parameterSet)
 
virtual ~PFMETMonitor ()
 
- Public Member Functions inherited from Benchmark
 Benchmark (Mode mode=DEFAULT)
 
bool isInRange (float pt, float eta, float phi) const
 
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

CandidateBenchmark candBench_
 
bool createMETSpecificHistos_
 
TH1F * delta_ex_
 
TH2F * delta_ex_VS_set_
 
TH2F * delta_set_Over_set_VS_set_
 
TH2F * delta_set_VS_set_
 
bool histogramBooked_
 
MatchCandidateBenchmark matchCandBench_
 
TProfile * profile_delta_ex_VS_set_
 
TProfile * profile_delta_set_Over_set_VS_set_
 
TProfile * profile_delta_set_VS_set_
 
TProfile * profileRMS_delta_ex_VS_set_
 
TProfile * profileRMS_delta_set_Over_set_VS_set_
 
TProfile * profileRMS_delta_set_VS_set_
 
TH1F * px_
 
TH1F * sumEt_
 
- 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

Definition at line 11 of file PFMETMonitor.h.

Constructor & Destructor Documentation

PFMETMonitor::PFMETMonitor ( Benchmark::Mode  mode = Benchmark::DEFAULT)

Definition at line 18 of file PFMETMonitor.cc.

PFMETMonitor::~PFMETMonitor ( )
virtual

Definition at line 47 of file PFMETMonitor.cc.

Member Function Documentation

void PFMETMonitor::fillOne ( const reco::MET met,
const reco::MET matchedMet,
float &  minVal,
float &  maxVal 
)

Definition at line 265 of file PFMETMonitor.cc.

Referenced by PFMETDQMAnalyzer::analyze().

void PFMETMonitor::fillOne ( const reco::MET met,
const reco::MET matchedMet,
float &  minVal,
float &  maxVal,
const edm::ParameterSet parameterSet 
)
void PFMETMonitor::setDirectory ( TDirectory *  dir)
virtual

set directory (to use in ROOT)

Reimplemented from Benchmark.

Definition at line 257 of file PFMETMonitor.cc.

void PFMETMonitor::setParameters ( Benchmark::Mode  mode,
float  ptmin,
float  ptmax,
float  etamin,
float  etamax,
float  phimin,
float  phimax,
bool  metSpHistos 
)

set the parameters locally

Definition at line 73 of file PFMETMonitor.cc.

Referenced by PFMETDQMAnalyzer::PFMETDQMAnalyzer().

void PFMETMonitor::setParameters ( const edm::ParameterSet parameterSet)

set the parameters accessing them from ParameterSet

Definition at line 53 of file PFMETMonitor.cc.

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

book histograms

Definition at line 200 of file PFMETMonitor.cc.

Referenced by PFMETDQMAnalyzer::bookHistograms().

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

Definition at line 89 of file PFMETMonitor.cc.

Member Data Documentation

CandidateBenchmark PFMETMonitor::candBench_
protected

Definition at line 57 of file PFMETMonitor.h.

bool PFMETMonitor::createMETSpecificHistos_
protected

Definition at line 60 of file PFMETMonitor.h.

TH1F* PFMETMonitor::delta_ex_
protected

Definition at line 43 of file PFMETMonitor.h.

TH2F* PFMETMonitor::delta_ex_VS_set_
protected

Definition at line 44 of file PFMETMonitor.h.

TH2F* PFMETMonitor::delta_set_Over_set_VS_set_
protected

Definition at line 46 of file PFMETMonitor.h.

TH2F* PFMETMonitor::delta_set_VS_set_
protected

Definition at line 45 of file PFMETMonitor.h.

bool PFMETMonitor::histogramBooked_
protected

Definition at line 61 of file PFMETMonitor.h.

MatchCandidateBenchmark PFMETMonitor::matchCandBench_
protected

Definition at line 58 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profile_delta_ex_VS_set_
protected

Definition at line 48 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profile_delta_set_Over_set_VS_set_
protected

Definition at line 50 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profile_delta_set_VS_set_
protected

Definition at line 49 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profileRMS_delta_ex_VS_set_
protected

Definition at line 52 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profileRMS_delta_set_Over_set_VS_set_
protected

Definition at line 54 of file PFMETMonitor.h.

TProfile* PFMETMonitor::profileRMS_delta_set_VS_set_
protected

Definition at line 53 of file PFMETMonitor.h.

TH1F* PFMETMonitor::px_
protected

Definition at line 41 of file PFMETMonitor.h.

TH1F* PFMETMonitor::sumEt_
protected

Definition at line 42 of file PFMETMonitor.h.