1 #ifndef PMDClusterFinder_H
2 #define PMDClusterFinder_H
3 //-----------------------------------------------------//
5 // Date : August 05 2003 //
6 // This reads the file PMD.digits.root(TreeD), //
7 // calls the Clustering algorithm and stores the //
8 // clustering output in PMD.RecPoints.root(TreeR) //
10 //-----------------------------------------------------//
12 #include <Riostream.h>
32 class AliPMDClustering;
36 //using namespace std;
38 class AliPMDClusterFinder
41 AliRunLoader *fRunLoader;
43 AliDetector *PMD; /* Get pointers to Alice detectors
44 and Hits containers */
50 TClonesArray *fDigits;
51 TClonesArray *fRecpoints;
56 static const Int_t fTotSM = 27;
57 static const Int_t fNCell = 72;
58 Float_t fCPV[fTotSM][fNCell][fNCell];
59 Float_t fPMD[fTotSM][fNCell][fNCell];
63 AliPMDClusterFinder();
64 virtual ~AliPMDClusterFinder();
66 void OpengAliceFile(char * /* galice.root */, Option_t * /* option */);
68 void Digits2RecPoints(Int_t /* ievt */);
69 void AddRecPoint(Float_t * /* clusdata */);
72 void UnLoad(Option_t * /* option */);
74 ClassDef(AliPMDClusterFinder,1)