Changeset 16587 for trunk/FACT++/src/EventBuilderWrapper.h
- Timestamp:
- 06/02/13 15:51:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r16567 r16587 180 180 "Event counts" 181 181 "|evtsCount[int]:Num evts cur. run, total (all run), evt ID, trig. Num"), 182 fDimRawData ("FAD_CONTROL/RAW_DATA", "S:1;S:1;I:1;I:1;S:1;I:1; C:4;I:1;I:2;I:40;S:1440;S:160;F",182 fDimRawData ("FAD_CONTROL/RAW_DATA", "S:1;S:1;I:1;I:1;S:1;I:1;I:2;I:40;S:1440;S:160;F", 183 183 "|roi[uint16]:number of samples per pixel" 184 184 "|roi_tm[uint16]:number of samples per time-marker channel" … … 187 187 "|type[uint16]:trigger type from FTM" 188 188 "|num_boards[uint32]:number of active boards" 189 "|error[uint8]:event builder error counters"190 "|dummy[]:"191 189 "|time[uint32]:PC time as unix time stamp" 192 190 "|time_board[uint32]:Time stamp of FAD boards" … … 485 483 // If there is still an open file: close it 486 484 if (fFile) 487 runClose( );485 runClose(*evt.runCtrl); 488 486 489 487 // Keep a copy of the currently valid drs calibration … … 591 589 } 592 590 593 void runClose( )591 void runClose(RUN_CTRL2 &run) 594 592 { 595 593 if (!fFile) … … 625 623 // Do the potentially blocking call after all others 626 624 rc ? fMsg.Info(str) : fMsg.Error(str); 625 626 // If a Drs Calibration has just been finished, all following events 627 // should also be processed with this calibration 628 const DrsCalibration &cal = DataCalib::GetCalibration(); 629 if (!run.calib || run.calib->fStep != cal.fStep || run.calib->fRoi!=cal.fRoi) 630 run.calib = shared_ptr<DrsCalibration>(new DrsCalibration(cal)); 627 631 } 628 632 … … 1262 1266 } 1263 1267 1264 void runClose( )1268 void runClose(RUN_CTRL2 &run) 1265 1269 { 1266 EventBuilderWrapper::This->runClose( );1270 EventBuilderWrapper::This->runClose(run); 1267 1271 } 1268 1272
Note:
See TracChangeset
for help on using the changeset viewer.