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 27 of file DTExpandMap.h.
void DTExpandMap::expandSteering |
( |
std::ifstream & |
file | ) |
|
|
static |
Definition at line 52 of file DTExpandMap.cc.
66 std::vector<DTMapEntry> entryList;
67 while (
file >> k1 >> k2 >> k3 >> k4 >> k5 >> v1 >> v2 >> v3 >> v4 >> v5 >> v6) {
74 DTMapEntry currentEntry(k1, k2, k3, k4, k5, v1, v2, v3, v4, v5, v6);
75 entryList.push_back(currentEntry);
97 std::vector<DTMapEntry>::const_iterator iter = entryList.begin();
98 std::vector<DTMapEntry>::const_iterator iend = entryList.end();
99 std::vector<DTMapEntry>::const_iterator iros = entryList.end();
100 std::vector<DTMapEntry>::const_iterator irob = entryList.end();
101 while (iter != iend) {
103 if (rosEntry.k1 > 0x3fffffff)
113 iros = entryList.begin();
114 while (iros != iend) {
118 if ((rchEntry.k1 != mt1) || (rchEntry.k2 != mi1))
121 if (rchEntry.v1 !=
def)
124 if (rchEntry.v3 !=
def)
129 irob = entryList.begin();
130 while (irob != iend) {
132 if ((robEntry.k1 !=
mt2) || (robEntry.k2 != mi2))
134 if (robEntry.k3 != rob) {
135 std::cout <<
"ROB mismatch " << rob <<
" " << robEntry.k3 << std::endl;
142 std::cout << ddu <<
" " << ros <<
" " << rch <<
" " << tdc <<
" " << tch <<
" " << wha <<
" " << sta <<
" "
143 << sea <<
" " << qua <<
" " << lay <<
" " << cel << std::endl;
References gather_cfg::cout, spu::def(), FrontierConditions_GlobalTag_cff::file, DTMapEntry::k1, DTMapEntry::k2, DTMapEntry::k3, DTMapEntry::k4, DTMapEntry::k5, crabWrapper::key, MT2Analyzer::mt2, fileinputsource_cfi::sec, DTMapEntry::v1, DTMapEntry::v2, DTMapEntry::v3, DTMapEntry::v4, DTMapEntry::v5, and DTMapEntry::v6.