-public:
- class AliTOFcluster {
- public:
- AliTOFcluster(Double_t *h, Int_t *l,Int_t idx) {
- fR=h[0]; fPhi=h[1]; fZ=h[2]; fTDC=h[3]; fADC=h[4];
- fLab[0]=l[0]; fLab[1]=l[1]; fLab[2]=l[2];
- fIdx=idx;
- }
- void Use() {fADC=-fADC;}
-
- Double_t GetR() const {return fR;}
- Double_t GetPhi() const {return fPhi;}
- Double_t GetZ() const {return fZ;}
- Double_t GetTDC() const {return fTDC;}
- Double_t GetADC() const {return TMath::Abs(fADC);}
- Int_t IsUsed() const {return (fADC<0) ? 1 : 0;}
- Int_t GetLabel(Int_t n) const {return fLab[n];}
- Int_t GetIndex() const {return fIdx;}
- private:
- Int_t fLab[3]; //track labels
- Double_t fR; //r-coordinate
- Double_t fPhi; //phi-coordinate
- Double_t fZ; //z-coordinate
- Double_t fTDC; //TDC count
- Double_t fADC; //ADC count
- Int_t fIdx; //index of this cluster
- };
-