]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDtracker.h
Introduce extern for the common block references
[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   AliPMDDiscriminator *fPMDdiscriminator;
47   AliPMDUtility       *fPMDutil;
48   AliPMDrecpoint1     *fPMDrecpoint;
49   AliPMDcluster       *fPMDclin;
50   AliPMDclupid        *fPMDclout;
51
52   Double_t fXvertex;        // X-vertex position
53   Double_t fYvertex;        // Y-vertex position
54   Double_t fZvertex;        // Z-vertex position
55   Double_t fSigmaX;         // X-vertex error
56   Double_t fSigmaY;         // Y-vertex error
57   Double_t fSigmaZ;         // Z-vertex error
58
59   ClassDef(AliPMDtracker,2) // To run PMD clustering
60 };
61 #endif
62