]>
Commit | Line | Data |
---|---|---|
237c933d | 1 | #ifndef ALIRICHRAWCLUSTER_H |
2 | #define ALIRICHRAWCLUSTER_H | |
3 | ||
4 | ||
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | /* $Id$ */ | |
9 | #include <TObject.h> | |
10 | #include <TMath.h> | |
11 | #include <TArrayF.h> | |
12 | ||
13 | ||
14 | class AliRICHRawCluster : public TObject { | |
15 | public: | |
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... | |
29 | public: | |
8a235e5c | 30 | |
31 | AliRICHRawCluster(); | |
237c933d | 32 | virtual ~AliRICHRawCluster() {} |
33 | ||
34 | Float_t GetRadius() {return TMath::Sqrt(fX*fX+fY*fY);} | |
35 | ||
36 | Bool_t IsSortable() const {return kTRUE;} | |
37 | Int_t Compare(TObject *obj); | |
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); | |
41 | ||
42 | ClassDef(AliRICHRawCluster,1) //Cluster object for set:RICH | |
43 | }; | |
44 | #endif |