]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Effective C++ initialization of data members in the default constructor
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 23 Apr 2006 05:40:54 +0000 (05:40 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 23 Apr 2006 05:40:54 +0000 (05:40 +0000)
TPC/AliComplexCluster.h

index 63d4ad10437202ff9da41854d9edf60d1381a293..112af044411348ac6da8be76ddfbe721c72a21b3 100644 (file)
@@ -62,7 +62,17 @@ class AliTPCTrackerPoint  {
   friend class AliTPCseed;
  public:
 
-  AliTPCTrackerPoint(){fTX=0; fTY=0; fTZ=0; fTAngleZ=0; fTAngleY=0; fIsShared = 0;}
+  AliTPCTrackerPoint():
+    fTX(0),
+    fTZ(0),
+    fTY(0),
+    fTAngleZ(0),
+    fTAngleY(0),
+    fSigmaZ(0),
+    fSigmaY(0),
+    fErrZ(0),
+    fErrY(0),
+    fIsShared(0){}
   virtual ~AliTPCTrackerPoint(){}
   Float_t  GetX() const  {return (fTX*0.01);}
   Float_t  GetZ() const {return (fTZ*0.01);}