00001 #ifndef DQM_SiStripCommissioningSources_CalibrationScanTask_h 00002 #define DQM_SiStripCommissioningSources_CalibrationScanTask_h 00003 00004 #include "DQM/SiStripCommissioningSources/interface/CommissioningTask.h" 00005 #include <string> 00006 00010 class CalibrationScanTask : public CommissioningTask { 00011 00012 public: 00013 00014 CalibrationScanTask( DQMStore*, const FedChannelConnection&, const sistrip::RunType&, 00015 const char* filename, uint32_t run, const edm::EventSetup& setup ); 00016 virtual ~CalibrationScanTask(); 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& isha, const uint16_t& vfs ); 00025 void directory( std::stringstream&, uint32_t run_number = 0 ); 00026 00027 sistrip::RunType runType_; 00028 00029 HistoSet calib1_, calib2_; 00030 00031 uint16_t nBins_; 00032 uint16_t lastISHA_,lastVFS_, lastCalchan_; 00033 std::string filename_; 00034 std::vector<uint16_t> ped; 00035 uint32_t run_; 00036 MonitorElement *ishaElement_, *vfsElement_, *calchanElement_; 00037 00038 }; 00039 00040 #endif // DQM_SiStripCommissioningSources_CalibrationScanTask_h 00041