Adding extra check for GPU_FORCE_64BIT_PTR env var
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizerFixedWindow.h
CommitLineData
89504c57 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
27bad386 7/* $Id: AliEMCALClusterizerFixedWindow.h */
89504c57 8
9//_________________________________________________________________________
10// This class derives from AliEMCALClustrerizer
11
12#include "AliEMCALClusterizer.h"
13
14class AliEMCALRecPoint;
15class AliEMCALDigit;
89504c57 16
17class AliEMCALClusterizerFixedWindow : public AliEMCALClusterizer {
06ca320f 18 public:
19 AliEMCALClusterizerFixedWindow() ;
20 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry);
21 AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
22 virtual ~AliEMCALClusterizerFixedWindow();
89504c57 23
06ca320f 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);
89504c57 37
89504c57 38protected:
85d48773 39 void MakeClusters();
40 void ExecOnce();
27bad386 41
06ca320f 42 Int_t fNphi; // Fixed window number of cells in phi direction
43 Int_t fNeta; // Fixed window number of cells in eta direction
44 Int_t fShiftPhi; // Shifting number of cells in phi direction
45 Int_t fShiftEta; // Shifting number of cells in eta direction
46 Bool_t fTRUshift; // Allows shifting inside a TRU (true) of through the whole calorimeter (false)
85d48773 47 Int_t fNEtaDigitsSupMod; //!Number of digits per SM in eta
48 Int_t fNPhiDigitsSupMod; //!Number of digits per SM in phi
49 Int_t fNTRUPhi; //!Number of TRUs in phi
50 Int_t fNTRUEta; //!Number of TRUs in eta
51 Int_t fNEtaDigits; //!Total number of digits in eta
52 Int_t fNPhiDigits; //!Total number of digits in phi
53 Int_t fMaxShiftPhi; //!Max shift index in phi
54 Int_t fMaxShiftEta; //!Max shift index in eta
55 Int_t fNDigitsCluster; //!Digits per cluster
56 Int_t fNClusEtaNoShift; //!Max number of clusters in eta
57 Int_t fNClusPhiNoShift; //!Max number of clusters in phi
58 Int_t fNClusters; //!fNClusEtaNoShift x fNClusPhiNoShift
59 Int_t fNTotalClus; //!Maximum total number of clusters
06ca320f 60 AliEMCALDigit ***fClustersArray; //!Temporary array that contains clusters
85d48773 61 Int_t fInitialized; //!Initialized clusterizer
89504c57 62
63private:
06ca320f 64 AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &); // not implemented
65 AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &); // not implemented
27bad386 66
85d48773 67 ClassDef(AliEMCALClusterizerFixedWindow,4) // Clusterizer implementation fixed windows
89504c57 68};
89504c57 69#endif // AliEMCALCLUSTERIZERFIXEDWINDOW_H