#include "AliTracker.h"
#include "TObject.h"
-
+#include "AliESDTOFCluster.h"
+#include "AliESDTOFHit.h"
class TClonesArray;
class TObjArray;
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
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
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
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