Initialization of variables in the constructors (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2005 09:28:31 +0000 (09:28 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2005 09:28:31 +0000 (09:28 +0000)
TRD/AliTRDtrack.cxx
TRD/AliTRDtrack.h

index 9b6e0af..59621e6 100644 (file)
@@ -28,7 +28,7 @@ ClassImp(AliTRDtracklet)
 ClassImp(AliTRDtrack)
 
 
-  AliTRDtracklet::AliTRDtracklet():fY(0),fX(0),fAlpha(0),fSigma2(0),fP0(0),fP1(0),fNFound(0),fNCross(0),fPlane(0),fExpectedSigma2(0),fChi2(0),fMaxPos(0),fMaxPos4(0),fMaxPos5(0){
+  AliTRDtracklet::AliTRDtracklet():fY(0),fZ(0),fX(0),fAlpha(0),fSigma2(0),fP0(0),fP1(0),fNFound(0),fNCross(0),fPlane(0),fExpectedSigma2(0),fChi2(0),fTilt(0),fMaxPos(0),fMaxPos4(0),fMaxPos5(0){
 }
 
 //_____________________________________________________________________________
index 2392283..504d49b 100644 (file)
@@ -118,8 +118,8 @@ public:
    Int_t    GetSeedLabel() const { return fSeedLab; }
    Double_t GetSigmaC2()   const {return fCcc;}
    Double_t GetSigmaTgl2() const {return fCtt;}
-   Double_t GetSigmaY2()   const {return fCyy;}
-   Double_t GetSigmaZ2()   const {return fCzz;}
+   Double_t GetSigmaY2()   const {return TMath::Abs(fCyy);}
+   Double_t GetSigmaZ2()   const {return TMath::Abs(fCzz);}
    Double_t GetSnp()  const {return fX*fC - fE;}
    Double_t GetTgl()  const {return fT;}
    Double_t GetX()    const {return fX;}