]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 1 | #ifndef ALIMUONRAWCLUSTER_H |
2 | #define ALIMUONRAWCLUSTER_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | class TArrayF; | |
10 | ||
11 | #include <TObject.h> | |
12 | #include <TMath.h> | |
13 | ||
14 | class AliMUONRawCluster : public TObject { | |
15 | public: | |
16 | ||
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 | Int_t fPeakSignal[2]; // Peak signal | |
22 | Int_t fIndexMap[50][2]; // indeces of digits | |
23 | Int_t fOffsetMap[50][2]; // Emmanuel special | |
24 | Float_t fContMap[50][2]; // Contribution from digit | |
25 | Int_t fPhysicsMap[50]; // Distinguish signal and background contr. | |
26 | Int_t fMultiplicity[2]; // Cluster multiplicity | |
27 | Int_t fNcluster[2]; // Number of clusters | |
28 | Int_t fClusterType; // Cluster type | |
29 | Float_t fChi2[2]; // Chi**2 of fit | |
30 | ||
31 | public: | |
32 | AliMUONRawCluster(); | |
33 | virtual ~AliMUONRawCluster() {} | |
34 | Float_t GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);} | |
35 | Bool_t IsSortable() const {return kTRUE;} | |
36 | Int_t Compare(TObject *obj); | |
37 | Int_t PhysicsContribution(); | |
38 | static Int_t BinarySearch(Float_t r, TArrayF ccord, Int_t from, Int_t upto); | |
39 | static void SortMin(Int_t *idx,Float_t *xdarray, Float_t *xarray, | |
40 | Float_t *yarray, Float_t *qarray,Int_t ntr); | |
a1001283 | 41 | ClassDef(AliMUONRawCluster,1) //Cluster class for MUON |
a9e2aefa | 42 | }; |
43 | #endif | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 |