Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DQM_SiStripCommissioningSources_DaqScopeModeTask_h
0002 #define DQM_SiStripCommissioningSources_DaqScopeModeTask_h
0003 
0004 #include "DQM/SiStripCommissioningSources/interface/CommissioningTask.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
0007 #include "DataFormats/Common/interface/DetSetVectorNew.h"
0008 
0009 /**
0010    @class DaqScopeModeTask
0011 */
0012 class DaqScopeModeTask : public CommissioningTask {
0013 public:
0014   DaqScopeModeTask(DQMStore*, const FedChannelConnection&, const edm::ParameterSet&);
0015   ~DaqScopeModeTask() override;
0016 
0017 private:
0018   void book() override;
0019 
0020   void fill(const SiStripEventSummary&, const edm::DetSet<SiStripRawDigi>&) override;
0021 
0022   void fill(const SiStripEventSummary&,
0023             const edm::DetSet<SiStripRawDigi>&,
0024             const edm::DetSet<SiStripRawDigi>&) override;
0025 
0026   void fill(const SiStripEventSummary&,
0027             const edm::DetSet<SiStripRawDigi>&,
0028             const edm::DetSet<SiStripRawDigi>&,
0029             const std::vector<uint16_t>&) override;
0030 
0031   void update() override;
0032 
0033   // scope mode frame for each channel
0034   HistoSet scopeFrame_;
0035 
0036   // Pedestal and common mode
0037   std::vector<HistoSet> peds_;
0038   std::vector<HistoSet> cm_;
0039 
0040   // Low and High of Header
0041   HistoSet lowHeader_;
0042   HistoSet highHeader_;
0043 
0044   uint16_t nBins_;
0045   uint16_t nBinsSpy_;
0046 
0047   /// parameters useful for the spy
0048   edm::ParameterSet parameters_;
0049 };
0050 
0051 #endif  // DQM_SiStripCommissioningSources_DaqScopeModeTask_h