]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSEsdCluster.h
Fix Coverity defects
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEsdCluster.h
1 #ifndef ALIPHOSESDCLUSTER_H
2 #define ALIPHOSESDCLUSTER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 //_________________________________________________________________________
8 //  AliESDCaloCluster version for PHOS (used for recalibration)
9 //           
10 //*-- Author: Dmitri Peressounko (RRC KI)
11
12 // --- ROOT system ---
13
14 // --- Standard library ---
15
16 // --- AliRoot header files ---
17 class AliPHOSPIDv1 ;
18 class AliPHOSCalibData ;
19 class AliESDCaloCells ;
20
21 #include "AliESDCaloCluster.h"
22
23 class AliPHOSEsdCluster : public AliESDCaloCluster  {
24
25 public:
26
27   AliPHOSEsdCluster() ;
28   AliPHOSEsdCluster(const AliESDCaloCluster & clu) ; 
29  
30   virtual ~AliPHOSEsdCluster() ;  
31
32   void  EvalAll(Float_t logWeight, TVector3 &vtx) ; //re-calculate all cluster parameters
33   void  Recalibrate(AliPHOSCalibData * calibData,AliESDCaloCells *phsCells) ; //Apply recalibration to this cluster
34   void  EnergyCorrection() ;  //Apply non-linearity correction
35   void  EvalPID(AliPHOSPIDv1 * pid) ;           //re-evaluate identification parameters
36
37 protected:
38  
39   void EvalCoord(Float_t logWeight, TVector3 &vtx) ;  //calculate coordinate-related parameters (position, dispersion)
40   void EvalEnergy() ; //re-calculate energy of the cluster
41
42   Bool_t fRecalibrated ;  //Have this cluster been recalibrated
43     
44   ClassDef(AliPHOSEsdCluster,3)  // (PHOS ESD cluster)
45
46 };
47
48 #endif // AliPHOSESDCLUSTER_H