Fix for coverity (AdC)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSAodCluster.h
CommitLineData
914d1bb7 1#ifndef ALIPHOSAODCLUSTER_H
2#define ALIPHOSAODCLUSTER_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// AliAodCaloCluster 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 ---
17class AliPHOSPIDv1 ;
18class AliPHOSCalibData ;
19class AliAODCaloCells ;
20
21#include "AliAODCaloCluster.h"
22
23class AliPHOSAodCluster : public AliAODCaloCluster {
24
25public:
26
27 AliPHOSAodCluster() ;
28 AliPHOSAodCluster(const AliAODCaloCluster & clu) ;
29
30 virtual ~AliPHOSAodCluster() ;
31
32 void EvalAll(Float_t logWeight, TVector3 &vtx) ; //re-calculate all cluster parameters
33 void Recalibrate(AliPHOSCalibData * calibData,AliAODCaloCells *phsCells) ; //Apply recalibration to this cluster
25312a8e 34 void EnergyCorrection() ; //Apply non-linearity correction
914d1bb7 35 void EvalPID(AliPHOSPIDv1 * pid) ; //re-evaluate identification parameters
36
37protected:
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(AliPHOSAodCluster,1) // (PHOS AOD cluster)
45
46};
47
48#endif // AliPHOSAODCLUSTER_H