attempt to address new coverity reports for AliCalo stuff and QA checker
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALAfterBurnerUF.h
CommitLineData
fc645679 1#ifndef ALIEMCALAFTERBURNERUF_H
2#define ALIEMCALAFTERBURNERUF_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//_________________________________________________________________________
7// After-burner for the EMCAL cluster unfolding algorithm
8//
9// See cxx for details on how to use it
10//
11// Author: Olga Driga (SUBATECH)
12//
13
14// --- ROOT system ---
15class TObjArray;
16class TClonesArray;
17
18// --- Standard library ---
19
20// --- AliRoot header files ---
21class AliEMCALGeometry;
22class AliEMCALUnfolding;
004d0978 23class AliVCaloCells;
fc645679 24
25class AliEMCALAfterBurnerUF {
26
27 public:
28 AliEMCALAfterBurnerUF();
71332f0e 29 AliEMCALAfterBurnerUF(Float_t logWeight, Float_t locMaxCut, Float_t minEcut);
fc645679 30 virtual ~AliEMCALAfterBurnerUF();
31
32 private:
33 AliEMCALAfterBurnerUF(const AliEMCALAfterBurnerUF & uf) ; // cpy ctor not needed, put here to avoid compilation warning
34 AliEMCALAfterBurnerUF & operator = (const AliEMCALAfterBurnerUF & uf) ;//cpy assignment, put here to avoid compilation warning
35
36 public:
0d0d6b98 37 virtual void Clear();
fc645679 38 virtual void Init();
39 virtual void RecPoints2Clusters(TObjArray *clusArray);
004d0978 40 virtual void UnfoldClusters(TObjArray *clusArray, AliVCaloCells *cellsEMCAL); // does the job
0d0d6b98 41
fc645679 42 // getters and setters
43 virtual AliEMCALUnfolding *GetClusterUnfoldingInstance() { return fClusterUnfolding; }
44
45 protected:
46 AliEMCALGeometry *fGeom; // EMCAL geometry
47 Float_t fLogWeight; // used in AliEMCALRecPoint::EvalGlobalPosition()
48 Float_t fECALocMaxCut; // this amount of energy must distinguish a local maximum from its neighbours
71332f0e 49 Float_t fMinECut; // minimum energy of cell
0d0d6b98 50 TObjArray *fRecPoints; //! cluster <=> recPoint
51 TClonesArray *fDigitsArr; //-> cell <=> digit
fc645679 52
53 AliEMCALUnfolding *fClusterUnfolding; // unfolding class instance
54
71332f0e 55 ClassDef(AliEMCALAfterBurnerUF,2)
fc645679 56} ;
57
58#endif // AliEMCALAFTERBURNERUF_H