]>
Commit | Line | Data |
---|---|---|
87594435 | 1 | #ifndef ALICLUSTER_H |
2 | #define ALICLUSTER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //------------------------------------------------------------------------- | |
7 | // Class AliCluster | |
8 | // | |
9 | // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch | |
10 | //------------------------------------------------------------------------- | |
11 | ||
12 | #include <TObject.h> | |
13 | ||
14 | //_____________________________________________________________________________ | |
15 | class AliCluster : public TObject { | |
16 | public: | |
17 | AliCluster(); | |
be9c5115 | 18 | virtual ~AliCluster() {;} |
87594435 | 19 | AliCluster(Int_t *lab, Float_t *hit); |
20 | void SetLabel(Int_t lab, Int_t i) {fTracks[i]=lab;} | |
21 | void SetY(Float_t y) {fY=y;} | |
22 | void SetZ(Float_t z) {fZ=z;} | |
23 | void SetSigmaY2(Float_t sy2) {fSigmaY2=sy2;} | |
24 | void SetSigmaZ2(Float_t sz2) {fSigmaZ2=sz2;} | |
25 | ||
26 | Int_t GetLabel(Int_t i) const {return fTracks[i];} | |
27 | Float_t GetY() const {return fY;} | |
28 | Float_t GetZ() const {return fZ;} | |
29 | Float_t GetSigmaY2() const {return fSigmaY2;} | |
30 | Float_t GetSigmaZ2() const {return fSigmaZ2;} | |
31 | ||
be9c5115 | 32 | virtual void Use() = 0; |
33 | ||
87594435 | 34 | protected: |
35 | Int_t fTracks[3];//labels of overlapped tracks | |
36 | Float_t fY ; //Y of cluster | |
37 | Float_t fZ ; //Z of cluster | |
38 | Float_t fSigmaY2; //Sigma Y square of cluster | |
39 | Float_t fSigmaZ2; //Sigma Z square of cluster | |
40 | ||
41 | ClassDef(AliCluster,1) // Time Projection Chamber clusters | |
42 | }; | |
43 | ||
44 | #endif | |
45 | ||
46 |