18 unsigned int fedId = (theMap.begin())->
first.fed;
22 if (theVersion.find(
"CMSSW_9_0_X") != std::string::npos) {
23 for (
auto &
v : theMap)
24 v.second.initFrameConversionPhase1_CMSSW_9_0_X();
25 std::cout <<
"*** Found CMSSW_9_0_X specific cabling map\n";
30 for (
auto &
v : theMap)
31 v.second.initFrameConversionPhase1();
33 for (
auto &
v : theMap)
34 v.second.initFrameConversion();
78 for (std::vector<const PixelFEDCabling *>::const_iterator ifed =
fedList.begin(); ifed !=
fedList.end(); ifed++) {
79 unsigned int fed = (**ifed).id();
80 unsigned int numLink = (**ifed).numberOfLinks();
90 for (
unsigned int roc = 1;
roc <= numberROC;
roc++) {
105 for (Map::const_iterator im =
theMap.begin(); im !=
theMap.end(); im++) {
107 unsigned int fedId = im->first.fed;
108 unsigned int linkId = im->first.link;
115 std::vector<unsigned int>
result;
116 for (Map::const_iterator im =
theMap.begin(); im !=
theMap.end(); im++) {
117 unsigned int fedId = im->first.fed;
127 Map::const_iterator inMap =
theMap.find(
key);
128 if (inMap !=
theMap.end())
129 roc = &(inMap->second);
134 std::unordered_map<uint32_t, unsigned int>
result;
135 for (
auto im =
theMap.begin(); im !=
theMap.end(); ++im) {
136 result[im->second.rawId()] = im->first.fed;
142 std::map<uint32_t, std::vector<sipixelobjects::CablingPathToDetUnit> >
result;
143 for (
auto im =
theMap.begin(); im !=
theMap.end(); ++im) {
151 std::vector<sipixelobjects::CablingPathToDetUnit>
result;
152 for (
auto im =
theMap.begin(); im !=
theMap.end(); ++im) {
153 if (im->second.rawId() == rawDetId) {
163 for (
auto im =
theMap.lower_bound({fedId, 0, 0}); im !=
end and im->first.fed ==
fedId; ++im) {
164 if (im->second.rawId() == rawDetId) {