Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:32

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