CMS 3D CMS Logo

SiStripFedCablingBuilderFromDb.h
Go to the documentation of this file.
1 
2 #ifndef OnlineDB_SiStripESSources_SiStripFedCablingBuilderFromDb_H
3 #define OnlineDB_SiStripESSources_SiStripFedCablingBuilderFromDb_H
4 
8 #include <vector>
9 #include <string>
10 #include <cstdint>
11 
13 class SiStripFedCabling;
14 class SiStripFecCabling;
15 class SiStripConfigDb;
16 class TkDcuInfo;
17 
19 public:
20  // -------------------- Constructors, destructors --------------------
21 
24 
25  // -------------------- Methods to build FED cabling --------------------
26 
29 
30  // -------------------- Convert b/w FED and FEC cabling --------------------
31 
35 
38  static void getFecCabling(const SiStripFedCabling& in, SiStripFecCabling& out);
39 
40  // -------------------- Methods to build FEC cabling --------------------
41 
46 
51 
56 
61 
66 
67 protected:
70  const edm::IOVSyncValue&,
71  edm::ValidityInterval&) override;
72 
74  static void assignDcuAndDetIds(SiStripFecCabling&, const std::vector<std::pair<uint32_t, TkDcuInfo*> >&);
75 
78  virtual void writeFedCablingToCondDb(const SiStripFedCabling&) { ; }
79 
82 
85 };
86 
87 #endif // OnlineDB_SiStripESSources_SiStripFedCablingBuilderFromDb_H
static void buildFecCablingFromDetIds(SiStripConfigDb *const, SiStripFecCabling &)
SiStripFedCablingBuilderFromDb(const edm::ParameterSet &)
static void assignDcuAndDetIds(SiStripFecCabling &, const std::vector< std::pair< uint32_t, TkDcuInfo * > > &)
static void getFecCabling(const SiStripFedCabling &in, SiStripFecCabling &out)
static void buildFecCabling(SiStripConfigDb *const, SiStripFecCabling &, const sistrip::CablingSource &)
An interface class to the DeviceFactory.
virtual void writeFedCablingToCondDb(const SiStripFedCabling &)
Abstract base class for producer of SiStripFedCabling record.
static void getFedCabling(const SiStripFecCabling &in, SiStripFedCabling &out)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
static void buildFecCablingFromFedConnections(SiStripConfigDb *const, SiStripFecCabling &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static void buildFecCablingFromDevices(SiStripConfigDb *const, SiStripFecCabling &)
SiStripFedCabling * make(const SiStripFedCablingRcd &) override