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...
31 fTracks[0]=fTracks[1]=fTracks[2]=-1;
32 fQ=0; fX=fY=0; fMultiplicity=0;
33 for (int k=0;k<50;k++) {
40 fNcluster[0]=fNcluster[1]=-1;
42 virtual ~AliRICHRawCluster() {}
44 Float_t GetRadius() {return TMath::Sqrt(fX*fX+fY*fY);}
46 Bool_t IsSortable() const {return kTRUE;}
47 Int_t Compare(TObject *obj);
48 Int_t PhysicsContribution();
49 static Int_t BinarySearch(Float_t r, TArrayF coord, Int_t from, Int_t upto);
50 static void SortMin(Int_t *idx,Float_t *xdarray,Float_t *xarray,Float_t *yarray,Float_t *qarray,Int_t ntr);
52 ClassDef(AliRICHRawCluster,1) //Cluster object for set:RICH