]>
Commit | Line | Data |
---|---|---|
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 | 9 | class AliRICH; |
543d5224 | 10 | class AliHitMap; |
cbaf35fb | 11 | class AliRICHcluster; |
eaf390d9 | 12 | |
cbaf35fb | 13 | class AliRICHClusterFinder : public TTask |
8265fa96 | 14 | { |
eaf390d9 | 15 | public: |
16 | AliRICHClusterFinder(AliRICH *pRICH); | |
cbaf35fb | 17 | virtual ~AliRICHClusterFinder() {;} |
543d5224 | 18 | |
eaf390d9 | 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 | |
b8527a0e | 25 | //PH void CoG(); //Evaluate the CoG as the best |
eaf390d9 | 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. | |
8265fa96 | 31 | }; |
32 | #endif |