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(DQMStore::IBooker& b);
31  void setup(DQMStore::IBooker& b, const edm::ParameterSet & parameterSet);
32 
33  void fillOne(const reco::MET& met, const reco::MET& matchedMet,
34  float& minVal, float& maxVal);
35 
36  void fillOne(const reco::MET& met, const reco::MET& matchedMet,
37  float& minVal, float& maxVal,
38  const edm::ParameterSet & parameterSet);
39 
40  protected:
41  TH1F* px_;
42  TH1F* sumEt_;
43  TH1F* delta_ex_;
47 
51 
55 
56 
59 
62 };
63 #endif
TH1F * sumEt_
Definition: PFMETMonitor.h:42
TProfile * profile_delta_ex_VS_set_
Definition: PFMETMonitor.h:48
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:73
void setDirectory(TDirectory *dir)
set directory (to use in ROOT)
TProfile * profileRMS_delta_set_VS_set_
Definition: PFMETMonitor.h:53
TProfile * profile_delta_set_VS_set_
Definition: PFMETMonitor.h:49
To plot Candidate quantities.
To plot Candidate quantities.
TH2F * delta_ex_VS_set_
Definition: PFMETMonitor.h:44
TH2F * delta_set_VS_set_
Definition: PFMETMonitor.h:45
abstract base class
Definition: Benchmark.h:22
bool histogramBooked_
Definition: PFMETMonitor.h:61
TH1F * delta_ex_
Definition: PFMETMonitor.h:43
TProfile * profileRMS_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:54
TProfile * profileRMS_delta_ex_VS_set_
Definition: PFMETMonitor.h:52
Definition: MET.h:42
PFMETMonitor(Benchmark::Mode mode=Benchmark::DEFAULT)
Definition: PFMETMonitor.cc:18
CandidateBenchmark candBench_
Definition: PFMETMonitor.h:57
void fillOne(const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal)
virtual ~PFMETMonitor()
Definition: PFMETMonitor.cc:47
TH2F * delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:46
bool createMETSpecificHistos_
Definition: PFMETMonitor.h:60
double b
Definition: hdecay.h:120
TProfile * profile_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:50
double ptmin
Definition: HydjetWrapper.h:90
dbl *** dir
Definition: mlp_gen.cc:35
void setup(DQMStore::IBooker &b)
book histograms
MatchCandidateBenchmark matchCandBench_
Definition: PFMETMonitor.h:58
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11