1 #ifndef ALIJETFILLCALTRKTRACK_H
2 #define ALIJETFILLCALTRKTRACK_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 //--------------------------------------------------
10 // Filling of CalTrkTrack objects in the reader task
12 // Author: magali.estienne@subatech.in2p3.fr
13 // alexandre.shabetai@cern.ch
14 //-------------------------------------------------
16 #include "AliJetFillCalTrkEvent.h"
18 class AliJetFillCalTrkTrack : public AliJetFillCalTrkEvent
21 AliJetFillCalTrkTrack();
22 AliJetFillCalTrkTrack(AliVEvent *fVEvt);
23 virtual ~AliJetFillCalTrkTrack();
26 void SetHadCorrector(AliJetHadronCorrection* const corr) {fHadCorr = corr;}
27 void SetApplyMIPCorrection(Bool_t const val) {fApplyMIPCorrection = val;}
28 void SetVEvent(AliVEvent* const evt) {fVEvt = evt;}
31 Int_t GetHadCorrection() const {return fApplyMIPCorrection;}
34 void Exec(Option_t const * option);
36 // we have different cases
37 // AOD reading -> MC from AOD
38 // ESD reading -> MC from Kinematics
39 // this has to match with our selection of input events
40 enum {kTrackUndef = 0, kTrackESD, kTrackAOD, kTrackAODextra, kTrackAODextraonly};
43 AliJetHadronCorrection* fHadCorr; // Pointer to Hadron Correction Object
44 Bool_t fApplyMIPCorrection; // Apply MIP or not ? Exclusive with fApplyFractionHadronicCorrection
45 AliVEvent* fVEvt; // Pointer to AliVEvent object
48 AliJetFillCalTrkTrack(const AliJetFillCalTrkTrack &det);
49 AliJetFillCalTrkTrack &operator=(const AliJetFillCalTrkTrack &det);
51 ClassDef(AliJetFillCalTrkTrack,1) // Fill AliJetCalTrkTrack with track information