correcting baryon mass subtraction for visible energy in MC
[u/mrichter/AliRoot.git] / JETAN / AliJetAODFillUnitArrayTracks.h
CommitLineData
be6e5811 1#ifndef ALIJETAODFILLUNITARRAYTRACKS_H
2#define ALIJETAODFILLUNITARRAYTRACKS_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
15class AliJetReader;
16class AliJetAODReader;
17class AliEMCALGeometry;
18
19class AliJetAODFillUnitArrayTracks : public AliJetFillUnitArray
20{
21 public:
22 AliJetAODFillUnitArrayTracks();
23 AliJetAODFillUnitArrayTracks(AliAODEvent *fAOD);
24 virtual ~AliJetAODFillUnitArrayTracks();
25
26 // Setter
27 void SetHadCorrector(AliJetHadronCorrection* const corr) {fHadCorr = corr;}
28 void SetApplyMIPCorrection(Bool_t const val) {fApplyMIPCorrection = val;}
29 void SetAOD(AliAODEvent* const aod) {fAOD = aod;}
30 void SetGrid0(AliJetGrid* const grid0) {fGrid0 = grid0;}
31 void SetGrid1(AliJetGrid* const grid1) {fGrid1 = grid1;}
32 void SetGrid2(AliJetGrid* const grid2) {fGrid2 = grid2;}
33 void SetGrid3(AliJetGrid* const grid3) {fGrid3 = grid3;}
34 void SetGrid4(AliJetGrid* const grid4) {fGrid4 = grid4;}
35
36 // Getter
37 Int_t GetHadCorrection() const {return fApplyMIPCorrection;}
38 Int_t GetMult() const {return fNTracks;}
39 Int_t GetMultCut() const {return fNTracksCut;}
40
41 // Other
42 void Exec(Option_t* const option);
43
44 protected:
45 Int_t fNumUnits; // Number of units in the unit object array (same as num towers in EMCAL)
46 AliJetHadronCorrection *fHadCorr; // Pointer to Hadron Correction Object
47 Bool_t fApplyMIPCorrection; // Apply MIP or not ? Exclusive with fApplyFractionHadronicCorrection
48
e36a3f22 49 AliAODEvent *fAOD; // AOD output Event
be6e5811 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 AliJetAODFillUnitArrayTracks(const AliJetAODFillUnitArrayTracks &det);
58 AliJetAODFillUnitArrayTracks &operator=(const AliJetAODFillUnitArrayTracks &det);
59 void InitParameters();
60
61 ClassDef(AliJetAODFillUnitArrayTracks,1) // Fill Unit Array with tpc and/or emcal information
62};
63
64#endif