42b9724e0b7367c9d47c0253e5c64a3e4c0eec0a
[u/mrichter/AliRoot.git] / PMD / AliPMDtracker.h
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 //-----------------------------------------------------//
6 //                                                     //
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)     // 
11 //                                                     //
12 //-----------------------------------------------------//
13
14 class TClonesArray;
15 class TObjArray;
16 class TTree;
17
18 class AliPMDcluster;
19 class AliPMDclupid;
20 class AliPMDrecpoint1;
21 class AliPMDUtility;
22 class AliPMDDiscriminator;
23
24 class AliESD;
25
26 class AliPMDtracker:public TObject
27 {
28
29  public:
30
31   AliPMDtracker();
32   virtual ~AliPMDtracker();
33
34   void LoadClusters(TTree *treein);
35   void Clusters2Tracks(AliESD *event);
36   void SetVertex(Double_t vtx[3], Double_t evtx[3]);
37   void ResetClusters();
38
39  protected:
40
41   TTree        *fTreeR;     // Reconstructed points
42   TClonesArray *fRecpoints; // List of reconstructed points
43   TObjArray    *fPMDcontin;
44   TObjArray    *fPMDcontout;
45
46   AliPMDUtility       *fPMDutil;
47   AliPMDrecpoint1     *fPMDrecpoint;
48   AliPMDrecpoint1     *fPMDclin;
49   AliPMDclupid        *fPMDclout;
50
51   Double_t fXvertex;        // X-vertex position
52   Double_t fYvertex;        // Y-vertex position
53   Double_t fZvertex;        // Z-vertex position
54   Double_t fSigmaX;         // X-vertex error
55   Double_t fSigmaY;         // Y-vertex error
56   Double_t fSigmaZ;         // Z-vertex error
57
58   ClassDef(AliPMDtracker,3) // To run PMD clustering
59 };
60 #endif
61