Avoid message E-TClonesArray::At: during digitization due to try to access non existi...
[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();
0d0d6b98 29 AliEMCALAfterBurnerUF(Float_t logWeight, Float_t locMaxCut);
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
0d0d6b98 49 TObjArray *fRecPoints; //! cluster <=> recPoint
50 TClonesArray *fDigitsArr; //-> cell <=> digit
fc645679 51
52 AliEMCALUnfolding *fClusterUnfolding; // unfolding class instance
53
54 ClassDef(AliEMCALAfterBurnerUF,1)
55} ;
56
57#endif // AliEMCALAFTERBURNERUF_H