]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALClusterizerFixedWindow.h
EbE q vector correlations
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALClusterizerFixedWindow.h
index e6852fdd705ec5cbfd391d5f1620db9f56cecfd5..e5a595b70115ea6f0273cb592894e123342542db 100644 (file)
 
 class AliEMCALRecPoint; 
 class AliEMCALDigit;
-class AliEMCALFixedWindowClusterInfo;
 
 class AliEMCALClusterizerFixedWindow : public AliEMCALClusterizer {
-public:
-       AliEMCALClusterizerFixedWindow() ;         
-       AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry);
-       AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
-       virtual ~AliEMCALClusterizerFixedWindow();
+ public:
+  AliEMCALClusterizerFixedWindow() ;         
+  AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry);
+  AliEMCALClusterizerFixedWindow(AliEMCALGeometry* geometry, AliEMCALCalibData * calib, AliCaloCalibPedestal * pedestal);
+  virtual ~AliEMCALClusterizerFixedWindow();
        
-public:
-       virtual void            Digits2Clusters(Option_t *option);
-       virtual const char     *Version() const { return "clu-FixedWindow"; }  
-       
-  AliEMCALFixedWindowClusterInfo*   GetClustersInfo()                                   const { return fClustersInfo;     }
-  Int_t                             GetNphi ()                                          const { return fNphi;             }
-       Int_t                             GetNeta ()                                          const { return fNeta;             }
-  Int_t                             GetShiftPhi ()                                      const { return fShiftPhi;         }
-  Int_t                             GetShiftEta ()                                      const { return fShiftEta;         }
-  Bool_t                            GetTRUshift()                                       const { return fTRUshift;         }
-  void                              SetClustersInfo(AliEMCALFixedWindowClusterInfo *ClusInfo) { fClustersInfo = ClusInfo; }
-       void                              SetNphi (Int_t n);
-       void                              SetNeta (Int_t n);
-  void                              SetShiftPhi (Int_t s);
-  void                              SetShiftEta (Int_t s);
-  void                              SetTRUshift(Bool_t b);
+  virtual void            Digits2Clusters(Option_t *option);
+  virtual const char     *Version() const { return "clu-FixedWindow"; }  
+
+  Int_t                   GetNphi ()                                          const { return fNphi;             }
+  Int_t                   GetNeta ()                                          const { return fNeta;             }
+  Int_t                   GetShiftPhi ()                                      const { return fShiftPhi;         }
+  Int_t                   GetShiftEta ()                                      const { return fShiftEta;         }
+  Bool_t                  GetTRUshift()                                       const { return fTRUshift;         }
+  void                    SetNphi (Int_t n);
+  void                    SetNeta (Int_t n);
+  void                    SetShiftPhi (Int_t s);
+  void                    SetShiftEta (Int_t s);
+  void                    SetTRUshift(Bool_t b);
   
 protected:
-       virtual void MakeClusters(); 
+  void MakeClusters(); 
+  void ExecOnce(); 
   
-       Int_t                               fNphi;                // Fixed window number of cells in phi direction
-       Int_t                               fNeta;                // Fixed window number of cells in eta direction
-  Int_t                               fShiftPhi;            // Shifting number of cells in phi direction
-  Int_t                               fShiftEta;            // Shifting number of cells in eta direction
-  Bool_t                              fTRUshift;            // Allows shifting inside a TRU (true) of through the whole calorimeter (false)
-  AliEMCALFixedWindowClusterInfo     *fClustersInfo;        //!Point to an object where additional information are stored
-  AliEMCALDigit                    ***fClustersArray;       //!Temporary array that contains clusters
+  Int_t                   fNphi;                // Fixed window number of cells in phi direction
+  Int_t                   fNeta;                // Fixed window number of cells in eta direction
+  Int_t                   fShiftPhi;            // Shifting number of cells in phi direction
+  Int_t                   fShiftEta;            // Shifting number of cells in eta direction
+  Bool_t                  fTRUshift;            // Allows shifting inside a TRU (true) of through the whole calorimeter (false)
+  Int_t                   fNEtaDigitsSupMod;    //!Number of digits per SM in eta 
+  Int_t                   fNPhiDigitsSupMod;    //!Number of digits per SM in phi
+  Int_t                   fNTRUPhi;             //!Number of TRUs in phi
+  Int_t                   fNTRUEta;             //!Number of TRUs in eta
+  Int_t                   fNEtaDigits;          //!Total number of digits in eta 
+  Int_t                   fNPhiDigits;          //!Total number of digits in phi
+  Int_t                   fMaxShiftPhi;         //!Max shift index in phi
+  Int_t                   fMaxShiftEta;         //!Max shift index in eta
+  Int_t                   fNDigitsCluster;      //!Digits per cluster
+  Int_t                   fNClusEtaNoShift;     //!Max number of clusters in eta
+  Int_t                   fNClusPhiNoShift;     //!Max number of clusters in phi
+  Int_t                   fNClusters;           //!fNClusEtaNoShift x fNClusPhiNoShift
+  Int_t                   fNTotalClus;          //!Maximum total number of clusters
+  AliEMCALDigit        ***fClustersArray;       //!Temporary array that contains clusters
+  Int_t                   fInitialized;         //!Initialized clusterizer
        
 private:
-       AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &);                 // not implemented
-       AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &);   // not implemented
-       
+  AliEMCALClusterizerFixedWindow(const AliEMCALClusterizerFixedWindow &);                 // not implemented
+  AliEMCALClusterizerFixedWindow & operator = (const AliEMCALClusterizerFixedWindow &);   // not implemented
 
-       ClassDef(AliEMCALClusterizerFixedWindow,4)   // Clusterizer implementation version 1
+  ClassDef(AliEMCALClusterizerFixedWindow,4)   // Clusterizer implementation fixed windows
 };
-
 #endif // AliEMCALCLUSTERIZERFIXEDWINDOW_H