Fixed the default constructor. Created a second Standard Constructor with
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Dec 2001 20:19:57 +0000 (20:19 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Dec 2001 20:19:57 +0000 (20:19 +0000)
a Dummy argument.

ITS/AliITSTrackV1.cxx
ITS/AliITSTrackV1.h

index 68a9e24..167765d 100644 (file)
@@ -26,6 +26,24 @@ AliITSTrackV1::AliITSTrackV1() {
   flistCluster = 0;   
   fNumClustInTrack =0;
   fChi2=-1;
+  flabel =0;
+  fLayer = -1; 
+  fClusterInTrack = 0; 
+  frtrack=0.;
+  fnoclust=0;
+  fMass=0.13956995; //a pion by default
+  fFieldFactor = 0.0;
+   
+}
+AliITSTrackV1::AliITSTrackV1(const char *opt) {
+//Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it 
+// default constructor   
+  fTPCtrack = 0;
+  fC00=fC10=fC11=fC20=fC21=fC22=fC30=fC31=fC32=fC33=fC40=fC41=fC42=fC43=fC44=0.;
+  flistCluster = 0;   
+  fNumClustInTrack =0;
+  fChi2=-1;
   flabel =0; 
   fVertex.ResizeTo(3); 
   fErrorVertex.ResizeTo(3);
index 81fc915..0282eb2 100644 (file)
@@ -17,7 +17,8 @@ class AliITSTrackV1 : public TObject {
 public:
 
   AliITSTrackV1();  // default constructor
-  AliITSTrackV1(AliTPCtrack &obj);  // copy constructor
+  AliITSTrackV1(const char *opt);  // Standard constructor
+  AliITSTrackV1(AliTPCtrack &obj);  // Standard constructor
   AliITSTrackV1(const AliITSTrackV1 &cobj);  // copy constructor
   AliITSTrackV1 &operator=(AliITSTrackV1 obj);  // operator =
   ~AliITSTrackV1(); // default destructor
@@ -140,8 +141,7 @@ public:
                                         // row index = layer-1; 
                                         // cols index = master coordinates of the clusters
 
-  Double_t        fFieldFactor;         // magnetic field factor                                                                                                        
-                                                                                                          
+  Double_t        fFieldFactor;         // magnetic field factor
   Double_t          fDv;                // radial impact parameter for vertex  constraint
   Double_t          fZv;                // longitudinal impact parameter for vertex constraint
   Double_t          fsigmaDv;           // sigma for Dv extraction