/[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.8 by mocchiut, Thu Sep 28 13:31:53 2006 UTC revision 1.9 by mocchiut, Thu Nov 9 17:05:48 2006 UTC
# Line 51  extern "C" int tofl2com(); Line 51  extern "C" int tofl2com();
51  #define toftrk toftrk_  #define toftrk toftrk_
52  extern "C" int toftrk();  extern "C" int toftrk();
53  #define rdtofcal rdtofcal_  #define rdtofcal rdtofcal_
54  extern "C" int rdtofcal(char []);  extern "C" int rdtofcal(char [], int *);
55    
56  //  //
57  // Tracker classes headers and definitions  // Tracker classes headers and definitions
# Line 502  int ToFCore(UInt_t run, TFile *file, TSQ Line 502  int ToFCore(UInt_t run, TFile *file, TSQ
502          goto closeandexit;          goto closeandexit;
503        };        };
504        //        //
505          if ( verbose ) printf(" Reading ToF parameter file: %s \n",(glparam->PATH+glparam->NAME).Data());
506          //
507        tttofpar1 = glparam->TO_TIME;          tttofpar1 = glparam->TO_TIME;  
508        rdtofcal((char *)(glparam->PATH+glparam->NAME).Data());        Int_t nlen = (Int_t)(glparam->PATH+glparam->NAME).Length();
509          rdtofcal((char *)(glparam->PATH+glparam->NAME).Data(),&nlen);
510      };      };
511      //      //
512      // run over all the events of the run      // run over all the events of the run
# Line 715  int ToFCore(UInt_t run, TFile *file, TSQ Line 718  int ToFCore(UInt_t run, TFile *file, TSQ
718          }; // loop on all the tracks          }; // loop on all the tracks
719        };        };
720        //        //
721          tof->unpackError = tofEvent->unpackError;
722          //
723        // Fill the rootple        // Fill the rootple
724        //        //
725        toft->Fill();        toft->Fill();

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23