17 findingRecord<Phase2TrackerCablingRcd>();
18 edm::LogVerbatim(
"Phase2TrackerCabling") <<
"[Phase2TrackerCablingCfgESSource::" << __func__ <<
"]" 19 <<
" Constructing object...";
25 edm::LogVerbatim(
"Phase2TrackerCabling") <<
"[Phase2TrackerCablingCfgESSource::" << __func__ <<
"]" 26 <<
" Destructing object...";
32 edm::LogVerbatim(
"Phase2TrackerCabling") <<
"[Phase2TrackerCablingCfgESSource::" << __func__ <<
"]" 33 <<
" Building FED cabling map from cfg.";
35 std::vector<Phase2TrackerModule> conns;
39 uint32_t
detid, gbtid,
fedid, fedch, powerGroup, coolingLoop;
40 for (std::vector<edm::ParameterSet>::const_iterator
it =
modules.begin();
it <
modules.end(); ++
it) {
41 detid =
it->getParameter<uint32_t>(
"detid");
42 gbtid =
it->getParameter<uint32_t>(
"gbtid");
43 fedid =
it->getParameter<uint32_t>(
"fedid");
44 fedch =
it->getParameter<uint32_t>(
"fedch");
45 powerGroup =
it->getParameter<uint32_t>(
"powerGroup");
46 coolingLoop =
it->getParameter<uint32_t>(
"coolingLoop");
Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &) override
Log< level::Info, true > LogVerbatim
~Phase2TrackerCablingCfgESSource() override
Phase2TrackerCablingCfgESSource(const edm::ParameterSet &)
VParameterSet const & getParameterSetVector(std::string const &name) const