]>
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 | |
9d6f9427 | 9 | #include "AliRICH.h" |
543d5224 | 10 | class AliHitMap; |
eaf390d9 | 11 | |
cbaf35fb | 12 | class AliRICHClusterFinder : public TTask |
8265fa96 | 13 | { |
eaf390d9 | 14 | public: |
15 | AliRICHClusterFinder(AliRICH *pRICH); | |
cbaf35fb | 16 | virtual ~AliRICHClusterFinder() {;} |
543d5224 | 17 | |
e42a7b46 | 18 | AliRICH *R() {return fRICH;} //returns pointer to RICH |
19 | void Exec(); //loop on events and chambers | |
20 | void FindClusters(Int_t iChamber); //find all clusters for a given chamber | |
21 | void FindClusterContribs(AliRICHcluster *pCluster); //find CFM for the current cluster | |
22 | void FormRawCluster(Int_t i, Int_t j); //form a raw cluster | |
23 | void FindLocalMaxima(); //find local maxima in a cluster | |
24 | void FitCoG(); //evaluate the CoG as the best | |
25 | void WriteRawCluster(); //write in the list of cluster | |
26 | void WriteResolvedCluster(); //write in the list of cluster | |
27 | AliRICHcluster *GetRawCluster() {return &fRawCluster;} //returns pointer to the current raw cluster | |
28 | Bool_t GetDebug() const{return fRICH->GetDebug();} //is debug printout needed? | |
9d6f9427 | 29 | protected: |
e42a7b46 | 30 | AliRICH *fRICH; //pointer to RICH |
31 | AliHitMap *fDigitMap; //map of digits positions | |
32 | AliRICHcluster fRawCluster; //current raw cluster before deconvolution | |
33 | AliRICHcluster fResolvedCluster; //current cluster after deconvolution | |
34 | Int_t fNlocals; //number of local maxima | |
35 | Double_t fLocalX[100],fLocalY[100]; //list of locals X,Y | |
36 | Double_t fLocalQ[100]; //list of locals charge Q | |
37 | Int_t fLocalC[100]; //list of locals CombiPid | |
38 | ClassDef(AliRICHClusterFinder,0) //finds raw clusters, trasfers them to resolved clusters through declustering. | |
8265fa96 | 39 | }; |
40 | #endif |