]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSTrackerV1.h
first steps to set the covariance matrix from the errors calculated in conformal...
[u/mrichter/AliRoot.git] / ITS / AliITSTrackerV1.h
index 8588b4b421efdd6a7243bf571715ba19ab4f9a09..814199afe93c787356947e985e9c2d533c337c47 100644 (file)
 #define ALIITSTRACKERV1_H
 
 #include <TObject.h>
+#include <TVectorfwd.h>
 
-class AliITS;
 class TObjArray;
-class TVector;
-class TMatrix;
 class AliITSTrackV1;
-class AliITS;
 class AliITSRad;
-class AliITSgeoinfo;
 class TStopwatch;
 
 class AliITSTrackerV1 : public TObject {
  public:
-    AliITSTrackerV1(AliITS* IITTSS, Bool_t flag);
+    AliITSTrackerV1();
+    AliITSTrackerV1(Int_t evnumber, Bool_t flag);
     AliITSTrackerV1(const AliITSTrackerV1 &cobj);
     ~AliITSTrackerV1();
-    AliITSTrackerV1 &operator=(AliITSTrackerV1 obj);
-    void DoTracking(Int_t evNumber, Int_t minTr, Int_t maxTr, TFile *file);
+    AliITSTrackerV1 &operator=(const AliITSTrackerV1 &obj);
+//  void DelMatrix(Int_t NumOfModules);
+    void DoTracking(Int_t evNumber, Int_t minTr, Int_t maxTr, TFile *file, Bool_t realmass=0);
     void RecursiveTracking(TList *trackITSlist);
     Int_t Intersection(AliITSTrackV1 &track, Int_t layer,Int_t &ladder,
                       Int_t &detector); 
@@ -52,17 +50,18 @@ class AliITSTrackerV1 : public TObject {
     //                      Double_t sigma[2], Double_t chi2pred);
 
  private:
-    AliITS* fITS;              //! pointer to AliITS
+    //AliITS* fITS;              //! pointer to AliITS
+    AliITSDetTypeRec *fDetTypeRec;//ITS obj. for reconstruction
     AliITSTrackV1 *fresult;    // result is a pointer to the final best track
     Double_t fPtref;           // transvers momentum obtained from TPC tracking
-    Double_t fChi2max;         //  cluster with chi2>chi2max are cut. It is
-                               // pt dependend.  aggiunto il 31-7-2001
-    Double_t fepsphi;  //eps for definition window in phi aggiunto il 1-8-2001
-    Double_t fepsz;  //eps for definition window in z aggiunto il 1-8-2001
-    TObjArray  *frecPoints;    // pointer to RecPoints
+    Double_t fChi2max;         //  chi2 cut  
+    //Double_t fepsphi;  //eps for definition window in phi 
+   // Double_t fepsz;  //eps for definition window in z 
+    TClonesArray  *frecPoints;    // pointer to RecPoints
     Int_t **fvettid;           // flag vector of used clusters
     Bool_t fflagvert;          // a flag to impose or not the vertex constraint
     AliITSRad *frl;            // pointer to get the radiation lenght matrix
+///      To be put in a specific geometric class        
     Int_t fNlad[6];            // Number of ladders for a given layer
     Int_t fNdet[6];            // Number of detector for a given layer
     Double_t fAvrad[6];        // Average radius for a given layer
@@ -73,11 +72,19 @@ class AliITSTrackerV1 : public TObject {
     Double_t **fphimin;// Matrix of phimin for a given layer and a given ladder
     Double_t **fphimax;// Matrix of phimax for a given layer and a given ladder
     Double_t **fphidet; // azimuthal angle for a given layer and a given ladder
-    Double_t fFieldFactor;     // Magnetic filed factor 
-    //TStopwatch *fTimerKalman;         // timer for kalman filter
-    //TStopwatch *fTimerIntersection;   // timer for Intersection 
-
-    ClassDef(AliITSTrackerV1,1) //????
+        Int_t *fNRecPoints;        // pointer to the vector giving the number of recpoints for a given module
+        /*
+        Float_t **fRecCylR;        // pointer to the matrix giving the R cylindric cohordinate of a recpoint
+        Float_t **fRecCylPhi;      // pointer to the matrix giving the Phi cylindric cohordinate of a recpoint
+        Float_t **fRecCylZ;        // pointer to the matrix giving the Z cylindric cohordinate of a recpoint   
+        */
+        Double_t **fRecCylR;        // pointer to the matrix giving the R cylindric cohordinate of a recpoint
+        Double_t **fRecCylPhi;      // pointer to the matrix giving the Phi cylindric cohordinate of a recpoint
+        Double_t **fRecCylZ;        // pointer to the matrix giving the Z cylindric cohordinate of a recpoint            
+/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+    Double_t fFieldFactor;     // Magnetic field factor 
+    ClassDef(AliITSTrackerV1,2)  
 };
 
 #endif