Coding conventions obeyed
[u/mrichter/AliRoot.git] / PMD / AliPMDClusterFinder.h
CommitLineData
01709453 1#ifndef PMDClusterFinder_H
2#define PMDClusterFinder_H
ed228cbc 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
01709453 5//-----------------------------------------------------//
6// //
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) //
11// //
12//-----------------------------------------------------//
13
14#include <Riostream.h>
15#include <stdlib.h>
16#include <math.h>
17#include <TMath.h>
01709453 18
19class TClonesArray;
20class TFile;
21class TObjArray;
22class TTree;
23class TNtuple;
24
25class AliLoader;
26class AliRunLoader;
27class AliRun;
28class AliDetector;
29class AliHeader;
30
31class AliPMDdigit;
32class AliPMDClustering;
01709453 33class AliPMDcluster;
ed228cbc 34class AliPMDrecpoint1;
01709453 35
36class AliPMDClusterFinder
37{
38 protected:
39 AliRunLoader *fRunLoader;
40 AliRun *gAlice;
41 AliDetector *PMD; /* Get pointers to Alice detectors
42 and Hits containers */
43 AliLoader *pmdloader;
44
45 TTree *treeD;
46 TTree *treeR;
47
48 TClonesArray *fDigits;
49 TClonesArray *fRecpoints;
50
51 Int_t fNpoint;
52 Int_t fDetNo;
ed228cbc 53 Int_t fDebug;
54 Float_t fEcut;
01709453 55
ed228cbc 56 static const Int_t fRow = 48;
57 static const Int_t fCol = 96;
58 Double_t fCellADC[fRow][fCol];
01709453 59
60 public:
61
62 AliPMDClusterFinder();
63 virtual ~AliPMDClusterFinder();
64
65 void OpengAliceFile(char * /* galice.root */, Option_t * /* option */);
66
67 void Digits2RecPoints(Int_t /* ievt */);
ed228cbc 68 void SetCellEdepCut(Float_t /* ecut */);
69 void SetDebug(Int_t /* idebug */);
01709453 70 void AddRecPoint(Float_t * /* clusdata */);
71 void ResetCellADC();
72 void ResetRecpoint();
73 void UnLoad(Option_t * /* option */);
74
ed228cbc 75 ClassDef(AliPMDClusterFinder,2)
01709453 76};
77#endif
78