]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RICH/AliRICHClusterFinder.h
AliRICHcluster chamber-sector adjastment
[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
13 class AliRICHClusterFinder : public TTask
14 {
15 public:    
16            AliRICHClusterFinder(AliRICH *pRICH);
17   virtual ~AliRICHClusterFinder()                                          {;}
18   
19   AliRICH *Rich() {return fRICH;}                                             //Pointer to RICH  
20   void     Exec();                                                              //Loop on events and chambers  
21   void     FindRawClusters(Int_t iChamber);                                     //Find raw clusters  
22   void     FormRawCluster(Int_t i, Int_t j, AliRICHcluster &cluster);           //form a raw cluster
23   void     FindLocalMaxima(AliRICHcluster &cluster);                            //Find local maxima in a cluster
24   void     ResolveCluster(AliRICHcluster  &cluster);                            //Try to resolve a cluster with maxima > 2
25   void     CoG();                                                               //Evaluate the CoG as the best  
26   void     WriteRawCluster(AliRICHcluster &cluster);                            //write in the list of the raw clusters  
27 protected:      
28   AliRICH                *fRICH;                         //Pointer to RICH
29   AliHitMap              *fHitMap;                       //Hit Map with digit positions  
30   ClassDef(AliRICHClusterFinder,0) //Finds raw clusters, trasfers them to resolved clusters through declustering.
31 };
32 #endif