CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFMETMonitor.h
Go to the documentation of this file.
1 #ifndef DQMOffline_PFTau_PFMETMonitor_h
2 #define DQMOffline_PFTau_PFMETMonitor_h
3 
9 
10 #include <vector>
11 class PFMETMonitor : public Benchmark {
12 
13  public:
14 
16 
17  virtual ~PFMETMonitor();
18 
20  void setParameters(Benchmark::Mode mode, float ptmin, float ptmax, float etamin,
21  float etamax, float phimin, float phimax, bool metSpHistos);
22 
25 
27  void setDirectory(TDirectory* dir);
28 
30  void setup();
31 
33  void setup(const edm::ParameterSet & parameterSet);
34 
35  void fillOne(const reco::MET& met,
36  const reco::MET& matchedMet, float& minVal, float& maxVal);
37 
38  void fillOne(const reco::MET& met,
39  const reco::MET& matchedMet, float& minVal, float& maxVal,
40  const edm::ParameterSet & parameterSet);
41 
42  protected:
43  TH1F* px_;
44  TH1F* sumEt_;
45  TH1F* delta_ex_;
49 
53 
57 
58 
61 
64 };
65 #endif
TH1F * sumEt_
Definition: PFMETMonitor.h:44
TProfile * profile_delta_ex_VS_set_
Definition: PFMETMonitor.h:50
void setParameters(Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool metSpHistos)
set the parameters locally
Definition: PFMETMonitor.cc:67
void setDirectory(TDirectory *dir)
set directory (to use in ROOT)
TProfile * profileRMS_delta_set_VS_set_
Definition: PFMETMonitor.h:55
TProfile * profile_delta_set_VS_set_
Definition: PFMETMonitor.h:51
To plot Candidate quantities.
tuple met
____________________________________________________________________________||
Definition: CaloMET_cfi.py:7
To plot Candidate quantities.
TH2F * delta_ex_VS_set_
Definition: PFMETMonitor.h:46
TH2F * delta_set_VS_set_
Definition: PFMETMonitor.h:47
abstract base class
Definition: Benchmark.h:21
bool histogramBooked_
Definition: PFMETMonitor.h:63
TH1F * delta_ex_
Definition: PFMETMonitor.h:45
TProfile * profileRMS_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:56
TProfile * profileRMS_delta_ex_VS_set_
Definition: PFMETMonitor.h:54
Definition: MET.h:32
PFMETMonitor(Benchmark::Mode mode=Benchmark::DEFAULT)
Definition: PFMETMonitor.cc:17
CandidateBenchmark candBench_
Definition: PFMETMonitor.h:59
void fillOne(const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal)
virtual ~PFMETMonitor()
Definition: PFMETMonitor.cc:44
TH2F * delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:48
bool createMETSpecificHistos_
Definition: PFMETMonitor.h:62
TProfile * profile_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:52
double ptmin
Definition: HydjetWrapper.h:85
dbl *** dir
Definition: mlp_gen.cc:35
void setup()
book histograms
MatchCandidateBenchmark matchCandBench_
Definition: PFMETMonitor.h:60
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11