00001 #ifndef compareRingSums_h 00002 #define compareRingSums_h 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h" 00006 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h" 00007 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDAnalyzer.h" 00010 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 00016 #include "FWCore/Utilities/interface/InputTag.h" 00017 00018 #include "TH2.h" 00019 #include "TH1.h" 00020 00021 #include "L1Trigger/L1GctAnalyzer/interface/GctErrorAnalyzerDefinitions.h" 00022 00023 class compareRingSums { 00024 public: 00025 compareRingSums(const edm::Handle<L1GctHFRingEtSumsCollection> &data, const edm::Handle<L1GctHFRingEtSumsCollection> &emu, const GctErrorAnalyzerMBxInfo &mbxparams); 00026 ~compareRingSums(); 00027 00028 bool doCompare(TH1I *errorFlag_hist_); 00029 00030 private: 00031 edm::Handle<L1GctHFRingEtSumsCollection> data_, emu_; 00032 GctErrorAnalyzerMBxInfo mbxparams_; 00033 00034 }; 00035 00036 #endif