Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:12

0001 #ifndef compareRingSums_h
0002 #define compareRingSums_h
0003 
0004 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0005 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0006 
0007 #include "DataFormats/Common/interface/Handle.h"
0008 
0009 #include "TH2.h"
0010 #include "TH1.h"
0011 
0012 #include "L1Trigger/L1GctAnalyzer/interface/GctErrorAnalyzerDefinitions.h"
0013 
0014 class compareRingSums {
0015 public:
0016   compareRingSums(const edm::Handle<L1GctHFRingEtSumsCollection> &data,
0017                   const edm::Handle<L1GctHFRingEtSumsCollection> &emu,
0018                   const GctErrorAnalyzerMBxInfo &mbxparams);
0019   ~compareRingSums();
0020 
0021   bool doCompare(TH1I *errorFlag_hist_);
0022 
0023 private:
0024   edm::Handle<L1GctHFRingEtSumsCollection> data_, emu_;
0025   GctErrorAnalyzerMBxInfo mbxparams_;
0026 };
0027 
0028 #endif