]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIEMCALCLUSTERIZERFIXEDWINDOW_H | |
2 | #define ALIEMCALCLUSTERIZERFIXEDWINDOW_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id: AliEMCALClusterizerFixedWindow.h */ | |
8 | ||
9 | //_________________________________________________________________________ | |
10 | // This class derives from AliEMCALClustrerizer | |
11 | ||
12 | #include "AliEMCALClusterizer.h" | |
13 | ||
14 | class AliEMCALRecPoint; | |
15 | class AliEMCALDigit; | |
16 | ||
17 | class AliEMCALClusterizerFixedWindow : public AliEMCALClusterizer { | |
18 | public: | |
19 | AliEMCALClusterizerFixedWindow() ; | |
20 | AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry); | |
21 | AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal); | |
22 | virtual ~AliEMCALClusterizerFixedWindow(); | |
23 | ||
24 | virtual void Digits2Clusters(Option_t *option); | |
25 | virtual const char *Version() const { return "clu-FixedWindow"; } | |
26 | ||
27 | Int_t GetNphi () const { return fNphi; } | |
28 | Int_t GetNeta () const { return fNeta; } | |
29 | Int_t GetShiftPhi () const { return fShiftPhi; } | |
30 | Int_t GetShiftEta () const { return fShiftEta; } | |
31 | Bool_t GetTRUshift() const { return fTRUshift; } | |
32 | void SetNphi (Int_t n); | |
33 | void SetNeta (Int_t n); | |
34 | void SetShiftPhi (Int_t s); | |
35 | void SetShiftEta (Int_t s); | |
36 | void SetTRUshift(Bool_t b); | |
37 | ||
38 | protected: | |
39 | virtual void MakeClusters(); | |
40 | ||
41 | Int_t fNphi; // Fixed window number of cells in phi direction | |
42 | Int_t fNeta; // Fixed window number of cells in eta direction | |
43 | Int_t fShiftPhi; // Shifting number of cells in phi direction | |
44 | Int_t fShiftEta; // Shifting number of cells in eta direction | |
45 | Bool_t fTRUshift; // Allows shifting inside a TRU (true) of through the whole calorimeter (false) | |
46 | AliEMCALDigit ***fClustersArray; //!Temporary array that contains clusters | |
47 | ||
48 | private: | |
49 | AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &); // not implemented | |
50 | AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &); // not implemented | |
51 | ||
52 | ClassDef(AliEMCALClusterizerFixedWindow,4) // Clusterizer implementation version 1 | |
53 | }; | |
54 | #endif // AliEMCALCLUSTERIZERFIXEDWINDOW_H |