]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFtracker.h
provide possibility for additional category of systematic uncertainties
[u/mrichter/AliRoot.git] / TOF / AliTOFtracker.h
index 2d1f3d7ea9a3667d448e35cf9a602d8fa5ccf703..437d74d75ebab89536963aab83e0a98ef7ec90bc 100644 (file)
@@ -21,7 +21,8 @@
 #include "AliTracker.h"
 
 #include "TObject.h"
-
+#include "AliESDTOFCluster.h"
+#include "AliESDTOFHit.h"
 
 class TClonesArray;
 class TObjArray;
@@ -107,8 +108,11 @@ class AliTOFtracker : public AliTracker {
  void InitCheckHists();
  void SaveCheckHists();
  void FillClusterArray(TObjArray* arr) const;
+ protected:
+ AliESDTOFCluster* GetESDTOFCluster(int clID);
 
-private:
+ private:
 
  enum {kMaxCluster=77777}; //maximal number of the TOF clusters
 
@@ -116,7 +120,7 @@ private:
  AliTOFtracker& operator=(const AliTOFtracker &source); // ass. op.
 
  Int_t FindClusterIndex(Double_t z) const; // Returns cluster index 
- void  MatchTracks(Bool_t mLastStep); // Matching Algorithm 
+ void  MatchTracks(Int_t mLastStep); // Matching Algorithm 
  void  CollectESD(); // Select starting Set for Matching 
  Float_t CorrectTimeWalk(Float_t dist,Float_t tof) const; // Time Walk correction
 
@@ -131,6 +135,8 @@ private:
  Int_t fnbadmatch;      // Wrongly matched tracks
  Int_t fnunmatch;       // Unmatched tracks
  Int_t fnmatch;         // Total matched tracks
+
+ AliESDEvent*  fESDEv;  //! pointer on the esd event
  
  TClonesArray* fTracks; //! pointer to the TClonesArray with TOF tracks
  TObjArray* fSeeds;  //! pointer to the TObjArray with ESD tracks
@@ -158,7 +164,11 @@ private:
  Float_t fExpTimeKa; // exp time, Kaons
  Float_t fExpTimePr; // exp time, Protons
 
- ClassDef(AliTOFtracker, 6) // TOF tracker 
+ Int_t fNTOFmatched;                   // number of matched TOF cluster
+ // AliESDTOFCluster *fClusterESD[20000]; // pointers to the TOF clusters for ESD
+ // AliESDTOFHit *fHit[20000];            // pointers to the TOF hits for ESD
+
+ ClassDef(AliTOFtracker, 9) // TOF tracker 
 };
 
 #endif