CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DQM/SiStripCommissioningSources/interface/CalibrationTask.h

Go to the documentation of this file.
00001 #ifndef DQM_SiStripCommissioningSources_CalibrationTask_h
00002 #define DQM_SiStripCommissioningSources_CalibrationTask_h
00003 
00004 #include "DQM/SiStripCommissioningSources/interface/CommissioningTask.h"
00005 #include <string>
00006 
00010 class CalibrationTask : public CommissioningTask {
00011 
00012  public:
00013   
00014   CalibrationTask( DQMStore*, const FedChannelConnection&, const sistrip::RunType&, 
00015                    const char* filename, uint32_t run, const edm::EventSetup& setup );
00016   virtual ~CalibrationTask();
00017   
00018  private:
00019 
00020   virtual void book();
00021   virtual void fill( const SiStripEventSummary&,
00022                      const edm::DetSet<SiStripRawDigi>& );
00023   virtual void update();
00024   void checkAndSave(const uint16_t&);
00025   void directory( std::stringstream&,
00026                   uint32_t run_number = 0 );
00027 
00028   sistrip::RunType runType_;
00029   
00030   std::vector<HistoSet> calib_;
00031 
00032   uint16_t nBins_;
00033   uint16_t lastCalChan_;
00034   std::string filename_;
00035   std::vector<uint16_t> ped;
00036   uint32_t run_;
00037   MonitorElement* calchanElement_;
00038 };
00039 
00040 #endif // DQM_SiStripCommissioningSources_CalibrationTask_h
00041