59 std::vector<DTReadOutGeometryLink> entryList;
62 while ( compIter != compIend ) entryList.push_back( *compIter++ );
90 std::vector<DTReadOutGeometryLink>::const_iterator iter = entryList.begin();
91 std::vector<DTReadOutGeometryLink>::const_iterator iend = entryList.end();
92 std::vector<DTReadOutGeometryLink>::const_iterator iros = entryList.end();
93 std::vector<DTReadOutGeometryLink>::const_iterator irob = entryList.end();
94 while ( iter != iend ) {
96 if ( rosEntry.dduId > 0x3fffffff )
continue;
99 whe = rosEntry.wheelId;
100 def = rosEntry.stationId;
101 sec = rosEntry.sectorId;
103 mt1 = rosEntry.layerId;
104 mi1 = rosEntry.cellId;
105 iros = entryList.begin();
106 while ( iros != iend ) {
110 if ( ( rchEntry.dduId != mt1 ) ||
111 ( rchEntry.rosId != mi1 ) )
continue;
112 rch = rchEntry.robId;
113 if ( rchEntry.wheelId != def ) wha = rchEntry.wheelId;
114 sta = rchEntry.stationId;
115 if ( rchEntry.sectorId != def ) sea = rchEntry.sectorId;
117 mt2 = rchEntry.layerId;
118 mi2 = rchEntry.cellId;
119 irob = entryList.begin();
120 while ( irob != iend ) {
122 if ( ( robEntry.dduId != mt2 ) ||
123 ( robEntry.rosId != mi2 ) )
continue;
124 if ( robEntry.robId != rob ) {
125 std::cout <<
"ROB mismatch " << rob <<
" "
126 << robEntry.robId << std::endl;
128 tdc = robEntry.tdcId;
129 tch = robEntry.channelId;
131 lay = robEntry.layerId;
132 cel = robEntry.cellId;
const_iterator end() const
std::vector< DTReadOutGeometryLink >::const_iterator const_iterator
Access methods to the connections.
const std::string & mapCellTdc() const
access parent maps identifiers
const_iterator begin() const
int insertReadOutGeometryLink(int dduId, int rosId, int robId, int tdcId, int channelId, int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId)
insert connection
const std::string & mapRobRos() const