Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 #ifndef DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H
0003 #define DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H
0004 
0005 #include "DQM/SiStripCommissioningClients/interface/SamplingHistograms.h"
0006 #include "DQM/SiStripCommissioningDbClients/interface/CommissioningHistosUsingDb.h"
0007 #include "OnlineDB/SiStripConfigDb/interface/SiStripConfigDb.h"
0008 #include <string>
0009 #include <map>
0010 
0011 class LatencyHistosUsingDb : public CommissioningHistosUsingDb, public SamplingHistograms {
0012 public:
0013   LatencyHistosUsingDb(const edm::ParameterSet& pset,
0014                        DQMStore*,
0015                        SiStripConfigDb* const,
0016                        edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> tTopoToken);
0017 
0018   ~LatencyHistosUsingDb() override;
0019 
0020   void uploadConfigurations() override;
0021 
0022   void configure(const edm::ParameterSet&, const edm::EventSetup&) override;
0023 
0024 private:
0025   bool update(SiStripConfigDb::DeviceDescriptionsRange, SiStripConfigDb::FedDescriptionsRange);
0026 
0027   void create(SiStripConfigDb::AnalysisDescriptionsV&, Analysis) override;
0028 
0029   bool perPartition_;
0030 };
0031 
0032 #endif  // DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H