]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHClusterFinder.h
AliCRTModule added
[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
9d6f9427 9#include "AliRICH.h"
543d5224 10class AliHitMap;
eaf390d9 11
cbaf35fb 12class AliRICHClusterFinder : public TTask
8265fa96 13{
eaf390d9 14public:
15 AliRICHClusterFinder(AliRICH *pRICH);
cbaf35fb 16 virtual ~AliRICHClusterFinder() {;}
543d5224 17
eaf390d9 18 AliRICH *Rich() {return fRICH;} //Pointer to RICH
9d6f9427 19 void Exec(); //Loop on events and chambers
ed3ceb24 20 void FindClusters(Int_t iChamber); //Find raw clusters
21 void FindClusterContribs(); //Find CombiPid for the current cluster
9d6f9427 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 the raw clusters
27 AliRICHcluster *GetCurrentCluster() {return &fCurrentCluster;} //Return pointer to the current cluster
28protected:
eaf390d9 29 AliRICH *fRICH; //Pointer to RICH
9d6f9427 30 AliHitMap *fHitMap; //Hit Map with digit positions
31 AliRICHcluster fCurrentCluster; //Current cluster to examine
eaf390d9 32 ClassDef(AliRICHClusterFinder,0) //Finds raw clusters, trasfers them to resolved clusters through declustering.
8265fa96 33};
34#endif