]>
Commit | Line | Data |
---|---|---|
c9787763 | 1 | #ifndef ALICOMPLEXCLUSTER_H |
2 | #define ALICOMPLEXCLUSTER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "TObject.h" | |
9 | ||
10 | class AliComplexCluster : public TObject { | |
11 | public: | |
12 | Int_t fTracks[3];//labels of overlapped tracks | |
13 | Float_t fX ; //Y of cluster | |
14 | Float_t fY ; //Z of cluster | |
15 | Float_t fQ ; //Q of cluster (in ADC counts) | |
16 | Float_t fSigmaX2; //Sigma Y square of cluster | |
17 | Float_t fSigmaY2; //Sigma Z square of cluster | |
18 | Float_t fSigmaXY; // XY moment | |
19 | Float_t fArea; //area of cluster | |
20 | Float_t fMax; //amplitude at maximum | |
21 | public: | |
22 | AliComplexCluster() { | |
23 | fTracks[0]=fTracks[1]=fTracks[2]=0; | |
24 | fX=fY=fQ=fSigmaX2=fSigmaY2=0.; | |
25 | } | |
26 | virtual ~AliComplexCluster() {;} | |
27 | Bool_t IsSortable() const; | |
5c84b1d4 | 28 | Int_t Compare(const TObject *o) const; |
c9787763 | 29 | ClassDef(AliComplexCluster,1) // Cluster manager |
30 | }; | |
31 | ||
32 | class AliDigitCluster : public AliComplexCluster { | |
33 | public: | |
34 | Int_t fNx; //number of accepted x bins | |
35 | Int_t fNy; //number of accepted y bins | |
36 | Float_t fMaxX; //maximum x bin | |
37 | Float_t fMaxY; //maximum y bin | |
38 | public: | |
39 | ClassDef(AliDigitCluster,1) // Tclusters | |
40 | }; | |
41 | ||
42 | class AliDifCluster : public AliDigitCluster { | |
43 | public: | |
44 | Float_t fDx; //delta x | |
45 | Float_t fDy; //delta y | |
46 | Float_t fAngleX;//x angle | |
47 | Float_t fAngleY;//y angle | |
48 | Float_t fOrigQ; //original charge | |
49 | Int_t fGenerTrack; //track number of nearest track | |
50 | ClassDef(AliDifCluster,1) // // Cluster manager | |
51 | }; | |
52 | ||
53 | #endif //ALICOMPLEXCLUSTER_H |