--- PamelaDigitizer/Digitizer.cxx 2008/10/15 14:03:20 1.11 +++ PamelaDigitizer/Digitizer.cxx 2009/05/05 14:17:46 1.12 @@ -325,8 +325,8 @@ AddPadding(); WriteTrackCalib(); - DigitizeRunHeader(); - WriteRunHeader(); + ////////////////////////// DigitizeRunHeader(); + ///////////////////////// WriteRunHeader(); LoadMipCor(); // some initialization of parameters -not used now- // end loading, digitizing and writing tracker calibration @@ -346,12 +346,12 @@ Int_t nentries = fhBookTree->GetEntriesFast(); Long64_t nbytes = 0; - for (Int_t i=0; iGetEntry(i); + for (Int_t i=0; iGetEntry(i); // read detectors sequentially: // http://www.ts.infn.it/fileadmin/documents/physics/experiments/wizard/cpu/gen_arch/RM_Acquisition.pdf // on pamelatov: /cvs/yoda/techmodel/physics/NeutronDetectorReader.cpp - DigitizeTOF(np,atte1,atte2,lambda1,lambda2); + DigitizeTOF(np,atte1,atte2,lambda1,lambda2); DigitizeAC(); DigitizeCALO(); DigitizeTrack(); @@ -370,8 +370,8 @@ if ((i%1000)==0)cout << "writing event " << i << endl; WriteData(); } - DigitizeRunTrailer(); - WriteRunTrailer(); + //////////////////////////////// DigitizeRunTrailer(); + //////////////////////////////// WriteRunTrailer(); fOutputfile.close(); cout << "files closed" << endl;