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 
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
SiStripFecCabling
Definition: SiStripFecCabling.h:24
SiStripFedCablingBuilderFromDb::assignDcuAndDetIds
static void assignDcuAndDetIds(SiStripFecCabling &, const std::vector< std::pair< uint32_t, TkDcuInfo * > > &)
Definition: SiStripFedCablingBuilderFromDb.cc:803
SiStripFedCablingBuilderFromDb::SiStripFedCablingBuilderFromDb
SiStripFedCablingBuilderFromDb(const edm::ParameterSet &)
Definition: SiStripFedCablingBuilderFromDb.cc:21
SiStripFedCablingBuilderFromDb::source_
sistrip::CablingSource source_
Definition: SiStripFedCablingBuilderFromDb.h:84
SiStripFedCablingBuilderFromDb::getFedCabling
static void getFedCabling(const SiStripFecCabling &in, SiStripFedCabling &out)
Definition: SiStripFedCablingBuilderFromDb.cc:1053
edm::ValidityInterval
Definition: ValidityInterval.h:28
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
SiStripFedCablingBuilderFromDb::make
SiStripFedCabling * make(const SiStripFedCablingRcd &) override
Definition: SiStripFedCablingBuilderFromDb.cc:47
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
SiStripFedCablingBuilderFromDb::buildFecCablingFromFedConnections
static void buildFecCablingFromFedConnections(SiStripConfigDb *const, SiStripFecCabling &)
Definition: SiStripFedCablingBuilderFromDb.cc:195
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
SiStripFedCablingBuilderFromDb::db_
SiStripConfigDb * db_
Definition: SiStripFedCablingBuilderFromDb.h:81
SiStripFedCablingRcd
Definition: SiStripCondDataRecords.h:22
SiStripFedCablingBuilderFromDb::buildFecCablingFromDetIds
static void buildFecCablingFromDetIds(SiStripConfigDb *const, SiStripFecCabling &)
Definition: SiStripFedCablingBuilderFromDb.cc:675
SiStripFedCablingBuilderFromDb::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: SiStripFedCablingBuilderFromDb.cc:1069
SiStripConfigDb
An interface class to the DeviceFactory.
Definition: SiStripConfigDb.h:47
SiStripFedCablingBuilderFromDb
Definition: SiStripFedCablingBuilderFromDb.h:18
SiStripFedCablingESProducer
Abstract base class for producer of SiStripFedCabling record.
Definition: SiStripFedCablingESProducer.h:17
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SiStripFedCablingBuilderFromDb::buildFecCabling
static void buildFecCabling(SiStripConfigDb *const, SiStripFecCabling &, const sistrip::CablingSource &)
Definition: SiStripFedCablingBuilderFromDb.cc:99
SiStripFedCablingBuilderFromDb::buildFecCablingFromDevices
static void buildFecCablingFromDevices(SiStripConfigDb *const, SiStripFecCabling &)
Definition: SiStripFedCablingBuilderFromDb.cc:318
SiStripConstants.h
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripFedCablingBuilderFromDb::~SiStripFedCablingBuilderFromDb
~SiStripFedCablingBuilderFromDb() override
Definition: SiStripFedCablingBuilderFromDb.cc:40
SiStripFedCablingBuilderFromDb::writeFedCablingToCondDb
virtual void writeFedCablingToCondDb(const SiStripFedCabling &)
Definition: SiStripFedCablingBuilderFromDb.h:78
recoMuon::in
Definition: RecoMuonEnumerators.h:6
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
SiStripFedCablingBuilderFromDb::getFecCabling
static void getFecCabling(const SiStripFedCabling &in, SiStripFecCabling &out)
Definition: SiStripFedCablingBuilderFromDb.cc:1062
SiStripFedCablingESProducer.h
sistrip::CablingSource
CablingSource
Definition: ConstantsForCablingSource.h:27