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 */
6 /* History of cvs commits:
9 * Revision 1.42 2007/08/28 12:55:07 policheh
10 * Loaders removed from the reconstruction code (C.Cheshkov)
12 * Revision 1.41 2007/08/07 14:12:03 kharlov
13 * Quality assurance added (Yves Schutz)
15 * Revision 1.40 2006/08/25 16:56:30 kharlov
16 * Compliance with Effective C++
18 * Revision 1.39 2006/03/30 13:04:56 hristov
19 * AliRawReader is not persistent
21 * Revision 1.38 2005/07/25 15:53:09 kharlov
24 * Revision 1.37 2005/05/28 14:19:04 schutz
25 * Compilation warnings fixed by T.P.
29 //_________________________________________________________________________
30 // Base class for the clusterization algorithm
31 //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute)
32 // --- ROOT system ---
38 class AliPHOSGeometry;
40 class AliPHOSClusterizer : public TObject {
44 AliPHOSClusterizer() ; // default ctor
45 AliPHOSClusterizer(AliPHOSGeometry *geom);
46 virtual ~AliPHOSClusterizer() ; // dtor
48 virtual void Digits2Clusters(Option_t *option) = 0;
49 virtual Float_t GetEmcClusteringThreshold()const = 0;
50 virtual Float_t GetEmcLocalMaxCut()const = 0;
51 virtual Float_t GetEmcLogWeight()const = 0;
52 virtual Float_t GetEmcTimeGate() const = 0;
53 virtual Float_t GetCpvClusteringThreshold()const = 0;
54 virtual Float_t GetCpvLocalMaxCut()const = 0;
55 virtual Float_t GetCpvLogWeight()const = 0;
57 virtual void Print(const Option_t * = "") const = 0;
59 virtual void SetEmcClusteringThreshold(Float_t) = 0;
60 virtual void SetEmcLocalMaxCut(Float_t ) = 0;
62 virtual void SetEmcLogWeight(Float_t) = 0;
63 virtual void SetEmcTimeGate(Float_t) = 0;
64 virtual void SetCpvClusteringThreshold(Float_t) = 0;
65 virtual void SetCpvLocalMaxCut(Float_t) = 0;
66 virtual void SetCpvLogWeight(Float_t) = 0;
67 virtual void SetUnfolding(Bool_t) = 0;
69 virtual const char * Version() const = 0;
71 virtual void SetInput(TTree *digitsTree);
72 virtual void SetOutput(TTree *clustersTree);
76 AliPHOSGeometry *fGeom; // Pointer to PHOS geometry
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
83 AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer);
84 AliPHOSClusterizer & operator = (const AliPHOSClusterizer &clusterer);
86 ClassDef(AliPHOSClusterizer,5) // Clusterization algorithm class
90 #endif // AliPHOSCLUSTERIZER_H