Implementation of new ClusterFinder
[u/mrichter/AliRoot.git] / RICH / AliRICHClusterFinder.h
CommitLineData
543d5224 1#ifndef AliRICHClusterFinder_h
2#define AliRICHClusterFinder_h
8265fa96 3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
cbaf35fb 7#include "TTask.h"
543d5224 8
cbaf35fb 9class AliRICH;
543d5224 10class AliHitMap;
cbaf35fb 11class AliRICHcluster;
12class AliRICHClusterFinder : public TTask
8265fa96 13{
543d5224 14public:
cbaf35fb 15
543d5224 16 AliRICHClusterFinder(AliRICH *pRICH);
cbaf35fb 17 virtual ~AliRICHClusterFinder() {;}
543d5224 18
cbaf35fb 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;}
543d5224 27
cbaf35fb 28 protected:
29
543d5224 30 AliRICH *fRICH;
543d5224 31 AliHitMap *fHitMap; //Hit Map with digit positions
cbaf35fb 32
543d5224 33 ClassDef(AliRICHClusterFinder,0) //Class for clustering and reconstruction of space points
8265fa96 34};
35#endif