Including of Lambda(1520) to the generation. Small fraction of Lambda0 (0.2), Sigma0...
[u/mrichter/AliRoot.git] / PMD / AliPMDClusterFinder.h
CommitLineData
b208c6a3 1#ifndef ALIPMDCLUSTERFINDER_H
2#define ALIPMDCLUSTERFINDER_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
01709453 14class TClonesArray;
15class TFile;
01709453 16class TTree;
01709453 17
18class AliLoader;
19class AliRunLoader;
5f55af10 20class AliRawReader;
01709453 21
7e9508a7 22class AliPMDClusterFinder : public TObject
01709453 23{
01709453 24
25 public:
26
7e9508a7 27 AliPMDClusterFinder();
dfaeee5f 28 AliPMDClusterFinder(AliRunLoader* runLoader);
01709453 29 virtual ~AliPMDClusterFinder();
30
b208c6a3 31 void Digits2RecPoints(Int_t ievt);
7e9508a7 32 void Digits2RecPoints(AliRawReader *rawReader, TTree *clustersTree);
5f55af10 33 void Digits2RecPoints(Int_t ievt, AliRawReader *rawReader);
b208c6a3 34 void SetCellEdepCut(Float_t ecut);
1758e4fe 35 void AddRecPoint(Int_t idet, Int_t ismn, Float_t * clusdata);
5c5cadd5 36 void AddRecHit(Int_t celldataX, Int_t celldataY);
01709453 37 void ResetCellADC();
38 void ResetRecpoint();
5c5cadd5 39 void ResetRechit();
55601d47 40 void Load();
01b56f5c 41 void LoadClusters();
ebd83c56 42 void UnLoad();
01b56f5c 43 void UnLoadClusters();
b208c6a3 44
45 protected:
46 AliRunLoader *fRunLoader; // Pointer to Run Loader
b208c6a3 47 AliLoader *fPMDLoader; // Pointer to specific detector loader
48
49 TTree *fTreeD; // Digits tree
50 TTree *fTreeR; // Reconstructed points
51
52 TClonesArray *fDigits; // List of digits
53 TClonesArray *fRecpoints; // List of reconstructed points
5c5cadd5 54 TClonesArray *fRechits; // List of cells associated with rec points
b208c6a3 55
56 Int_t fNpoint; //
5c5cadd5 57 Int_t fNhit; //
b208c6a3 58 Int_t fDetNo; // Detector Number (0:PRE, 1:CPV)
b208c6a3 59 Float_t fEcut; // Energy/ADC cut per cell
60
5e6a9312 61 static const Int_t fgkRow = 48; // Total number of rows in one unitmodule
62 static const Int_t fgkCol = 96; // Total number of cols in one unitmodule
63 Double_t fCellADC[fgkRow][fgkCol]; // Array containing individual cell ADC
01709453 64
5c5cadd5 65 ClassDef(AliPMDClusterFinder,8) // To run PMD clustering
01709453 66};
67#endif
68