#ifndef ALITOFTRACKERMI_H
#define ALITOFTRACKERMI_H
+
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-// AliTOFtrackerMI Class
-// Task: Perform association of the ESD tracks to TOF Clusters
-// and Update ESD track with associated TOF Cluster parameters
-//
-//--------------------------------------------------------------------
/* $Id$ */
+//-----------------------------------------------------------------//
+// //
+// AliTOFtrackerMI Class //
+// Task: Perform association of the ESD tracks to TOF Clusters //
+// and Update ESD track with associated TOF Cluster parameters //
+// //
+//-----------------------------------------------------------------//
+
#include "AliTracker.h"
-#include "AliTOFpidESD.h"
-#include "AliESD.h"
-#include "TClonesArray.h"
+//#include "AliTOFpidESD.h"
+
+class TTreeSRedirector;
+class TClonesArray;
+
+class AliESDEvent;
+
+class AliTOFcluster;
+class AliTOFRecoParam;
class AliTOFGeometry;
class AliTOFtrack;
-class AliTOFcluster;
-class TTreeSRedirector;
+class AliTOFpidESD;
class AliTOFtrackerMI : public AliTracker {
public:
- AliTOFtrackerMI(AliTOFGeometry* geom, Double_t parPID[2]);
+ AliTOFtrackerMI();
AliTOFtrackerMI(const AliTOFtrackerMI &t); //Copy Ctor
+ AliTOFtrackerMI& operator=(const AliTOFtrackerMI &source); // ass. op.
+
// virtual ~AliTOFtrackerMI() {delete fTOFpid;}
virtual ~AliTOFtrackerMI();
- virtual Int_t Clusters2Tracks(AliESD* /*event*/) {return -1;};
- virtual Int_t PropagateBack(AliESD* event);
- virtual Int_t RefitInward(AliESD* /*event*/) {return -1;};
- virtual Int_t LoadClusters(TTree *dTree); // Loading Clusters from Digits
- virtual void UnloadClusters();// UnLoad Clusters
- virtual AliCluster *GetCluster(Int_t /*index*/) const {return NULL;};
- void GetLikelihood(Float_t dy, Float_t dz, const Double_t *cov, AliTOFtrack * track, Float_t & py, Float_t &pz);
+ virtual Int_t Clusters2Tracks(AliESDEvent* /*event*/) {return -1;};
+ virtual Int_t PropagateBack(AliESDEvent* event);
+ virtual Int_t RefitInward(AliESDEvent* /*event*/) {return -1;};
+ virtual Int_t LoadClusters(TTree *dTree); // Loading Clusters from Digits
+ virtual void UnloadClusters();// UnLoad Clusters
+ virtual AliCluster *GetCluster(Int_t /*index*/) const {return NULL;};
+ void GetLikelihood(Float_t dy, Float_t dz, const Double_t *cov, AliTOFtrack * track, Float_t & py, Float_t &pz);
public:
/* class AliTOFcluster { */
/* friend class AliTOFtrackerMI; */
private:
- Int_t InsertCluster(AliTOFcluster *c); // Fills TofClusters Array
- Int_t FindClusterIndex(Double_t z) const; // Returns cluster index
- void MatchTracks(Bool_t mLastStep); // Matching Algorithm
- void MatchTracksMI(Bool_t mLastStep); // Matching Algorithm
- void CollectESD(); // Select starting Set for Matching
- void Init();
- Float_t GetLinearDistances(AliTOFtrack * track, AliTOFcluster *cluster, Float_t distances[5]);
- AliTOFGeometry* fGeom; // Pointer to TOF geometry
- AliTOFpidESD* fTOFpid; // Pointer to TOF PID
- AliTOFcluster *fClusters[kMaxCluster]; // pointers to the TOF clusters
-
- Bool_t fHoles; // flag for Geometry Version(w/wo Holes) temporary!
- Int_t fN; // Number of Clusters
- Int_t fNseeds; // Number of track seeds
- Int_t fNseedsTOF; // TPC BP tracks
- Int_t fngoodmatch; // Correctly matched tracks
- Int_t fnbadmatch; // Wrongly matched tracks
- Int_t fnunmatch; // Unmatched tracks
- Int_t fnmatch; // Total matched tracks
+ Int_t InsertCluster(AliTOFcluster *c); // Fills TofClusters Array
+ Int_t FindClusterIndex(Double_t z) const; // Returns cluster index
+ void MatchTracks(Bool_t mLastStep); // Matching Algorithm
+ void MatchTracksMI(Bool_t mLastStep); // Matching Algorithm
+ void CollectESD(); // Select starting Set for Matching
+ //void Init();
+ Float_t GetLinearDistances(AliTOFtrack * track, AliTOFcluster *cluster, Float_t distances[5]);
+ AliTOFRecoParam* fRecoParam; // Pointer to TOF Recontr. Params
+ AliTOFGeometry* fGeom; // Pointer to TOF geometry
+ AliTOFpidESD* fPid; // Pointer to TOF PID
+ AliTOFcluster *fClusters[kMaxCluster]; // pointers to the TOF clusters
+
+ Int_t fN; // Number of Clusters
+ Int_t fNseeds; // Number of track seeds
+ Int_t fNseedsTOF; // TPC BP tracks
+ Int_t fngoodmatch; // Correctly matched tracks
+ Int_t fnbadmatch; // Wrongly matched tracks
+ Int_t fnunmatch; // Unmatched tracks
+ Int_t fnmatch; // Total matched tracks
- Float_t fR; // Intermediate radius in TOF, used in matching
- Float_t fTOFHeigth; // Inner TOF radius for propagation
- Float_t fdCut; // Cut on minimum distance track-pad in matching
- Float_t fDx; // Pad Size in X
- Float_t fDy; // Pad Size in Y (== X TOF convention)
- Float_t fDz; // Pad Size in Z
- TClonesArray* fTracks; //! pointer to the TClonesArray with TOF tracks
- TClonesArray* fSeeds; //! pointer to the TClonesArray with ESD tracks
- TTreeSRedirector *fDebugStreamer; //!debug streamer
- ClassDef(AliTOFtrackerMI, 1) // TOF trackerMI
+ Float_t fR; // Intermediate radius in TOF, used in matching
+ Float_t fTOFHeigth; // Inner TOF radius for propagation
+ Float_t fdCut; // Cut on minimum distance track-pad in matching
+ Float_t fDx; // Pad Size in X
+ Float_t fDy; // Pad Size in Y (== X TOF convention)
+ Float_t fDz; // Pad Size in Z
+ TClonesArray* fTracks; //! pointer to the TClonesArray with TOF tracks
+ TClonesArray* fSeeds; //! pointer to the TClonesArray with ESD tracks
+ TTreeSRedirector *fDebugStreamer; //!debug streamer
+ ClassDef(AliTOFtrackerMI, 1) // TOF trackerMI
};
#endif
-
-