]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSClusterizer.h
First implementation of neural network PID
[u/mrichter/AliRoot.git] / PHOS / AliPHOSClusterizer.h
CommitLineData
d15a28e7 1#ifndef ALIPHOSCLUSTERIZER_H
2#define ALIPHOSCLUSTERIZER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6ad0bfa0 5
702ab87e 6/* History of cvs commits:
7 *
8 * $Log$
9a2cdbdf 9 * Revision 1.41 2007/08/07 14:12:03 kharlov
10 * Quality assurance added (Yves Schutz)
11 *
ddd1a39c 12 * Revision 1.40 2006/08/25 16:56:30 kharlov
13 * Compliance with Effective C++
14 *
0378398c 15 * Revision 1.39 2006/03/30 13:04:56 hristov
16 * AliRawReader is not persistent
17 *
f33f704d 18 * Revision 1.38 2005/07/25 15:53:09 kharlov
19 * Set raw data reader
20 *
75c4aeb4 21 * Revision 1.37 2005/05/28 14:19:04 schutz
22 * Compilation warnings fixed by T.P.
23 *
702ab87e 24 */
25
b2a60966 26//_________________________________________________________________________
8d0f3f77 27// Base class for the clusterization algorithm
9a1398dd 28//*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute)
d15a28e7 29// --- ROOT system ---
30
9a2cdbdf 31#include <TObject.h>
88cb7938 32
9a2cdbdf 33class TTree;
d15a28e7 34
9a2cdbdf 35class AliPHOSGeometry;
ddd1a39c 36class AliPHOSQualAssDataMaker ;
d15a28e7 37
9a2cdbdf 38class AliPHOSClusterizer : public TObject {
d15a28e7 39
40public:
41
7b7c1533 42 AliPHOSClusterizer() ; // default ctor
9a2cdbdf 43 AliPHOSClusterizer(AliPHOSGeometry *geom);
d15a28e7 44 virtual ~AliPHOSClusterizer() ; // dtor
9a2cdbdf 45
46 virtual void Digits2Clusters(Option_t *option) = 0;
47 virtual Float_t GetEmcClusteringThreshold()const = 0;
48 virtual Float_t GetEmcLocalMaxCut()const = 0;
49 virtual Float_t GetEmcLogWeight()const = 0;
50 virtual Float_t GetEmcTimeGate() const = 0;
51 virtual Float_t GetCpvClusteringThreshold()const = 0;
52 virtual Float_t GetCpvLocalMaxCut()const = 0;
53 virtual Float_t GetCpvLogWeight()const = 0;
54
55 virtual void Print(const Option_t * = "") const = 0;
21cd0c07 56
90cceaf6 57 virtual void SetEmcClusteringThreshold(Float_t) = 0;
58 virtual void SetEmcLocalMaxCut(Float_t ) = 0;
0bc3b8ed 59
90cceaf6 60 virtual void SetEmcLogWeight(Float_t) = 0;
61 virtual void SetEmcTimeGate(Float_t) = 0;
62 virtual void SetCpvClusteringThreshold(Float_t) = 0;
63 virtual void SetCpvLocalMaxCut(Float_t) = 0;
64 virtual void SetCpvLogWeight(Float_t) = 0;
65 virtual void SetUnfolding(Bool_t) = 0;
88cb7938 66
9a2cdbdf 67 virtual const char * Version() const = 0;
0378398c 68
9a2cdbdf 69 virtual void SetInput(TTree *digitsTree);
70 virtual void SetOutput(TTree *clustersTree);
9a1398dd 71
8d0f3f77 72protected:
ddd1a39c 73 AliPHOSQualAssDataMaker * GetQualAssDataMaker() const { return fQADM ; }
74
9a2cdbdf 75 AliPHOSGeometry *fGeom; // Pointer to PHOS geometry
ddd1a39c 76 AliPHOSQualAssDataMaker * fQADM ; //!Quality Assurance Data Maker
9a2cdbdf 77 TClonesArray *fDigitsArr; // Array with input digits
78 TTree *fTreeR; // Tree with output clusters
79 TObjArray *fEMCRecPoints; // Array with EMC clusters
80 TObjArray *fCPVRecPoints; // Array with CPV clusters
81
82private:
83 AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer);
84 AliPHOSClusterizer & operator = (const AliPHOSClusterizer &clusterer);
ddd1a39c 85
9a2cdbdf 86 ClassDef(AliPHOSClusterizer,5) // Clusterization algorithm class
d15a28e7 87
88} ;
89
90#endif // AliPHOSCLUSTERIZER_H