]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDtracker.h
Stand-alone library for ESD. Possibility to use only root and lidESD.so for analysis...
[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
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 SetDebug(Int_t idebug);
38   void ResetClusters();
39
40  protected:
41
42   TTree        *fTreeR;     // Reconstructed points
43   TClonesArray *fRecpoints; // List of reconstructed points
44   TObjArray    *fPMDcontin;
45   TObjArray    *fPMDcontout;
46
47   AliPMDDiscriminator *fPMDdiscriminator;
48   AliPMDUtility       *fPMDutil;
49   AliPMDrecpoint1     *fPMDrecpoint;
50   AliPMDcluster       *fPMDclin;
51   AliPMDclupid        *fPMDclout;
52
53   Int_t    fDebug;          // Debugging switch (0:NO, 1:YES)
54   Double_t fXvertex;        // X-vertex position
55   Double_t fYvertex;        // Y-vertex position
56   Double_t fZvertex;        // Z-vertex position
57   Double_t fSigmaX;         // X-vertex error
58   Double_t fSigmaY;         // Y-vertex error
59   Double_t fSigmaZ;         // Z-vertex error
60
61   ClassDef(AliPMDtracker,1) // To run PMD clustering
62 };
63 #endif
64