/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkStruct.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/TrkStruct.h

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

revision 1.10 by pam-fi, Tue Nov 7 15:55:10 2006 UTC revision 1.11 by pam-fi, Wed Nov 8 16:42:27 2006 UTC
# Line 222  struct cPath { Line 222  struct cPath {
222          const char *pc = s.Data();          const char *pc = s.Data();
223          for(Int_t i=0; i<=pathlen; i++) path[i] = *pc++;          for(Int_t i=0; i<=pathlen; i++) path[i] = *pc++;
224      };      };
225            
226  };  };
227    
228  // ==================================================================  // ==================================================================
229  /**  /* /\** */
230   * \brief Struct to pass magnetic-field file paths to F77 routines  /*  * \brief Struct to pass magnetic-field file paths to F77 routines */
231   */  /*  *\/ */
232  struct cBPath {  /* struct cBPath { */
233      char b_path[256];  /*     char b_path[256]; */
234      int  b_pathlen;  /*     int  b_pathlen; */
235      int  b_error;  /*     int  b_error; */
236      int  b_loaded;  /*     int  b_loaded; */
237  /**  /* /\** */
238   * Fill the struct variables from a TString object and set  /*  * Fill the struct variables from a TString object and set  */
239   * the load flag to FALSE.  /*  * the load flag to FALSE. */
240   */  /*  *\/ */
241      void FillWith(TString s){  /*     void FillWith(TString s){ */
242          b_loaded  = 0;  /*      b_loaded  = 0; */
243          b_pathlen = s.Length();  /*      b_pathlen = s.Length(); */
244          const char *pc = s.Data();  /*      const char *pc = s.Data(); */
245          for(Int_t i=0; i<=b_pathlen; i++) b_path[i] = *pc++;  /*      for(Int_t i=0; i<=b_pathlen; i++) b_path[i] = *pc++; */
246      };  /*     }; */
247  /**  /* /\** */
248   * Fill the struct variables from a TString object  /*  * Fill the struct variables from a TString object */
249   */  /*  *\/ */
250      int BIsLoaded(){ return b_loaded; };  /*     int BIsLoaded(){ return b_loaded; }; */
251                    
252  };  /* }; */
253    
254  // ==================================================================  // ==================================================================
255  /**  /**
# Line 365  extern "C" { Line 365  extern "C" {
365      extern struct cTrkLevel1  level1event_;      extern struct cTrkLevel1  level1event_;
366      extern struct cTrkLevel2  level2event_;      extern struct cTrkLevel2  level2event_;
367      extern struct cPath       path_;      extern struct cPath       path_;
368      extern struct cBPath      bpath_;  /*     extern struct cBPath      bpath_; */
369      extern struct cDbg        dbg_;      extern struct cDbg        dbg_;
370      extern struct cMini2track track_;      extern struct cMini2track track_;
371      extern struct cTrkHough   hough_;      extern struct cTrkHough   hough_;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23