--- DarthVader/TrackerLevel2/inc/TrkLevel2.h 2007/03/28 14:45:24 1.22 +++ DarthVader/TrackerLevel2/inc/TrkLevel2.h 2007/03/29 17:06:39 1.23 @@ -126,13 +126,13 @@ int DoTrack(Trajectory* t); ///< Evaluates the trajectory in the apparatus. int DoTrack2(Trajectory* t); ///< Evaluates the trajectory in the apparatus. 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+=xgood[i]; return n;}; - Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=ygood[i]; return n;}; + Int_t GetNX(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=XGood(i); return n;}; + Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=YGood(i); return n;}; Int_t GetNtot(){return GetNX()+GetNY();}; Float_t GetRigidity(); Float_t GetDeflection(); Float_t GetDEDX(); - 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));}; // sono un'imbecille... assegno xm e ym anche quando si tratta di un singolo // non posso quindi usare xm e ym per dire se una vista e` inclusa nel fit o no /* Bool_t XGood(int ip){ return xm[ip] != -100.;};