1 #ifndef ALITRDCLUSTER_H
2 #define ALITRDCLUSTER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 class AliTRDcluster : public TObject {
17 AliTRDcluster(AliTRDrecPoint *rp);
18 AliTRDcluster(AliTRDcluster *cl);
20 Int_t GetDetector() const { return fDetector; };
21 Int_t GetLocalTimeBin() const { return fTimeBin; }
23 Float_t GetSigmaY2() const { return fSigmaY2; }
24 Float_t GetSigmaZ2() const { return fSigmaZ2; }
25 Float_t GetY() const { return fY; }
26 Float_t GetZ() const { return fZ; }
27 Float_t GetQ() const { return fQ; }
29 Int_t IsUsed() const { return (fQ<0) ? 1 : 0; }
30 void Use() { fQ=-fQ; }
31 Int_t GetTrackIndex(Int_t i) const { return fTracks[i]; }
33 void SetSigmaY2(Float_t s) { fSigmaY2 = s; }
34 void SetSigmaZ2(Float_t s) { fSigmaZ2 = s; }
39 Int_t fDetector; // TRD detector number
40 Int_t fTimeBin; // Time bin number within the detector
42 Int_t fTracks[3]; // labels of overlapped tracks
43 Float_t fQ; // amplitude
44 Float_t fY; // local Rphi coordinate (cm) within tracking sector
45 Float_t fZ; // local Z coordinate (cm) within tracking sector
46 Float_t fSigmaY2; // Y variance (cm)
47 Float_t fSigmaZ2; // Z variance (cm)
50 ClassDef(AliTRDcluster,1) // Reconstructed point for the TRD