Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:35

0001 #ifndef DQM_SiStripCommissioningSources_CalibrationScanTask_h
0002 #define DQM_SiStripCommissioningSources_CalibrationScanTask_h
0003 
0004 #include "DQM/SiStripCommissioningSources/interface/CommissioningTask.h"
0005 #include <string>
0006 
0007 class SiStripPedestals;
0008 
0009 /**
0010    @class CalibrationScanTask
0011 */
0012 class CalibrationScanTask : public CommissioningTask {
0013 public:
0014   CalibrationScanTask(DQMStore*,
0015                       const FedChannelConnection&,
0016                       const sistrip::RunType&,
0017                       const char* filename,
0018                       uint32_t run,
0019                       const SiStripPedestals& pedestals);
0020   ~CalibrationScanTask() override;
0021   void setCurrentFolder(const std::string&);
0022 
0023 private:
0024   void book() override;
0025   void fill(const SiStripEventSummary&, const edm::DetSet<SiStripRawDigi>&) override;
0026   void update() override;
0027 
0028   sistrip::RunType runType_;
0029   std::map<std::string, HistoSet> calib1_, calib2_;
0030 
0031   uint16_t nBins_;
0032   uint32_t lastISHA_, lastVFS_, lastCalChan_, lastCalSel_, lastLatency_;
0033   std::vector<uint16_t> ped;
0034   std::string extrainfo_;
0035   std::string directory_;
0036   uint32_t run_;
0037 };
0038 
0039 #endif  // DQM_SiStripCommissioningSources_CalibrationScanTask_h