]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDtracker.h
macro to make digits
[u/mrichter/AliRoot.git] / PMD / AliPMDtracker.h
CommitLineData
7dcaf913 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
14class TClonesArray;
15class TFile;
16class TObjArray;
17class TTree;
18class TNtuple;
19class TMath;
20class TBranch;
21
22class AliPMDcluster;
23class AliPMDclupid;
24class AliPMDrecpoint1;
25class AliPMDUtility;
26class AliPMDDiscriminator;
27
28class AliESDPmdTrack;
29class AliESD;
30
31class AliPMDtracker
32{
33
34 public:
35
36 AliPMDtracker();
37 virtual ~AliPMDtracker();
38
39 void LoadClusters(TTree *treein);
40 void Clusters2Tracks(AliESD *event);
41 void SetVertex(Double_t vtx[3], Double_t evtx[3]);
42 void SetDebug(Int_t idebug);
43 void ResetClusters();
44
45 protected:
46
47 TTree *fTreeR; // Reconstructed points
48 TClonesArray *fRecpoints; // List of reconstructed points
49 TObjArray *fPMDcontin;
50 TObjArray *fPMDcontout;
51
52 AliPMDDiscriminator *fPMDdiscriminator;
53 AliPMDUtility *fPMDutil;
54 AliPMDrecpoint1 *fPMDrecpoint;
55 AliPMDcluster *fPMDclin;
56 AliPMDclupid *fPMDclout;
57
58 Int_t fDebug; // Debugging switch (0:NO, 1:YES)
59 Double_t fXvertex; // X-vertex position
60 Double_t fYvertex; // Y-vertex position
61 Double_t fZvertex; // Z-vertex position
62 Double_t fSigmaX; // X-vertex error
63 Double_t fSigmaY; // Y-vertex error
64 Double_t fSigmaZ; // Z-vertex error
65
66 ClassDef(AliPMDtracker,1) // To run PMD clustering
67};
68#endif
69