Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:17

0001 #ifndef PlotAllAnalAlgos_included
0002 #define PlotAllAnalAlgos_included 1
0003 
0004 // user include files
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
0007 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0008 #include "DataFormats/HcalDigi/interface/HcalCalibDataFrame.h"
0009 #include "TBDataFormats/HcalTBObjects/interface/HcalTBTriggerData.h"
0010 #include "RecoTBCalo/HcalPlotter/src/HcalQLPlotHistoMgr.h"
0011 #include "TFile.h"
0012 
0013 //
0014 // class declaration
0015 //
0016 
0017 class HcalQLPlotAnalAlgos {
0018 public:
0019   HcalQLPlotAnalAlgos(const char* outputFilename, const edm::ParameterSet& histoParams);
0020 
0021   void end(void);
0022   void SetEventType(const HcalTBTriggerData& trigd);
0023   void processRH(const HBHERecHitCollection& hbherhc, const HBHEDigiCollection& hbhedgc);
0024   void processRH(const HORecHitCollection& horhc, const HODigiCollection& hodgc);
0025   void processRH(const HFRecHitCollection& hfrhc, const HFDigiCollection& hfdgc);
0026   void processDigi(const HBHEDigiCollection& hbhedigic);
0027   void processDigi(const HODigiCollection& hodigic);
0028   void processDigi(const HFDigiCollection& hfdigic);
0029   void processDigi(const HcalCalibDigiCollection& calibdigic, double calibFC2GeV);
0030 
0031 private:
0032   HcalCalibRecHit recoCalib(const HcalCalibDataFrame& cdigi, double calibFC2GeV);
0033 
0034   // ----------member data ---------------------------
0035   HcalQLPlotHistoMgr::EventType triggerID_;
0036   HcalQLPlotHistoMgr* histos_;
0037   TFile* mf_;
0038 };
0039 
0040 #endif  // HcalQLPlotAnalAlgos_included