Description: Class to build full readout map from compact map
- Date:
- 2009/03/19 12:00:00
- Revision:
- 1.1
- Author
- Paolo Ronchese INFN Padova
See header file for a description of this class.
- Date:
- 2009/03/26 14:11:04
- Revision:
- 1.1
- Author
- Paolo Ronchese INFN Padova
Definition at line 29 of file DTExpandMap.h.
void DTExpandMap::expandSteering |
( |
std::ifstream & |
file | ) |
|
|
static |
Definition at line 83 of file DTExpandMap.cc.
References gather_cfg::cout, spu::def(), DTMapEntry::k1, DTMapEntry::k2, DTMapEntry::k3, DTMapEntry::k4, DTMapEntry::k5, combine::key, DTMapEntry::v1, DTMapEntry::v2, DTMapEntry::v3, DTMapEntry::v4, DTMapEntry::v5, and DTMapEntry::v6.
98 std::vector<DTMapEntry> entryList;
99 while (
file >> k1 >> k2 >> k3 >> k4 >> k5
100 >> v1 >> v2 >> v3 >> v4 >> v5 >> v6 ) {
101 std::vector<int>
key;
108 v1, v2, v3, v4, v5, v6 );
109 entryList.push_back( currentEntry );
131 std::vector<DTMapEntry>::const_iterator iter = entryList.begin();
132 std::vector<DTMapEntry>::const_iterator iend = entryList.end();
133 std::vector<DTMapEntry>::const_iterator iros = entryList.end();
134 std::vector<DTMapEntry>::const_iterator irob = entryList.end();
135 while ( iter != iend ) {
137 if ( rosEntry.k1 > 0x3fffffff )
continue;
146 iros = entryList.begin();
147 while ( iros != iend ) {
151 if ( ( rchEntry.k1 != mt1 ) ||
152 ( rchEntry.k2 != mi1 ) )
continue;
154 if ( rchEntry.v1 != def ) wha = rchEntry.v1;
156 if ( rchEntry.v3 != def ) sea = rchEntry.v3;
160 irob = entryList.begin();
161 while ( irob != iend ) {
163 if ( ( robEntry.k1 != mt2 ) ||
164 ( robEntry.k2 != mi2 ) )
continue;
165 if ( robEntry.k3 != rob ) {
166 std::cout <<
"ROB mismatch " << rob <<
" "
167 << robEntry.k3 << std::endl;
int def(FILE *, FILE *, int)