Updated version of ITS QA Checker and related modifications (Melinda)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALAodCluster.h
CommitLineData
0c5b726e 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 ---
14class TVector3;
15// --- Standard library ---
16
17// --- AliRoot header files ---
18//class AliEMCALPID ;
19class AliEMCALCalibData ;
20class AliAODCaloCells ;
21#include "AliAODCaloCluster.h"
22
23class AliEMCALAodCluster : public AliAODCaloCluster {
24
25public:
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
37protected:
38
39 Double_t TmaxInCm(const Double_t e , const Int_t key) const ; //Cluster max depth used in EvalPositionAndShowerShape
40 void EvalPositionAndShowerShape(Float_t logWeight, TString geoname) ; //calculate coordinate-related parameters (position, dispersion)
41 void EvalEnergy() ; //re-calculate energy of the cluster
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