Another histos for lumi
[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;
7dcaf913 15class TObjArray;
16class TTree;
7dcaf913 17
18class AliPMDcluster;
19class AliPMDclupid;
20class AliPMDrecpoint1;
b0e4d1e1 21class AliPMDrecdata;
22class AliPMDrechit;
7dcaf913 23class AliPMDUtility;
24class AliPMDDiscriminator;
25
af885e0f 26class AliESDEvent;
7dcaf913 27
ecee2a1a 28class AliPMDtracker:public TObject
7dcaf913 29{
30
31 public:
32
33 AliPMDtracker();
a48edddd 34 AliPMDtracker(const AliPMDtracker &tracker); // copy constructor
35 AliPMDtracker &operator=(const AliPMDtracker &tracker); // assignment op
36
7dcaf913 37 virtual ~AliPMDtracker();
38
39 void LoadClusters(TTree *treein);
af885e0f 40 void Clusters2Tracks(AliESDEvent *event);
b0e4d1e1 41 void AssignTrPidToCluster(Int_t nentry, Int_t *itra, Int_t *ipid,
42 Float_t *cadc, Int_t &trackno, Int_t &trackpid);
43
7dcaf913 44 void SetVertex(Double_t vtx[3], Double_t evtx[3]);
7dcaf913 45 void ResetClusters();
46
47 protected:
48
49 TTree *fTreeR; // Reconstructed points
50 TClonesArray *fRecpoints; // List of reconstructed points
b0e4d1e1 51 TClonesArray *fRechits; // List of cells associated with a cluster
7dcaf913 52 TObjArray *fPMDcontin;
53 TObjArray *fPMDcontout;
54
7dcaf913 55 AliPMDUtility *fPMDutil;
56 AliPMDrecpoint1 *fPMDrecpoint;
b0e4d1e1 57 AliPMDrecdata *fPMDclin;
7dcaf913 58 AliPMDclupid *fPMDclout;
59
7dcaf913 60 Double_t fXvertex; // X-vertex position
61 Double_t fYvertex; // Y-vertex position
62 Double_t fZvertex; // Z-vertex position
63 Double_t fSigmaX; // X-vertex error
64 Double_t fSigmaY; // Y-vertex error
65 Double_t fSigmaZ; // Z-vertex error
66
b0e4d1e1 67 ClassDef(AliPMDtracker,5) // To run PMD clustering
7dcaf913 68};
69#endif
70