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 std::vector<DTReadOutGeometryLink>::const_iterator itdc = entryList.end();
95 while ( iter != iend ) {
97 if ( rosEntry.dduId > 0x3fffffff )
continue;
100 whe = rosEntry.wheelId;
101 def = rosEntry.stationId;
102 sec = rosEntry.sectorId;
104 mt1 = rosEntry.layerId;
105 mi1 = rosEntry.cellId;
106 iros = entryList.begin();
107 while ( iros != iend ) {
111 if ( ( rchEntry.dduId != mt1 ) ||
112 ( rchEntry.rosId != mi1 ) )
continue;
113 rch = rchEntry.robId;
114 if ( rchEntry.wheelId != def ) wha = rchEntry.wheelId;
115 sta = rchEntry.stationId;
116 if ( rchEntry.sectorId != def ) sea = rchEntry.sectorId;
118 mt2 = rchEntry.layerId;
119 mi2 = rchEntry.cellId;
120 irob = entryList.begin();
121 while ( irob != iend ) {
123 if ( ( robEntry.dduId != mt2 ) ||
124 ( robEntry.rosId != mi2 ) )
continue;
125 if ( robEntry.robId != rob ) {
126 std::cout <<
"ROB mismatch " << rob <<
" "
127 << robEntry.robId << std::endl;
129 tdc = robEntry.tdcId;
130 tch = robEntry.channelId;
132 lay = robEntry.layerId;
133 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