--- DarthVader/TrackerLevel2/inc/TrkLevel2.h 2008/10/22 15:17:32 1.37 +++ DarthVader/TrackerLevel2/inc/TrkLevel2.h 2008/12/04 14:33:47 1.39 @@ -154,6 +154,7 @@ float BdL(){return 0;}; ///< Evaluates the integral of B*dL along the track. Int_t GetNX(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)XGood(i); return n;}; Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i); return n;}; + Int_t GetNXY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i)*XGood(i); return n;}; Int_t GetNtot(){return GetNX()+GetNY();}; Float_t GetRigidity(); Float_t GetDeflection(); @@ -164,6 +165,7 @@ Float_t GetDEDX(); Float_t GetDEDX(int ip); Float_t GetDEDX(int ip,int iv); + Int_t GetLeverArmXY(); Int_t GetLeverArmX(); Int_t GetLeverArmY(); Float_t GetChi2X(); @@ -202,7 +204,7 @@ Int_t GetSensor(int ip); Bool_t XGood(int ip){ return GetClusterX_ID(ip)!=-1; }; Bool_t YGood(int ip){ return GetClusterY_ID(ip)!=-1; }; - void ResetXGoo(int ip){ xgood[ip]=0; }; + void ResetXGood(int ip){ xgood[ip]=0; }; void ResetYGood(int ip){ ygood[ip]=0; }; /* void SetXGood(int ip, int clid, int is); */ /* void SetYGood(int ip, int clid, int is); */