]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONRawCluster.h
Use access functions to AliMUONDigit member data.
[u/mrichter/AliRoot.git] / MUON / AliMUONRawCluster.h
CommitLineData
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
9class TArrayF;
10
11#include <TObject.h>
ecfa008b 12#include <TMath.h> // because of inline funtion GetRadius
a9e2aefa 13
14class AliMUONRawCluster : public TObject {
15public:
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
3e1872ed 21 Float_t fZ[2] ; // Z of cluster
a9e2aefa 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
31
32 public:
33 AliMUONRawCluster();
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);
a1001283 42 ClassDef(AliMUONRawCluster,1) //Cluster class for MUON
a9e2aefa 43};
44#endif
45
46
47
48
49
50