CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTBCalo/HcalPlotter/src/HcalQLPlotAnalAlgos.h

Go to the documentation of this file.
00001 #ifndef PlotAllAnalAlgos_included
00002 #define PlotAllAnalAlgos_included 1
00003 
00004 // user include files
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
00007 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
00008 #include "DataFormats/HcalDigi/interface/HcalCalibDataFrame.h"
00009 #include "TBDataFormats/HcalTBObjects/interface/HcalTBTriggerData.h"
00010 #include "RecoTBCalo/HcalPlotter/src/HcalQLPlotHistoMgr.h"
00011 #include "TFile.h"
00012 
00013 //
00014 // class declaration
00015 //
00016 
00017 class HcalQLPlotAnalAlgos {
00018 public:
00019   HcalQLPlotAnalAlgos(const char *outputFilename,
00020                    edm::ParameterSet histoParams);
00021 
00022   void end(void);
00023   void SetEventType(const HcalTBTriggerData& trigd) ;
00024   void processRH(const HBHERecHitCollection& hbherhc,
00025                  const HBHEDigiCollection& hbhedgc);
00026   void processRH(const HORecHitCollection& horhc,
00027                  const HODigiCollection& hodgc);
00028   void processRH(const HFRecHitCollection& hfrhc,
00029                  const HFDigiCollection& hfdgc);
00030   void processDigi(const HBHEDigiCollection& hbhedigic);
00031   void processDigi(const HODigiCollection& hodigic);
00032   void processDigi(const HFDigiCollection& hfdigic);
00033   void processDigi(const HcalCalibDigiCollection& calibdigic,double calibFC2GeV);
00034 
00035 private:
00036   HcalCalibRecHit recoCalib(const HcalCalibDataFrame& cdigi,
00037                             double calibFC2GeV);
00038 
00039   // ----------member data ---------------------------
00040   HcalQLPlotHistoMgr::EventType triggerID_;
00041   HcalQLPlotHistoMgr *histos_;
00042   TFile              *mf_;
00043 };
00044 
00045 #endif // HcalQLPlotAnalAlgos_included