File indexing completed on 2024-04-06 12:08:32
0001
0002 #ifndef DQM_SiStripCommissioningDbClients_SiStripCommissioningOfflineDbClient_H
0003 #define DQM_SiStripCommissioningDbClients_SiStripCommissioningOfflineDbClient_H
0004
0005 #include "Geometry/Records/interface/TrackerTopologyRcd.h"
0006 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0007 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
0008 #include "DQM/SiStripCommissioningClients/interface/SiStripCommissioningOfflineClient.h"
0009 #include "DQM/SiStripCommissioningClients/interface/SiStripTFile.h"
0010
0011 class TrackerTopology;
0012 class TrackerGeometry;
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 class SiStripCommissioningOfflineDbClient : public SiStripCommissioningOfflineClient {
0023 public:
0024 SiStripCommissioningOfflineDbClient(const edm::ParameterSet&);
0025
0026 ~SiStripCommissioningOfflineDbClient() override;
0027
0028 protected:
0029 void createHistos(const edm::ParameterSet&, const edm::EventSetup&) override;
0030
0031 void uploadToConfigDb() override;
0032
0033 private:
0034 bool uploadToDb_;
0035
0036 bool uploadAnal_;
0037
0038 bool uploadConf_;
0039
0040 edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> tTopoToken_;
0041 edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> tkGeomToken_;
0042 };
0043
0044 #endif