]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALAodCluster.h
check if calo ped is zero
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALAodCluster.h
1 #ifndef ALIEMCALAODCLUSTER_H
2 #define ALIEMCALAODCLUSTER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //_________________________________________________________________________
7 //  AliAodCaloCluster version for EMCAL (used for recalibration)
8 //  Copy-paste from methods in AliEMCALRecPoint.       
9 //
10 //*-- Author: Dmitri Peressounko (RRC KI) for PHOS
11 //*-- Adapted for EMCAL: Gustavo Conesa (INFN-LNF)
12
13 // --- ROOT system ---
14 class TVector3;
15 // --- Standard library ---
16
17 // --- AliRoot header files ---
18 //class AliEMCALPID ;
19 class AliEMCALCalibData ;
20 class AliAODCaloCells ;
21 #include "AliAODCaloCluster.h"
22
23 class AliEMCALAodCluster : public AliAODCaloCluster  {
24
25 public:
26
27   AliEMCALAodCluster() ;
28   AliEMCALAodCluster(const AliAODCaloCluster & clu) ; 
29  
30   virtual ~AliEMCALAodCluster() ;  
31
32   void  EvalAll(Float_t logWeight, TString geoname) ; //re-calculate all cluster parameters
33   void  Recalibrate(AliEMCALCalibData * calibData, AliAODCaloCells *phsCells, TString geoname) ; //Apply recalibration to this cluster
34 //  void  EnergyCorrection(AliEMCALPID * pid) ;  //Apply non-linearity correction
35   void  EvalPID() ;           //re-evaluate identification parameters
36   void EvalEnergy() ; //re-calculate energy of the cluster
37   void EvalPositionAndShowerShape(Float_t logWeight, TString geoname) ;  //calculate coordinate-related parameters (position, dispersion)
38   Double_t TmaxInCm(const Double_t e , const Int_t key) const ; //Cluster max depth used in EvalPositionAndShowerShape
39
40 protected:
41         
42
43   Bool_t fRecalibrated ;  //Has this cluster been recalibrated?
44         
45   ClassDef(AliEMCALAodCluster,1)  // (EMCAL AOD cluster)
46
47 };
48
49 #endif // AliEMCALAODCLUSTER_H