1 #ifndef ALIITSRECPOINT_H
2 #define ALIITSRECPOINT_H
4 ////////////////////////////////////////////////////
5 // Reconstructed space point class for set:ITS //
6 ////////////////////////////////////////////////////
11 class AliITSRecPoint : public TObject {
18 fTracks[0]=fTracks[1]=fTracks[2]=-3;
24 virtual ~AliITSRecPoint() {}; // distructor
25 Bool_t IsSortable() const {return kTRUE;} // allows for sorting
26 Int_t * GetTracks() {return fTracks;} // returns pointer to tracks
27 Float_t GetX(){return fX;} // gets fX
28 Float_t GetZ(){return fZ;} // gets fZ
29 Float_t GetQ(){return fQ;} // gets fQ
30 Float_t GetdEdX(){return fdEdX;} // gets fdEdX
31 Float_t GetSigmaX2(){return fSigmaX2;} // gets fSigmaX2
32 Float_t GetSigmaZ2(){return fSigmaZ2;} // gets fSigmaZ2
33 Float_t GetProbability(){return fProbability;} // gets fProbability
34 void SetX(Float_t x){fX=x;} // sets fX
35 void SetZ(Float_t z){fZ=z;} // sets fZ
36 void SetQ(Float_t q){fQ=q;} // sets fQ
37 void SetdEdX(Float_t dedx){fdEdX=dedx;} // sets fdEdX
38 void SetSigmaX2(Float_t sx2){fSigmaX2=sx2;} // sets fSigmaX2
39 void SetSigmaZ2(Float_t sz2){fSigmaZ2=sz2;} // sets fSigmaZ2
40 void SetProbability(Float_t p){fProbability = p;} // sets fProbability
42 //if fQ<0 cluster is already associated with a track
45 Int_t IsUsed() const {return (fQ<0) ? 1 : 0;} // checks Use condision
46 Int_t Compare(TObject *o) {
52 Int_t fTracks[3]; //labels of overlapped tracks
53 Float_t fX ; //X of cluster
54 Float_t fZ ; //Z of cluster
55 Float_t fQ ; //Q of cluster (in ADC counts)
56 Float_t fdEdX; //dE/dX inside this cluster
57 Float_t fSigmaX2; //Sigma X square of cluster
58 Float_t fSigmaZ2; //Sigma Z square of cluster
60 Float_t fProbability; // only temporary solution! - it will be out
62 // that this is a "real" point in SSD
64 ClassDef(AliITSRecPoint,1) // AliITSRecPoint class