]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHClusterFinder.h
Incrementing class versions
[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:
0fe8fa07 15 AliRICHClusterFinder(AliRunLoader *pRunLoader);
cbaf35fb 16 virtual ~AliRICHClusterFinder() {;}
543d5224 17
e42a7b46 18 AliRICH *R() {return fRICH;} //returns pointer to RICH
d3eb6079 19 void Exec(const Option_t *option=""); //loop on events and chambers
e42a7b46 20 void FindClusters(Int_t iChamber); //find all clusters for a given chamber
0fe8fa07 21 void FindClusterContribs(AliRICHCluster *pCluster); //find CFM for the current cluster
e42a7b46 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
0fe8fa07 27 AliRICHCluster *GetRawCluster() {return &fRawCluster;} //returns pointer to the current raw cluster
9d6f9427 28protected:
e42a7b46 29 AliRICH *fRICH; //pointer to RICH
30 AliHitMap *fDigitMap; //map of digits positions
0fe8fa07 31 AliRICHCluster fRawCluster; //current raw cluster before deconvolution
32 AliRICHCluster fResolvedCluster; //current cluster after deconvolution
e42a7b46 33 Int_t fNlocals; //number of local maxima
34 Double_t fLocalX[100],fLocalY[100]; //list of locals X,Y
35 Double_t fLocalQ[100]; //list of locals charge Q
36 Int_t fLocalC[100]; //list of locals CombiPid
37 ClassDef(AliRICHClusterFinder,0) //finds raw clusters, trasfers them to resolved clusters through declustering.
8265fa96 38};
39#endif