CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
14 
15  ~PFMETMonitor() override;
16 
19  float ptmin,
20  float ptmax,
21  float etamin,
22  float etamax,
23  float phimin,
24  float phimax,
25  bool metSpHistos);
26 
29 
31  void setDirectory(TDirectory *dir) override;
32 
34  void setup(DQMStore::IBooker &b);
35  void setup(DQMStore::IBooker &b, const edm::ParameterSet &parameterSet);
36 
37  void fillOne(const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal);
38 
39  void fillOne(const reco::MET &met,
40  const reco::MET &matchedMet,
41  float &minVal,
42  float &maxVal,
43  const edm::ParameterSet &parameterSet);
44 
45 protected:
46  TH1F *px_;
47  TH1F *sumEt_;
48  TH1F *delta_ex_;
52 
56 
60 
63 
66 };
67 #endif
TH1F * sumEt_
Definition: PFMETMonitor.h:47
TProfile * profile_delta_ex_VS_set_
Definition: PFMETMonitor.h:53
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:63
TProfile * profileRMS_delta_set_VS_set_
Definition: PFMETMonitor.h:58
TProfile * profile_delta_set_VS_set_
Definition: PFMETMonitor.h:54
To plot Candidate quantities.
To plot Candidate quantities.
TH2F * delta_ex_VS_set_
Definition: PFMETMonitor.h:49
TH2F * delta_set_VS_set_
Definition: PFMETMonitor.h:50
abstract base class
Definition: Benchmark.h:19
bool histogramBooked_
Definition: PFMETMonitor.h:65
TH1F * delta_ex_
Definition: PFMETMonitor.h:48
TProfile * profileRMS_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:59
TProfile * profileRMS_delta_ex_VS_set_
Definition: PFMETMonitor.h:57
~PFMETMonitor() override
Definition: PFMETMonitor.cc:41
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
Definition: MET.h:41
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
PFMETMonitor(Benchmark::Mode mode=Benchmark::DEFAULT)
Definition: PFMETMonitor.cc:17
CandidateBenchmark candBench_
Definition: PFMETMonitor.h:61
void fillOne(const reco::MET &met, const reco::MET &matchedMet, float &minVal, float &maxVal)
TH2F * delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:51
bool createMETSpecificHistos_
Definition: PFMETMonitor.h:64
double b
Definition: hdecay.h:118
TProfile * profile_delta_set_Over_set_VS_set_
Definition: PFMETMonitor.h:55
double ptmin
Definition: HydjetWrapper.h:84
void setup(DQMStore::IBooker &b)
book histograms
MatchCandidateBenchmark matchCandBench_
Definition: PFMETMonitor.h:62