get tables from the aliroot directory if they are not in the current one
[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
07cfabcf 31 Int_t fGhost; // 0 if not a ghost or ghost problem solved
32 // >0 if ghost problem remains because
33 // 1 both (true and ghost) satify
34 // charge chi2 compatibility
35 // 2 none give satisfactory chi2
a9e2aefa 36 public:
37 AliMUONRawCluster();
38 virtual ~AliMUONRawCluster() {}
39 Float_t GetRadius(Int_t i) {return TMath::Sqrt(fX[i]*fX[i]+fY[i]*fY[i]);}
40 Bool_t IsSortable() const {return kTRUE;}
2a941f4e 41 Int_t Compare(const TObject *obj) const;
a9e2aefa 42 Int_t PhysicsContribution();
43 static Int_t BinarySearch(Float_t r, TArrayF ccord, Int_t from, Int_t upto);
44 static void SortMin(Int_t *idx,Float_t *xdarray, Float_t *xarray,
45 Float_t *yarray, Float_t *qarray,Int_t ntr);
07cfabcf 46 void DumpIndex();
47
a1001283 48 ClassDef(AliMUONRawCluster,1) //Cluster class for MUON
a9e2aefa 49};
50#endif
51
52
53
54
55
56