1 #ifndef ALIPMDTRACKER_H
2 #define ALIPMDTRACKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //-----------------------------------------------------//
7 // Date : August 05 2003 //
8 // This reads the file PMD.digits.root(TreeD), //
9 // calls the Clustering algorithm and stores the //
10 // clustering output in PMD.RecPoints.root(TreeR) //
12 //-----------------------------------------------------//
20 class AliPMDrecpoint1;
24 class AliPMDDiscriminator;
28 class AliPMDtracker:public TObject
34 AliPMDtracker(const AliPMDtracker &tracker); // copy constructor
35 AliPMDtracker &operator=(const AliPMDtracker &tracker); // assignment op
37 virtual ~AliPMDtracker();
39 void LoadClusters(TTree *treein);
40 void Clusters2Tracks(AliESDEvent *event);
41 void AssignTrPidToCluster(Int_t nentry, Int_t *itra, Int_t *ipid,
42 Float_t *cadc, Int_t &trackno, Int_t &trackpid);
44 void SetVertex(Double_t vtx[3], Double_t evtx[3]);
49 TTree *fTreeR; // Reconstructed points
50 TClonesArray *fRecpoints; // List of reconstructed points
51 TClonesArray *fRechits; // List of cells associated with a cluster
52 TObjArray *fPMDcontin;
53 TObjArray *fPMDcontout;
55 AliPMDUtility *fPMDutil;
56 AliPMDrecpoint1 *fPMDrecpoint;
57 AliPMDrecdata *fPMDclin;
58 AliPMDclupid *fPMDclout;
60 Double_t fXvertex; // X-vertex position
61 Double_t fYvertex; // Y-vertex position
62 Double_t fZvertex; // Z-vertex position
63 Double_t fSigmaX; // X-vertex error
64 Double_t fSigmaY; // Y-vertex error
65 Double_t fSigmaZ; // Z-vertex error
67 ClassDef(AliPMDtracker,5) // To run PMD clustering