Line data Source code
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 ---
17 : class AliPHOSPIDv1 ;
18 : class AliPHOSCalibData ;
19 : class AliAODCaloCells ;
20 :
21 : #include "AliAODCaloCluster.h"
22 :
23 : class AliPHOSAodCluster : public AliAODCaloCluster {
24 :
25 : public:
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
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 20 : ClassDef(AliPHOSAodCluster,1) // (PHOS AOD cluster)
45 :
46 : };
47 :
48 : #endif // AliPHOSAODCLUSTER_H
|