Updates provided by Magali Estienne
[u/mrichter/AliRoot.git] / JETAN / AliJetESDFillUnitArrayTracks.h
CommitLineData
be6e5811 1#ifndef ALIJETESDFILLUNITARRAYTRACKS_H
2#define ALIJETESDFILLUNITARRAYTRACKS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//---------------------------------------------------------------------
8// Jet Fill Unit Array
9// Called by ESD Reader for jet analysis
10// Author: Magali Estienne (magali.estienne@subatech.in2p3.fr)
11//---------------------------------------------------------------------
12
13#include "AliJetFillUnitArray.h"
14#include "AliJetESDReaderHeader.h"
15
16class AliEMCALGeometry;
17class AliJetReader;
18class AliJetESDReader;
19
20class AliJetESDFillUnitArrayTracks : public AliJetFillUnitArray
21{
22 public:
23 AliJetESDFillUnitArrayTracks();
24 AliJetESDFillUnitArrayTracks(AliESDEvent *fESD);
25 virtual ~AliJetESDFillUnitArrayTracks();
26
27 // Setter
28 void SetHadCorrector(AliJetHadronCorrection* const corr) {fHadCorr = corr;}
29 void SetApplyMIPCorrection(Bool_t const val) {fApplyMIPCorrection = val;}
30 void SetESD(AliESDEvent* const esd) {fESD = esd;}
31 void SetGrid0(AliJetGrid* const grid0) {fGrid0 = grid0;}
32 void SetGrid1(AliJetGrid* const grid1) {fGrid1 = grid1;}
33 void SetGrid2(AliJetGrid* const grid2) {fGrid2 = grid2;}
34 void SetGrid3(AliJetGrid* const grid3) {fGrid3 = grid3;}
35 void SetGrid4(AliJetGrid* const grid4) {fGrid4 = grid4;}
36
37 // Getter
38 Int_t GetHadCorrection() const {return fApplyMIPCorrection;}
39 Int_t GetMult() const {return fNTracks;}
40 Int_t GetMultCut() const {return fNTracksCut;}
41
42 // Other
43 void Exec(Option_t* const option);
44
45 protected:
46 Int_t fNumUnits; // Number of units in the unit object array (same as num towers in EMCAL)
47 AliJetHadronCorrection *fHadCorr; // Pointer to Hadron Correction Object
48 Bool_t fApplyMIPCorrection; // Apply MIP or not ? Exclusive with fApplyFractionHadronicCorrection
49 AliESDEvent *fESD; // ESD
50 AliJetGrid *fGrid0; // Grid used for dead zones definition
51 AliJetGrid *fGrid1; // Grid used for dead zones definition
52 AliJetGrid *fGrid2; // Grid used for dead zones definition
53 AliJetGrid *fGrid3; // Grid used for dead zones definition
54 AliJetGrid *fGrid4; // Grid used for dead zones definition
55
56 private:
57 AliJetESDFillUnitArrayTracks(const AliJetESDFillUnitArrayTracks &det);
58 AliJetESDFillUnitArrayTracks &operator=(const AliJetESDFillUnitArrayTracks &det);
59 void InitParameters();
60
61 ClassDef(AliJetESDFillUnitArrayTracks,1)
62};
63
64#endif