vP.SetPxPyPzE(pX, pY, pZ, e);
}
+//_____________________________________________________________________________
+Int_t AliESDMuonTrack::GetNDF() const
+{
+ /// return the number of degrees of freedom
+
+ Int_t ndf = 2 * static_cast<Int_t>(fNHit) - 5;
+ return (ndf > 0) ? ndf : 0;
+}
+
+//_____________________________________________________________________________
+Double_t AliESDMuonTrack::GetNormalizedChi2() const
+{
+ /// return the chi2 value divided by the number of degrees of freedom
+
+ Int_t ndf = GetNDF();
+ return (ndf > 0) ? fChi2 / static_cast<Double_t>(ndf) : 0.;
+}
+
//_____________________________________________________________________________
Int_t AliESDMuonTrack::GetMatchTrigger() const
{
void SetChi2(Double_t Chi2) {fChi2 = Chi2;}
UChar_t GetNHit(void) const {return fNHit;}
void SetNHit(UInt_t NHit) {fNHit = NHit;}
+ Int_t GetNDF() const;
+ Double_t GetNormalizedChi2() const;
// Get and Set methods for trigger matching
Int_t GetMatchTrigger() const;