1 #ifndef ALIPMDCLUSTERFINDER_H
2 #define ALIPMDCLUSTERFINDER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 //-----------------------------------------------------//
7 // Date : August 05 2003 //
8 // This reads the file PMD.digits.root(TreeD), //
9 // calls the Clustering algorithm and stores the //
10 // clustering output in PMD.RecPoints.root(TreeR) //
12 //-----------------------------------------------------//
28 class AliPMDClustering;
30 class AliPMDrecpoint1;
32 class AliPMDClusterFinder
37 AliPMDClusterFinder(AliRunLoader* runLoader);
38 virtual ~AliPMDClusterFinder();
40 void Digits2RecPoints(Int_t ievt);
41 void SetCellEdepCut(Float_t ecut);
42 void SetDebug(Int_t idebug);
43 void AddRecPoint(Int_t idet, Int_t ismn, Float_t * clusdata);
50 AliRunLoader *fRunLoader; // Pointer to Run Loader
51 AliLoader *fPMDLoader; // Pointer to specific detector loader
53 TTree *fTreeD; // Digits tree
54 TTree *fTreeR; // Reconstructed points
56 TClonesArray *fDigits; // List of digits
57 TClonesArray *fRecpoints; // List of reconstructed points
60 Int_t fDetNo; // Detector Number (0:PRE, 1:CPV)
61 Int_t fDebug; // Debugging switch (0:NO, 1:YES)
62 Float_t fEcut; // Energy/ADC cut per cell
64 static const Int_t fgkRow = 48; // Total number of rows in one unitmodule
65 static const Int_t fgkCol = 96; // Total number of cols in one unitmodule
66 Double_t fCellADC[fgkRow][fgkCol]; // Array containing individual cell ADC
68 ClassDef(AliPMDClusterFinder,4) // To run PMD clustering