Line data Source code
1 : #ifndef ALIEMCALCLUSTERIZERV1_H
2 : #define ALIEMCALCLUSTERIZERV1_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : //_________________________________________________________________________
7 : // Implementation version 1 of the clusterization algorithm
8 : // Performs clusterization (collects neighbouring active cells) and
9 : // unfolding of the clusters with several local maxima.
10 : // results are stored in TreeR
11 : //
12 : //*-- Author: Yves Schutz (SUBATECH)
13 : //-- Gustavo Conesa (LPSC-Grenoble), move common clusterizer functionalities to mother class
14 :
15 :
16 : // --- ROOT system ---
17 :
18 : // --- Standard library ---
19 :
20 : // --- AliRoot header files ---
21 : #include "AliEMCALClusterizer.h"
22 : class AliEMCALRecPoint ;
23 : class AliEMCALDigit ;
24 :
25 : class AliEMCALClusterizerv1 : public AliEMCALClusterizer {
26 :
27 : public:
28 :
29 : AliEMCALClusterizerv1() ;
30 : AliEMCALClusterizerv1(AliEMCALGeometry* geometry);
31 : AliEMCALClusterizerv1(AliEMCALGeometry* geometry, AliEMCALCalibData * calib,
32 : AliEMCALCalibTime * calibt, AliCaloCalibPedestal *pedestal);
33 :
34 : virtual ~AliEMCALClusterizerv1() ;
35 :
36 : virtual Int_t AreNeighbours(AliEMCALDigit * d1, AliEMCALDigit * d2, Bool_t & shared)const ;
37 : // Checks if digits are in neighbour cells
38 : virtual void Digits2Clusters(Option_t *option); // Does the job
39 :
40 12 : virtual const char * Version() const { return "clu-v1" ; }
41 :
42 : protected:
43 :
44 : virtual void MakeClusters();
45 :
46 : private:
47 : AliEMCALClusterizerv1(const AliEMCALClusterizerv1 &); //copy ctor
48 : AliEMCALClusterizerv1 & operator = (const AliEMCALClusterizerv1 &);
49 :
50 278 : ClassDef(AliEMCALClusterizerv1,10) // Clusterizer implementation version 1
51 :
52 : };
53 :
54 : #endif // AliEMCALCLUSTERIZERV1_H
|