--- DarthVader/TrackerLevel2/inc/ExtTrack.h 2014/02/27 11:24:42 1.1 +++ DarthVader/TrackerLevel2/inc/ExtTrack.h 2014/06/04 07:57:01 1.2 @@ -6,6 +6,47 @@ #define exttrack_h #include +#include + + +/** + * \brief Struct to pass mini2 track parameters to F77 routines + */ +#define NPLANEMAX 56 + +struct cMiniExtTrack { + double al[5]; + double xm[NPLANEMAX],ym[NPLANEMAX],zm[NPLANEMAX]; + double xm_a[NPLANEMAX],ym_a[NPLANEMAX],zm_a[NPLANEMAX]; + double xm_b[NPLANEMAX],ym_b[NPLANEMAX],zm_b[NPLANEMAX]; + double resx[NPLANEMAX],resy[NPLANEMAX]; + double tailx[NPLANEMAX],taily[NPLANEMAX]; + double xgood[NPLANEMAX],ygood[NPLANEMAX]; + double dedxtrk_x[NPLANEMAX]; + double dedxtrk_y[NPLANEMAX]; + double zini; + double pfixed; + double chi2; + double xv[NPLANEMAX],yv[NPLANEMAX],zv[NPLANEMAX]; + double axv[NPLANEMAX],ayv[NPLANEMAX]; + double cov[5][5]; + double fact; + int nstep; + int idcand; + int trackmode; + int istepmin; + int nplanes; + +}; + +extern "C" { + + extern struct cMiniExtTrack exttrack_; + void miniext_(int*,int*,int*); + void guessext_(); + +} + class ExtTrack : public TObject { @@ -13,57 +54,105 @@ public: - - Float_t al[5]; ///