ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/Track.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/Track.h (file contents):
Revision 1.18 by loizides, Wed Sep 17 04:16:25 2008 UTC vs.
Revision 1.20 by bendavid, Tue Sep 30 12:49:36 2008 UTC

# Line 130 | Line 130 | namespace mithep
130  
131        Int_t              Charge()         const { return (fQOverP>0) ? 1 : -1; }
132        Double_t           Chi2()           const { return fChi2; }
133 +      Double_t           RChi2()          const { return fChi2/(Double_t)fNdof; }
134        void               ClearHit(EHitLayer l)  { fHits.ClearBit(l); }
135        Double_t           D0()             const { return -fDxy; }
136        Double_t           D0Err()          const { return fDxyErr; }
# Line 152 | Line 153 | namespace mithep
153        Double_t           Phi()            const { return fPhi0; }
154        Double_t           Phi0()           const { return fPhi0; }
155        Double_t           Phi0Err()        const { return fPhi0Err; }
156 +      Double_t           Prob()           const { return TMath::Prob(fChi2,fNdof); }
157        Double_t           Pt()             const { return TMath::Abs(TMath::Cos(fLambda)/fQOverP); }
158        Double_t           Px()             const { return Pt()*TMath::Cos(fPhi0); }      
159        Double_t           Py()             const { return Pt()*TMath::Sin(fPhi0); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines