00001 #ifndef compareBitCounts_h 00002 #define compareBitCounts_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 compareBitCounts { 00024 public: 00025 compareBitCounts(const edm::Handle<L1GctHFBitCountsCollection> &data, const edm::Handle<L1GctHFBitCountsCollection> &emu, const GctErrorAnalyzerMBxInfo &mbxparams); 00026 ~compareBitCounts(); 00027 00028 bool doCompare(TH1I *errorFlag_hist_); 00029 00030 private: 00031 edm::Handle<L1GctHFBitCountsCollection> data_, emu_; 00032 GctErrorAnalyzerMBxInfo mbxparams_; 00033 00034 }; 00035 00036 #endif