Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:09

0001 #ifndef RecoParticleFlow_Benchmark_MatchMETBenchmark_h
0002 #define RecoParticleFlow_Benchmark_MatchMETBenchmark_h
0003 
0004 #include "DQMOffline/PFTau/interface/Benchmark.h"
0005 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0006 #include "DataFormats/METReco/interface/METFwd.h"
0007 
0008 // integrate and check your benchmarks in PFRootEvent (take PFCandidateManager
0009 // as an example)
0010 
0011 // remove the old benchmarks from these 2 packages (Validation and PFRootEvent)
0012 // (python files, C++ code, ...)
0013 class MatchMETBenchmark : public Benchmark {
0014 public:
0015   MatchMETBenchmark(Mode mode) : Benchmark(mode) {}
0016   ~MatchMETBenchmark() override;
0017 
0018   /// book histograms
0019   void setup(DQMStore::IBooker &b);
0020 
0021   /// fill histograms with a given particle
0022   void fillOne(const reco::MET &candidate, const reco::MET &matchedCandidate);
0023 
0024 protected:
0025   // next 3: add to MatchCandidateBenchmark?
0026 
0027   TH2F *delta_et_VS_et_;
0028   TH2F *delta_et_Over_et_VS_et_;
0029 
0030   TH2F *delta_phi_VS_et_;
0031 
0032   TH1F *delta_ex_;
0033 
0034   // True and Rec: remove. remove the following histo?
0035   TH2F *RecEt_VS_TrueEt_;
0036   TH2F *delta_set_VS_set_;
0037   TH2F *delta_set_Over_set_VS_set_;
0038   TH2F *delta_ex_VS_set_;
0039 
0040   // remove the following histo?
0041   TH2F *RecSet_Over_TrueSet_VS_TrueSet_;
0042 };
0043 
0044 #endif