]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliTracker.h
Alignment framework (C.Cheshkov). More information is available in http://agenda...
[u/mrichter/AliRoot.git] / STEER / AliTracker.h
index cd35f9a8a583c91d5ead7c186f5cd4ceea1eafb8..dfa53d5458e5654c8a663e08a01610a589f7fa83 100644 (file)
 //       Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch 
 //-------------------------------------------------------------------------
 #include <TObject.h>
-//#include "TError.h"
 
-class AliKalmanTrack;
 class AliCluster;
 class TTree;
+class AliKalmanTrack;
 class AliESD;
 class AliMagF;
+class AliTrackPoint;
 
 class AliTracker : public TObject {
 public:
@@ -37,12 +37,13 @@ public:
      fX=xyz[0]; fY=xyz[1]; fZ=xyz[2];
      if (ers) { fSigmaX=ers[0]; fSigmaY=ers[1]; fSigmaZ=ers[2]; } 
   }
-  void SetEventNumber(Int_t ev) { fEventN=ev; }
 
 //protected:
   virtual Int_t LoadClusters(TTree *)=0;
   virtual void UnloadClusters()=0;
   virtual AliCluster *GetCluster(Int_t index) const=0;
+  //  virtual UShort_t GetVolumeID(Int_t index) {return 0;}
+  virtual Bool_t GetTrackPoint(Int_t /* index */ , AliTrackPoint& /* p */) { return kFALSE;}
   virtual void  UseClusters(const AliKalmanTrack *t, Int_t from=0) const;
   virtual void  CookLabel(AliKalmanTrack *t,Float_t wrong) const; 
   Double_t GetX() const {return fX;}
@@ -51,22 +52,15 @@ public:
   Double_t GetSigmaX() const {return fSigmaX;}
   Double_t GetSigmaY() const {return fSigmaY;}
   Double_t GetSigmaZ() const {return fSigmaZ;}
-  Int_t GetEventNumber() const {return fEventN;}
 
-  static void SetFieldMap(const AliMagF* map);
+  static void SetFieldMap(const AliMagF* map, Bool_t uni);
   static const AliMagF *GetFieldMap() {return fgkFieldMap;}
-  
-  Int_t IsStoringBarrel() const {return fStoreBarrel;}
-  void  SetStoreBarrel(Int_t s) {fStoreBarrel = s;}
 
 private:
 
   AliTracker & operator=(const AliTracker & atr);
 
   static const AliMagF *fgkFieldMap; //field map
-  Int_t fEventN;//event number
-
-  Int_t fStoreBarrel; //Store Barrel information
 
   Double_t fX;  //X-coordinate of the primary vertex
   Double_t fY;  //Y-coordinate of the primary vertex
@@ -76,7 +70,7 @@ private:
   Double_t fSigmaY; // error of the primary vertex position in Y
   Double_t fSigmaZ; // error of the primary vertex position in Z
 
-  ClassDef(AliTracker,1) //abstract tracker
+  ClassDef(AliTracker,2) //abstract tracker
 };
 
 #endif