New class replacing AliCluster
[u/mrichter/AliRoot.git] / TPC / AliComplexCluster.h
CommitLineData
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
10class AliComplexCluster : public TObject {
11public:
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
21public:
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;
28 Int_t Compare(TObject *o) ;
29 ClassDef(AliComplexCluster,1) // Cluster manager
30};
31
32class AliDigitCluster : public AliComplexCluster {
33public:
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
38public:
39 ClassDef(AliDigitCluster,1) // Tclusters
40};
41
42class AliDifCluster : public AliDigitCluster {
43public:
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