1 #ifndef AliRICHClusterFinder_h
2 #define AliRICHClusterFinder_h
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
12 class AliRICHClusterFinder : public TTask
15 AliRICHClusterFinder(AliRICH *pRICH);
16 virtual ~AliRICHClusterFinder() {;}
18 AliRICH *Rich() {return fRICH;} //Pointer to RICH
19 void Exec(); //Loop on events and chambers
20 void FindClusters(Int_t iChamber); //Find raw clusters
21 void FindClusterContribs(AliRICHcluster *pCluster); //Find CombiPid for the current cluster
22 void FormRawCluster(Int_t i, Int_t j); //form a raw cluster
23 void FindLocalMaxima(); //Find local maxima in a cluster
24 void ResolveCluster(); //Try to resolve a cluster with maxima > 2
25 void FitCoG(); //Evaluate the CoG as the best
26 void WriteRawCluster(); //write in the list of cluster
27 void WriteResolvedCluster(); //write in the list of cluster
28 AliRICHcluster *GetRawCluster() {return &fRawCluster;} //Return pointer to the current raw cluster
30 AliRICH *fRICH; //Pointer to RICH
31 AliHitMap *fHitMap; //Hit Map with digit positions
32 AliRICHcluster fRawCluster; //Current raw cluster before deconvolution
33 AliRICHcluster fResolvedCluster; //Current cluster after deconvolution
34 Int_t fNlocals; // number of local maxima
35 Double_t fLocalX[100],fLocalY[100]; // list of locals X,Y
36 Double_t fLocalQ[100]; // list of locals charge Q
37 Int_t fLocalC[100]; // list of locals CombiPid
38 ClassDef(AliRICHClusterFinder,0) //Finds raw clusters, trasfers them to resolved clusters through declustering.