]>
Commit | Line | Data |
---|---|---|
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 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
9 | // Implementation version 1 of the clusterization algorithm | |
10 | // Performs clusterization (collects neighbouring active cells) and | |
11 | // unfolding of the clusters with several local maxima. | |
12 | // results are stored in TreeR | |
13 | // | |
14 | //*-- Author: Yves Schutz (SUBATECH) | |
15 | //-- Gustavo Conesa (LPSC-Grenoble), move common clusterizer functionalities to mother class | |
16 | ||
17 | ||
18 | // --- ROOT system --- | |
19 | ||
20 | // --- Standard library --- | |
21 | ||
22 | // --- AliRoot header files --- | |
23 | #include "AliEMCALClusterizer.h" | |
24 | class AliEMCALRecPoint ; | |
25 | class AliEMCALDigit ; | |
26 | ||
27 | class AliEMCALClusterizerv1 : public AliEMCALClusterizer { | |
28 | ||
29 | public: | |
30 | ||
31 | AliEMCALClusterizerv1() ; | |
32 | AliEMCALClusterizerv1(AliEMCALGeometry* geometry); | |
33 | AliEMCALClusterizerv1(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal); | |
34 | ||
35 | virtual ~AliEMCALClusterizerv1() ; | |
36 | ||
37 | virtual Int_t AreNeighbours(AliEMCALDigit * d1, AliEMCALDigit * d2, Bool_t & shared)const ; | |
38 | // Checks if digits are in neighbour cells | |
39 | virtual void Digits2Clusters(Option_t *option); // Does the job | |
40 | ||
41 | virtual const char * Version() const { return "clu-v1" ; } | |
42 | ||
43 | protected: | |
44 | ||
45 | virtual void MakeClusters(); | |
46 | ||
47 | private: | |
48 | AliEMCALClusterizerv1(const AliEMCALClusterizerv1 &); //copy ctor | |
49 | AliEMCALClusterizerv1 & operator = (const AliEMCALClusterizerv1 &); | |
50 | ||
51 | ClassDef(AliEMCALClusterizerv1,10) // Clusterizer implementation version 1 | |
52 | ||
53 | }; | |
54 | ||
55 | #endif // AliEMCALCLUSTERIZERV1_H |