CMS 3D CMS Logo

HcalTemplateAnalysis.h

Go to the documentation of this file.
00001 #ifndef DQM_HCALMONITORTASKS_HCALTEMPLATEANALYSIS_H
00002 #define DQM_HCALMONITORTASKS_HCALTEMPLATEANALYSYS_H
00003 
00004 #include "DQM/HcalMonitorTasks/interface/HcalBaseMonitor.h"
00005 #include "DataFormats/LTCDigi/interface/LTCDigi.h"
00006 #include "TFile.h"
00007 #include <iostream>
00008 
00016 using namespace std;
00017 
00018 class HcalTemplateAnalysis {
00019 public:
00020   HcalTemplateAnalysis(); 
00021   ~HcalTemplateAnalysis(); 
00022 
00023   void setup(const edm::ParameterSet& ps);
00024   void processEvent(const HBHEDigiCollection& hbhe,
00025                     const HODigiCollection& ho,
00026                     const HFDigiCollection& hf,
00027                     const HBHERecHitCollection& hbHits, 
00028                     const HORecHitCollection& hoHits,
00029                     const HFRecHitCollection& hfHits,
00030                     const LTCDigiCollection& ltc,
00031                     const HcalDbService& cond);
00032   void done();
00033   void reset();
00034 
00035  private:  
00036   
00037   string outputFile_;
00038   double etaMax_, etaMin_, phiMax_, phiMin_;
00039   int etaBins_, phiBins_;
00040 
00041   TH1F* rechitEnergy_HB;
00042   TH1F* rechitTime_HB;
00043   TH1F* rechitEnergy_HF;
00044   TH1F* rechitTime_HF;
00045   TH1F* digiShape;
00046   TH2F* digiOccupancy;  
00047 
00048 };
00049 
00050 #endif

Generated on Tue Jun 9 17:33:00 2009 for CMSSW by  doxygen 1.5.4