Changeset 12489 for trunk/FACT++
- Timestamp:
- 11/11/11 00:51:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r12481 r12489 525 525 526 526 map<uint32_t,FAD::RunDescription>::iterator it = fExpectedRuns.begin(); 527 while ( 1)527 while (it!=fExpectedRuns.end()) 528 528 { 529 529 if (it->first<runid) 530 530 { 531 531 ostringstream str; 532 str << "runOpen - Missed run " << runid<< "." << endl;532 str << "runOpen - Missed run " << it->first << "." << endl; 533 533 fMsg.Info(str); 534 534 535 fExpectedRuns.erase(it); 535 fExpectedRuns.erase(it++); 536 continue; 536 537 } 537 538 if (it->first==runid) … … 957 958 // This function is called even when writing is switched off 958 959 set<uint32_t>::iterator it = fIsRunStarted.begin(); 959 while ( 1)960 while (it!=fIsRunStarted.end()) 960 961 { 961 962 if (*it<runnr) 962 963 { 963 964 ostringstream str; 964 str << "gotNewRun - Missed run " << runnr<< "." << endl;965 str << "gotNewRun - Missed run " << *it << "." << endl; 965 966 fMsg.Info(str); 966 967 967 fIsRunStarted.erase(it); 968 fIsRunStarted.erase(it++); 969 continue; 968 970 } 969 971 if (*it==runnr) … … 1384 1386 { 1385 1387 const uint16_t *ptr = reinterpret_cast<uint16_t*>(buf); 1386 1387 1388 EventBuilderWrapper::This->debugHead(socket, FAD::EventHeader(ptr)); 1389 1390 // const FAD::EventHeader &h = *reinterpret_cast<FAD::EventHeader*>(buf); 1391 // EventBuilderWrapper::This->debugHead(socket, h); 1392 1388 1393 } 1389 1394
Note:
See TracChangeset
for help on using the changeset viewer.