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 |
/** |
/** |
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_; |