]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDtracker.h
bug fixed in decoding pedestal mean and rms
[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 AliESDEvent;
25
26 class AliPMDtracker:public TObject
27 {
28
29  public:
30
31   AliPMDtracker();
32   AliPMDtracker(const AliPMDtracker &tracker);  // copy constructor
33   AliPMDtracker &operator=(const AliPMDtracker &tracker); // assignment op
34
35   virtual ~AliPMDtracker();
36
37   void LoadClusters(TTree *treein);
38   void Clusters2Tracks(AliESDEvent *event);
39   void SetVertex(Double_t vtx[3], Double_t evtx[3]);
40   void ResetClusters();
41
42  protected:
43
44   TTree        *fTreeR;     // Reconstructed points
45   TClonesArray *fRecpoints; // List of reconstructed points
46   TObjArray    *fPMDcontin;
47   TObjArray    *fPMDcontout;
48
49   AliPMDUtility       *fPMDutil;
50   AliPMDrecpoint1     *fPMDrecpoint;
51   AliPMDrecpoint1     *fPMDclin;
52   AliPMDclupid        *fPMDclout;
53
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,4) // To run PMD clustering
62 };
63 #endif
64