1 #ifndef ALIMUONRAWCLUSTER_H
2 #define ALIMUONRAWCLUSTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
12 #include <TMath.h> // because of inline funtion GetRadius
14 class AliMUONRawCluster : public TObject {
17 Int_t fTracks[3]; //labels of overlapped tracks
18 Int_t fQ[2] ; // Q of cluster (in ADC counts)
19 Float_t fX[2] ; // X of cluster
20 Float_t fY[2] ; // Y of cluster
21 Float_t fZ[2] ; // Z of cluster
22 Int_t fPeakSignal[2]; // Peak signal
23 Int_t fIndexMap[50][2]; // indeces of digits
24 Int_t fOffsetMap[50][2]; // Emmanuel special
25 Float_t fContMap[50][2]; // Contribution from digit
26 Int_t fPhysicsMap[50]; // Distinguish signal and background contr.
27 Int_t fMultiplicity[2]; // Cluster multiplicity
28 Int_t fNcluster[2]; // Number of clusters
29 Int_t fClusterType; // Cluster type
30 Float_t fChi2[2]; // Chi**2 of fit
34 virtual ~AliMUONRawCluster() {}
35 Float_t GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
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 ccord, Int_t from, Int_t upto);
40 static void SortMin(Int_t *idx,Float_t *xdarray, Float_t *xarray,
41 Float_t *yarray, Float_t *qarray,Int_t ntr);
42 ClassDef(AliMUONRawCluster,1) //Cluster class for MUON