1 #ifndef ALIEMCALCLUSTERIZERFIXEDWINDOW_H
2 #define ALIEMCALCLUSTERIZERFIXEDWINDOW_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliEMCALClusterizerFixedWindows.h */
9 //_________________________________________________________________________
10 // This class derives from AliEMCALClustrerizer
12 #include "AliEMCALClusterizer.h"
14 class AliEMCALRecPoint;
16 class AliEMCALFixedWindowClusterInfo;
18 class AliEMCALClusterizerFixedWindow : public AliEMCALClusterizer {
22 AliEMCALClusterizerFixedWindow() ;
23 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry);
24 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
26 virtual ~AliEMCALClusterizerFixedWindow();
28 virtual void Digits2Clusters(Option_t *option); // Does the job
30 virtual const char * Version() const { return "clu-FixedWindow" ; }
32 void SetnPhi (Int_t n)
35 AliWarning("Clusterizer already initialized. Unable to change the parameters.");
40 void SetnEta (Int_t n)
43 AliWarning("Clusterizer already initialized. Unable to change the parameters.");
48 Int_t GetnPhi () {return nPhi;}
49 Int_t GetnEta () {return nEta;}
51 void SetshiftPhi (Int_t s)
54 AliWarning("Clusterizer already initialized. Unable to change the parameters.");
59 void SetshiftEta (Int_t s)
62 AliWarning("Clusterizer already initialized. Unable to change the parameters.");
67 Int_t GetshiftPhi () {return shiftPhi;}
68 Int_t GetshiftEta () {return shiftEta;}
70 void SetTRUshift(Bool_t b)
73 AliWarning("Clusterizer already initialized. Unable to change the parameters.");
78 Bool_t GetTRUshift() {return fTRUshift;}
80 AliEMCALFixedWindowClusterInfo* GetClustersInfo() {return fClustersInfo;}
81 void SetClustersInfo(AliEMCALFixedWindowClusterInfo *ClusInfo) {fClustersInfo = ClusInfo;}
85 virtual void MakeClusters();
88 AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &); //copy ctor
89 AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &);
91 // nPhi x nEta clusterizer
92 // Those parameter could be changed to get other types of fixed windows.
98 AliEMCALFixedWindowClusterInfo *fClustersInfo;
99 AliEMCALDigit ***clusters_array;
101 ClassDef(AliEMCALClusterizerFixedWindow,4) // Clusterizer implementation version 1
104 #endif // AliEMCALCLUSTERIZERFIXEDWINDOW_H