00001 #ifndef RecoParticleFlow_Benchmark_MatchMETBenchmark_h 00002 #define RecoParticleFlow_Benchmark_MatchMETBenchmark_h 00003 00004 #include "DQMOffline/PFTau/interface/Benchmark.h" 00005 #include "DataFormats/Candidate/interface/CandidateFwd.h" 00006 #include "DataFormats/METReco/interface/METFwd.h" 00007 00008 // integrate and check your benchmarks in PFRootEvent (take PFCandidateManager as an example) 00009 00010 // remove the old benchmarks from these 2 packages (Validation and PFRootEvent) (python files, C++ code, ...) 00011 class MatchMETBenchmark : public Benchmark { 00012 00013 public: 00014 00015 MatchMETBenchmark(Mode mode) : Benchmark(mode) {} 00016 virtual ~MatchMETBenchmark(); 00017 00019 void setup(); 00020 00022 void fillOne( const reco::MET& candidate, 00023 const reco::MET& matchedCandidate ); 00024 00025 00026 protected: 00027 // next 3: add to MatchCandidateBenchmark? 00028 00029 TH2F* delta_et_VS_et_; 00030 TH2F* delta_et_Over_et_VS_et_; 00031 00032 TH2F* delta_phi_VS_et_; 00033 00034 TH1F* delta_ex_; 00035 00036 // True and Rec: remove. remove the following histo? 00037 TH2F* RecEt_VS_TrueEt_; 00038 TH2F* delta_set_VS_set_; 00039 TH2F* delta_set_Over_set_VS_set_; 00040 TH2F* delta_ex_VS_set_; 00041 00042 // remove the following histo? 00043 TH2F* RecSet_Over_TrueSet_VS_TrueSet_; 00044 00045 }; 00046 00047 #endif