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

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

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

revision 1.21 by pam-fi, Wed Mar 28 09:27:58 2007 UTC revision 1.23 by pam-fi, Thu Mar 29 17:06:39 2007 UTC
# Line 89  public: Line 89  public:
89      TRefArray *cly;      TRefArray *cly;
90    
91  /*     float al[5];           ///<TRACK STATE VECTOR  */  /*     float al[5];           ///<TRACK STATE VECTOR  */
92      double al[5];           ///<TRACK STATE VECTOR      float al[5];           ///<TRACK STATE VECTOR
93      float coval[5][5];     ///<covariance matrix      float coval[5][5];     ///<covariance matrix
94      int   xgood[6];        ///<mask of included x planes      int   xgood[6];        ///<mask of included x planes
95      int   ygood[6];        ///<mask of included y planes      int   ygood[6];        ///<mask of included y planes
# Line 126  public: Line 126  public:
126      int DoTrack(Trajectory* t);                         ///< Evaluates the trajectory in the apparatus.      int DoTrack(Trajectory* t);                         ///< Evaluates the trajectory in the apparatus.
127      int DoTrack2(Trajectory* t);                        ///< Evaluates the trajectory in the apparatus.      int DoTrack2(Trajectory* t);                        ///< Evaluates the trajectory in the apparatus.
128      float BdL(){return 0;};                                     ///< Evaluates the integral of B*dL along the track.      float BdL(){return 0;};                                     ///< Evaluates the integral of B*dL along the track.
129      Int_t GetNX(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=xgood[i]; return n;};      Int_t GetNX(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=XGood(i); return n;};
130      Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=ygood[i]; return n;};      Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=YGood(i); return n;};
131      Int_t GetNtot(){return GetNX()+GetNY();};      Int_t GetNtot(){return GetNX()+GetNY();};
132      Float_t GetRigidity();      Float_t GetRigidity();
133      Float_t GetDeflection();      Float_t GetDeflection();
134      Float_t GetDEDX();      Float_t GetDEDX();
135      Float_t GetDEDX(Int_t ip){if( !(xgood[ip]+ygood[ip]) ) return 0; return (dedx_x[ip]+dedx_y[ip])/(xgood[ip]+ygood[ip]);};      Float_t GetDEDX(Int_t ip){if( !(XGood(ip)+YGood(ip)) ) return 0; return (dedx_x[ip]+dedx_y[ip])/(XGood(ip)+YGood(ip));};
136      // sono un'imbecille... assegno xm e ym anche quando si tratta di un singolo      // sono un'imbecille... assegno xm e ym anche quando si tratta di un singolo
137      // non posso quindi usare xm e ym per dire se una vista e` inclusa nel fit o no      // non posso quindi usare xm e ym per dire se una vista e` inclusa nel fit o no
138  /*      Bool_t XGood(int ip){ return xm[ip] != -100.;};  /*      Bool_t XGood(int ip){ return xm[ip] != -100.;};

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.23