Changeset 12453 for trunk/FACT++/src/EventBuilder.c
- Timestamp:
- 11/08/11 19:58:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilder.c
r12452 r12453 1239 1239 { 1240 1240 checkRoi = ntohs(rd[i].rBuf->S[ head_len/2 + 2 //header up to first roi 1241 + kr*(roi[jr -1]+4) //shift up to the next board1241 + kr*(roi[jr]+4) //shift up to the next board 1242 1242 + 9*jr*(roi[jr-1]+4)]); //shift up to the correct pixel 1243 1243 if (checkRoi != roi[jr]) … … 1358 1358 //zero when allocating it 1359 1359 dest = tmS*roi[0] + NPIX*roi[0]; 1360 memset(&mBuffer[evID].fEvent->Adc_Data[dest],0,roi[0]*2);1360 bzero(&mBuffer[evID].fEvent->Adc_Data[dest],roi[0]*2); 1361 1361 } 1362 1362 } … … 1916 1916 actRun.Nroi = runCtrl[j].roi0; 1917 1917 actRun.NroiTM = runCtrl[j].roi8; 1918 //ETIENNE don't reset it to zero 1918 //ETIENNE don't reset it to zero as it is taken care of in DataWriteFits 1919 1919 // if (actRun.Nroi == actRun.NroiTM) 1920 1920 // actRun.NroiTM = 0; … … 1974 1974 1975 1975 //make sure unused pixels/tmarks are cleared to zero 1976 //ETIENNE don't reset it to zero 1976 //ETIENNE don't reset it to zero as it is taken care of in DataWriteFits 1977 1977 // if (roiTM == roi) 1978 1978 // roiTM = 0; … … 2193 2193 actRun.Nroi = runCtrl[j].roi0; 2194 2194 actRun.NroiTM = runCtrl[j].roi8; 2195 //ETIENNE don't reset it to zero 2195 //ETIENNE don't reset it to zero as it is taken care of in DataWriteFits 2196 2196 // if (actRun.Nroi == actRun.NroiTM) 2197 2197 // actRun.NroiTM = 0;
Note:
See TracChangeset
for help on using the changeset viewer.