]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHClusterFinder.h
487efcb3b0b0393d05427b1dbf3d19ba439dc489
[u/mrichter/AliRoot.git] / RICH / AliRICHClusterFinder.h
1 #ifndef AliRICHClusterFinder_h
2 #define AliRICHClusterFinder_h
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 #include "TTask.h"
8
9 class AliRICH;
10 class AliHitMap;
11 class AliRICHcluster;
12 class AliRICHClusterFinder : public TTask
13 {
14 public:
15     
16   AliRICHClusterFinder(AliRICH *pRICH);
17   virtual ~AliRICHClusterFinder()                                          {;}
18   
19   void   Exec();                                                              //Loop on events and chambers  
20   void   FindRawClusters(Int_t iChamber);                                                   //Find initial clusters  
21   void   FindLocalMaxima(AliRICHcluster *pCluster);                           //Find local maxima in a cluster
22   void   ResolveCluster(AliRICHcluster *pCluster);                            //Try to resolve a cluster with maxima > 2
23   void   FormRawCluster(Int_t i, Int_t j, AliRICHcluster *pCluster);          //form a raw cluster
24   void   CoG();                                                               //Evaluate the CoG as the best  
25   void   WriteRawCluster(AliRICHcluster *pRawCluster);                        //write in the list of the raw clusters  
26   AliRICH *Rich() {return fRICH;}
27   
28   protected:
29       
30   AliRICH                *fRICH;  
31   AliHitMap              *fHitMap;                       //Hit Map with digit positions
32
33   ClassDef(AliRICHClusterFinder,0) //Class for clustering and reconstruction of space points    
34 };
35 #endif