]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliCluster.h
Removal of useless dependencies via forward declarations
[u/mrichter/AliRoot.git] / STEER / AliCluster.h
CommitLineData
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//_____________________________________________________________________________
15class AliCluster : public TObject {
16public:
17 AliCluster();
18 AliCluster(Int_t *lab, Float_t *hit);
19 void SetLabel(Int_t lab, Int_t i) {fTracks[i]=lab;}
20 void SetY(Float_t y) {fY=y;}
21 void SetZ(Float_t z) {fZ=z;}
22 void SetSigmaY2(Float_t sy2) {fSigmaY2=sy2;}
23 void SetSigmaZ2(Float_t sz2) {fSigmaZ2=sz2;}
24
25 Int_t GetLabel(Int_t i) const {return fTracks[i];}
26 Float_t GetY() const {return fY;}
27 Float_t GetZ() const {return fZ;}
28 Float_t GetSigmaY2() const {return fSigmaY2;}
29 Float_t GetSigmaZ2() const {return fSigmaZ2;}
30
31protected:
32 Int_t fTracks[3];//labels of overlapped tracks
33 Float_t fY ; //Y of cluster
34 Float_t fZ ; //Z of cluster
35 Float_t fSigmaY2; //Sigma Y square of cluster
36 Float_t fSigmaZ2; //Sigma Z square of cluster
37
38 ClassDef(AliCluster,1) // Time Projection Chamber clusters
39};
40
41#endif
42
43