Changeset 15185 for trunk/FACT++/src/ftmctrl.cc
- Timestamp:
- 03/29/13 21:28:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r15184 r15185 1268 1268 const uint8_t state = fHeader.fState & FTM::States::kFtmStates; 1269 1269 1270 if (state == fPrevState && fHeader.fTriggerCounter>=fTriggerCounter && 1271 fDynamicData.fOnTimeCounter>=fTimeStampOn) 1270 const bool first = state!=fPrevState || 1271 fHeader.fTriggerCounter<fTriggerCounter || 1272 fDynamicData.fOnTimeCounter<fTimeStampOn; 1273 1274 if (!first) 1272 1275 { 1273 1276 odiff -= fTimeStampOn; … … 1287 1290 1288 1291 const FTM::DimTriggerRates rates(fHeader, fDynamicData, fStaticData, 1289 rate,tdiff*1e-6, odiff*1e-6);1292 first ? -1 : rate, first ? -1 : tdiff*1e-6, odiff*1e-6); 1290 1293 1291 1294 fDimTriggerRates.setQuality(fHeader.fState);
Note:
See TracChangeset
for help on using the changeset viewer.