Changeset 15340
- Timestamp:
- 04/15/13 12:07:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilder.c
r15337 r15340 2203 2203 "procEvt: Finished run since new one opened %d", 2204 2204 runCtrl[j1].runId); 2205 factOut (kInfo, -1, str); 2205 2206 runFinish1 (runCtrl[j1].runId); 2206 2207 } … … 2280 2281 if (mBuffer[id].fEvent->StartPix[ip] == -1) { 2281 2282 dest = ip * roi; 2282 bzero (&mBuffer[id].fEvent->Adc_Data[dest], roi * 2);2283 memset (&mBuffer[id].fEvent->Adc_Data[dest], 0, roi * 2); 2283 2284 } 2284 2285 } … … 2287 2288 if (mBuffer[id].fEvent->StartTM[it] == -1) { 2288 2289 dest = it * roi + NPIX * roi; 2289 bzero (&mBuffer[id].fEvent->Adc_Data[dest], roi * 2);2290 memset (&mBuffer[id].fEvent->Adc_Data[dest], 0, roi * 2); 2290 2291 } 2291 2292 } … … 2659 2660 { 2660 2661 if (runCtrl[j].runId == gi_myRun) 2661 gi_myRun = g_actTime; 2662 gi_myRun = g_actTime; 2663 2662 2664 int ii = 0; 2663 2665 if (runCtrl[j].closeTime < g_actTime) 2664 ii = 2;2665 elseif (runCtrl[j].lastTime < g_actTime - 300)2666 ii = 3;2667 elseif (runCtrl[j].maxEvt <= runCtrl[j].actEvt)2668 ii = 4;2666 ii |= 1; // = 2 2667 /*else*/ if (runCtrl[j].lastTime < g_actTime - 300) 2668 ii |= 2; // = 3 2669 /*else*/ if (runCtrl[j].maxEvt <= runCtrl[j].actEvt) 2670 ii |= 4; // = 4 2669 2671 2670 2672 if (runCtrl[j].procId == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.