]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSclusterTable.h
- Compute parameter covariances including absorber dispersion effects
[u/mrichter/AliRoot.git] / ITS / AliITSclusterTable.h
1 #ifndef ALIITSCLUSTERTABLE_H
2 #define ALIITSCLUSTERTABLE_H 
3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 //////////////////////////////////////////////////////////////////////////
6 // Class used to simplify some operations with clusters.                 //
7 // -Function FillArray fills an array wich contains, for each            //
8 //  ITS module, an array with the indices of all the clusters detected   //
9 //  by the module. The indices correspond to the cluster indices in class// 
10 //  AliITSlayer of AliITStrackerV2.                                      //
11 //  This function is used in AliITStrackerSA::FindTracks.                // 
12 // -Function FillArrayLabel fills an array wich contains, for each       //
13 //  particle label, and for each layer, the information on clusters:     //
14 //  0 if there is no cluster, 1 if there is a cluster with this label.   //
15 //  This function is used to define trackable tracks.                    //   
16 ///////////////////////////////////////////////////////////////////////////
17
18
19 #include <TObject.h>
20
21
22 class AliITSclusterTable : public TObject {
23
24
25  public:
26
27   AliITSclusterTable();
28   AliITSclusterTable(Float_t x, Float_t y, Float_t z, Float_t sx, Float_t sy, Float_t sz, Double_t phi, Double_t lambda, Int_t index);
29   virtual ~AliITSclusterTable(){;}
30
31   Int_t   GetOrInd() const {return fOrInd;}
32   Float_t GetX() const {return fX;}
33   Float_t GetY() const {return fY;}
34   Float_t GetZ() const {return fZ;}
35   Float_t GetSx() const {return fSx;}
36   Float_t GetSy() const {return fSy;}
37   Float_t GetSz() const {return fSz;}
38   Float_t GetPhi() const {return fPhi;}
39   Float_t GetLambda() const {return fLam;}
40
41  protected: 
42
43   Int_t   fOrInd; //! original index in tracker
44   Float_t fX;  //!x of cluster 
45   Float_t fY;  //!y of cluster
46   Float_t fZ;  //!z of cluster
47   Float_t fSx; //! error on x
48   Float_t fSy; //! error on y
49   Float_t fSz; //! error on z
50   Double_t fPhi; //! azimuthal angle
51   Double_t fLam; //! lambda angle
52
53   ClassDef(AliITSclusterTable,2)
54 };
55
56 #endif
57
58
59