]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSClusterizer.h
Changes with time coordinate (Marian)
[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$
e68222ce 9 * Revision 1.43 2007/09/26 14:22:17 cvetan
10 * Important changes to the reconstructor classes. Complete elimination of the run-loaders, which are now steered only from AliReconstruction. Removal of the corresponding Reconstruct() and FillESD() methods.
11 *
d76c31f4 12 * Revision 1.42 2007/08/28 12:55:07 policheh
13 * Loaders removed from the reconstruction code (C.Cheshkov)
14 *
9a2cdbdf 15 * Revision 1.41 2007/08/07 14:12:03 kharlov
16 * Quality assurance added (Yves Schutz)
17 *
ddd1a39c 18 * Revision 1.40 2006/08/25 16:56:30 kharlov
19 * Compliance with Effective C++
20 *
0378398c 21 * Revision 1.39 2006/03/30 13:04:56 hristov
22 * AliRawReader is not persistent
23 *
f33f704d 24 * Revision 1.38 2005/07/25 15:53:09 kharlov
25 * Set raw data reader
26 *
75c4aeb4 27 * Revision 1.37 2005/05/28 14:19:04 schutz
28 * Compilation warnings fixed by T.P.
29 *
702ab87e 30 */
31
b2a60966 32//_________________________________________________________________________
8d0f3f77 33// Base class for the clusterization algorithm
9a1398dd 34//*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (SUBATECH & Kurchatov Institute)
d15a28e7 35// --- ROOT system ---
36
9a2cdbdf 37#include <TObject.h>
88cb7938 38
9a2cdbdf 39class TTree;
d15a28e7 40
9a2cdbdf 41class AliPHOSGeometry;
e68222ce 42class AliPHOSCalibData ;
d15a28e7 43
9a2cdbdf 44class AliPHOSClusterizer : public TObject {
d15a28e7 45
46public:
47
7b7c1533 48 AliPHOSClusterizer() ; // default ctor
9a2cdbdf 49 AliPHOSClusterizer(AliPHOSGeometry *geom);
d15a28e7 50 virtual ~AliPHOSClusterizer() ; // dtor
9a2cdbdf 51
52 virtual void Digits2Clusters(Option_t *option) = 0;
53 virtual Float_t GetEmcClusteringThreshold()const = 0;
54 virtual Float_t GetEmcLocalMaxCut()const = 0;
55 virtual Float_t GetEmcLogWeight()const = 0;
56 virtual Float_t GetEmcTimeGate() const = 0;
57 virtual Float_t GetCpvClusteringThreshold()const = 0;
58 virtual Float_t GetCpvLocalMaxCut()const = 0;
59 virtual Float_t GetCpvLogWeight()const = 0;
60
61 virtual void Print(const Option_t * = "") const = 0;
21cd0c07 62
90cceaf6 63 virtual void SetEmcClusteringThreshold(Float_t) = 0;
64 virtual void SetEmcLocalMaxCut(Float_t ) = 0;
0bc3b8ed 65
90cceaf6 66 virtual void SetEmcLogWeight(Float_t) = 0;
67 virtual void SetEmcTimeGate(Float_t) = 0;
68 virtual void SetCpvClusteringThreshold(Float_t) = 0;
69 virtual void SetCpvLocalMaxCut(Float_t) = 0;
70 virtual void SetCpvLogWeight(Float_t) = 0;
71 virtual void SetUnfolding(Bool_t) = 0;
88cb7938 72
9a2cdbdf 73 virtual const char * Version() const = 0;
0378398c 74
9a2cdbdf 75 virtual void SetInput(TTree *digitsTree);
76 virtual void SetOutput(TTree *clustersTree);
9a1398dd 77
8d0f3f77 78protected:
ddd1a39c 79
e68222ce 80 static AliPHOSCalibData * fgCalibData ; //! Calibration database if aval.
9a2cdbdf 81 AliPHOSGeometry *fGeom; // Pointer to PHOS geometry
9a2cdbdf 82 TClonesArray *fDigitsArr; // Array with input digits
83 TTree *fTreeR; // Tree with output clusters
84 TObjArray *fEMCRecPoints; // Array with EMC clusters
85 TObjArray *fCPVRecPoints; // Array with CPV clusters
86
87private:
88 AliPHOSClusterizer(const AliPHOSClusterizer & clusterizer);
89 AliPHOSClusterizer & operator = (const AliPHOSClusterizer &clusterer);
ddd1a39c 90
9a2cdbdf 91 ClassDef(AliPHOSClusterizer,5) // Clusterization algorithm class
d15a28e7 92
93} ;
94
95#endif // AliPHOSCLUSTERIZER_H