324 |
DigitizePSCU(length,0x13,fDataPSCU); |
DigitizePSCU(length,0x13,fDataPSCU); |
325 |
AddPadding(); |
AddPadding(); |
326 |
WriteTrackCalib(); |
WriteTrackCalib(); |
|
|
|
|
////////////////////////// DigitizeRunHeader(); |
|
|
///////////////////////// WriteRunHeader(); |
|
|
|
|
327 |
LoadMipCor(); // some initialization of parameters -not used now- |
LoadMipCor(); // some initialization of parameters -not used now- |
328 |
// end loading, digitizing and writing tracker calibration |
// end loading, digitizing and writing tracker calibration |
329 |
// TOF ------ read calibration file (get A1, A2, lambda1, lambda2) |
// TOF ------ read calibration file (get A1, A2, lambda1, lambda2) |
366 |
if ((i%1000)==0)cout << "writing event " << i << endl; |
if ((i%1000)==0)cout << "writing event " << i << endl; |
367 |
WriteData(); |
WriteData(); |
368 |
} |
} |
|
//////////////////////////////// DigitizeRunTrailer(); |
|
|
//////////////////////////////// WriteRunTrailer(); |
|
369 |
|
|
370 |
fOutputfile.close(); |
fOutputfile.close(); |
371 |
cout << "files closed" << endl; |
cout << "files closed" << endl; |