/[PAMELA software]/DarthVader/ToFLevel2/src/ToFCore.cpp
ViewVC logotype

Diff of /DarthVader/ToFLevel2/src/ToFCore.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mocchiut, Tue Jun 27 13:57:40 2006 UTC revision 1.3 by mocchiut, Fri Jun 30 09:22:03 2006 UTC
# Line 348  int ToFCore(ULong64_t run, TFile *file, Line 348  int ToFCore(ULong64_t run, TFile *file,
348          //          //
349          // copy tofclone to tof          // copy tofclone to tof
350          //          //
351          tof = new ToFLevel2();          //tof = new ToFLevel2();
352            tof->Clear();
353          memcpy(&tof,&tofclone,sizeof(tofclone));          memcpy(&tof,&tofclone,sizeof(tofclone));
354          //          //
355          // Fill entry in the new tree          // Fill entry in the new tree
# Line 566  int ToFCore(ULong64_t run, TFile *file, Line 567  int ToFCore(ULong64_t run, TFile *file,
567        //        //
568        // start processing        // start processing
569        //        //
570        tof = new ToFLevel2();        tof->Clear();
571          //tof = new ToFLevel2();
572    
573        //        //
574        // Here we will use some procedure to calibrate our data and put some kind of informations in the cinput structure        // Here we will use some procedure to calibrate our data and put some kind of informations in the cinput structure
# Line 671  int ToFCore(ULong64_t run, TFile *file, Line 673  int ToFCore(ULong64_t run, TFile *file,
673            TClonesArray &t = *tof->ToFTrk;            TClonesArray &t = *tof->ToFTrk;
674            new(t[ntrkentry]) ToFTrkVar(*t_tof);            new(t[ntrkentry]) ToFTrkVar(*t_tof);
675            //            //
676              delete t_tof;
677              //
678            ntrkentry++;              ntrkentry++;  
679            //            //
680          }; // loop on all the tracks          }; // loop on all the tracks
# Line 706  int ToFCore(ULong64_t run, TFile *file, Line 710  int ToFCore(ULong64_t run, TFile *file,
710          //          //
711          // copy tofclone to tof          // copy tofclone to tof
712          //          //
713          tof = new ToFLevel2();          //      tof = new ToFLevel2();
714            tof->Clear();
715          memcpy(&tof,&tofclone,sizeof(tofclone));          memcpy(&tof,&tofclone,sizeof(tofclone));
716          //          //
717          // Fill entry in the new tree          // Fill entry in the new tree

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23