1 #ifndef ALIRICHRAWCLUSTER_H
2 #define ALIRICHRAWCLUSTER_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
14 class AliRICHRawCluster : public TObject {
16 Int_t fTracks[3]; //labels of overlapped tracks
17 Int_t fQ ; // Q of cluster (in ADC counts)
18 Float_t fX ; // X of cluster
19 Float_t fY ; // Y of cluster
20 Int_t fPeakSignal; // Charge in the peak
21 Int_t fIndexMap[50]; //indeces of digits
22 Int_t fOffsetMap[50]; // offset map
23 Float_t fContMap[50]; //Contribution from digit
24 Int_t fPhysicsMap[50]; // physics processes
25 Int_t fMultiplicity; //cluster multiplicity
26 Int_t fNcluster[2]; //number of clusters
27 Int_t fClusterType; //??
28 Int_t fCtype; //CL0, CL1, etc...
32 virtual ~AliRICHRawCluster() {}
34 Float_t GetRadius() {return TMath::Sqrt(fX*fX+fY*fY);}
36 Bool_t IsSortable() const {return kTRUE;}
37 Int_t Compare(const TObject *obj) const;
38 Int_t PhysicsContribution();
39 static Int_t BinarySearch(Float_t r, TArrayF coord, Int_t from, Int_t upto);
40 static void SortMin(Int_t *idx,Float_t *xdarray,Float_t *xarray,Float_t *yarray,Float_t *qarray,Int_t ntr);
42 ClassDef(AliRICHRawCluster,1) //Cluster object for set:RICH