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: AliEMCALClusterizerFixedWindow.h */
9 //_________________________________________________________________________
10 // This class derives from AliEMCALClustrerizer
12 #include "AliEMCALClusterizer.h"
14 class AliEMCALRecPoint;
16 class AliEMCALFixedWindowClusterInfo;
18 class AliEMCALClusterizerFixedWindow : public AliEMCALClusterizer {
20 AliEMCALClusterizerFixedWindow() ;
21 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry);
22 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
23 virtual ~AliEMCALClusterizerFixedWindow();
26 virtual void Digits2Clusters(Option_t *option);
27 virtual const char *Version() const { return "clu-FixedWindow"; }
29 AliEMCALFixedWindowClusterInfo* GetClustersInfo() const { return fClustersInfo; }
30 Int_t GetNphi () const { return fNphi; }
31 Int_t GetNeta () const { return fNeta; }
32 Int_t GetShiftPhi () const { return fShiftPhi; }
33 Int_t GetShiftEta () const { return fShiftEta; }
34 Bool_t GetTRUshift() const { return fTRUshift; }
35 void SetClustersInfo(AliEMCALFixedWindowClusterInfo *ClusInfo) { fClustersInfo = ClusInfo; }
36 void SetNphi (Int_t n);
37 void SetNeta (Int_t n);
38 void SetShiftPhi (Int_t s);
39 void SetShiftEta (Int_t s);
40 void SetTRUshift(Bool_t b);
43 virtual void MakeClusters();
45 Int_t fNphi; // Fixed window number of cells in phi direction
46 Int_t fNeta; // Fixed window number of cells in eta direction
47 Int_t fShiftPhi; // Shifting number of cells in phi direction
48 Int_t fShiftEta; // Shifting number of cells in eta direction
49 Bool_t fTRUshift; // Allows shifting inside a TRU (true) of through the whole calorimeter (false)
50 AliEMCALFixedWindowClusterInfo *fClustersInfo; //!Point to an object where additional information are stored
51 AliEMCALDigit ***fClustersArray; //!Temporary array that contains clusters
54 AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &); // not implemented
55 AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &); // not implemented
58 ClassDef(AliEMCALClusterizerFixedWindow,4) // Clusterizer implementation version 1
61 #endif // AliEMCALCLUSTERIZERFIXEDWINDOW_H