]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliKalmanTrack.h
Updates (A. Toia)
[u/mrichter/AliRoot.git] / STEER / AliKalmanTrack.h
index 1399e74a8e42b1577b996849fefaf4ce8add0fc2..e76538f9ff7cbaae0b466512107d6bd1f4d0d69f 100644 (file)
 #include "AliPID.h"
 
 class AliCluster;
-class AliCluster3D;
 
 class AliKalmanTrack : public AliExternalTrackParam {
 public:
   AliKalmanTrack();
   AliKalmanTrack(const AliKalmanTrack &t);
   virtual ~AliKalmanTrack(){};
-
+  AliKalmanTrack& operator=(const AliKalmanTrack &o);
   void SetLabel(Int_t lab) {fLab=lab;}
 
   virtual Double_t GetPredictedChi2(const AliCluster *c) const = 0;
-  virtual Double_t GetPredictedChi2(const AliCluster3D *c) const;
   virtual Bool_t PropagateTo(Double_t xr, Double_t x0, Double_t rho) = 0;
   virtual Bool_t Update(const AliCluster* c, Double_t chi2, Int_t index) = 0;
 
@@ -41,6 +39,14 @@ public:
     AliWarning("Method must be overloaded !\n");
     return 0;
   } 
+  virtual Int_t GetNumberOfTracklets() const {
+    AliWarning("Method must be overloaded !");
+    return 0;
+  }
+  virtual Int_t GetTrackletIndex(Int_t) const { //reserved for AliTracker
+    AliWarning("Method must be overloaded !");
+    return -1;
+  } 
   virtual Double_t GetPIDsignal() const {
     AliWarning("Method must be overloaded !\n");
     return 0.;
@@ -56,9 +62,6 @@ public:
     for (Int_t i=0; i<15; i++) cov[i]=GetCovariance()[i];
   }
 
-  static 
-  Double_t MeanMaterialBudget(Double_t *start,Double_t *end,Double_t *mparam);
-
   // Time integration (S.Radomski@gsi.de)
   void StartTimeIntegral();
   void SetIntegratedLength(Double_t l) {fIntegratedLength=l;}
@@ -79,19 +82,19 @@ public:
 protected:
   void SetChi2(Double_t chi2) {fChi2=chi2;} 
 
+  Double32_t fFakeRatio;  // fake ratio
+  Double32_t fChi2;       // total chi2 value for this track
+  Double32_t fMass;       // mass hypothesis
   Int_t fLab;             // track label
-  Float_t fFakeRatio;     // fake ratio
-  Double_t fChi2;         // total chi2 value for this track
-  Double_t fMass;         // mass hypothesis
   Int_t fN;               // number of associated clusters
 
 private:
-  // variables for time integration (S.Radomski@gsi.de)
   Bool_t  fStartTimeIntegral;       // indicator wether integrate time
-  Double_t fIntegratedTime[AliPID::kSPECIES];       // integrated time
-  Double_t fIntegratedLength;        // integrated length
+  // variables for time integration (S.Radomski@gsi.de)
+  Double32_t fIntegratedTime[AliPID::kSPECIES];       // integrated time
+  Double32_t fIntegratedLength;        // integrated length
   
-  ClassDef(AliKalmanTrack,6)    // Reconstructed track
+  ClassDef(AliKalmanTrack,7)    // Reconstructed track
 };
 
 #endif