]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSEsdCluster.h
cover case for AOD analysis
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEsdCluster.h
CommitLineData
7607cc90 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 ---
17class AliPHOSPIDv1 ;
18class AliPHOSCalibData ;
19class AliESDCaloCells ;
20
21#include "AliESDCaloCluster.h"
22
23class AliPHOSEsdCluster : public AliESDCaloCluster {
24
25public:
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(AliPHOSPIDv1 * pid) ; //Apply non-linearity correction
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(AliPHOSEsdCluster,3) // (PHOS ESD cluster)
45
46};
47
48#endif // AliPHOSESDCLUSTER_H