]> git.uio.no Git - u/mrichter/AliRoot.git/blame - JETAN/AliJetFillCalTrkTrack.h
Changed member from "const char *" to TString
[u/mrichter/AliRoot.git] / JETAN / AliJetFillCalTrkTrack.h
CommitLineData
d89b8229 1#ifndef ALIJETFILLCALTRKTRACK_H
2#define ALIJETFILLCALTRKTRACK_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9//--------------------------------------------------
10// Filling of CalTrkTrack objects in the reader task
11//
12// Author: magali.estienne@subatech.in2p3.fr
13// alexandre.shabetai@cern.ch
14//-------------------------------------------------
15
16#include "AliJetFillCalTrkEvent.h"
17
18class AliJetFillCalTrkTrack : public AliJetFillCalTrkEvent
19{
20 public:
21 AliJetFillCalTrkTrack();
22 AliJetFillCalTrkTrack(AliVEvent *fVEvt);
23 virtual ~AliJetFillCalTrkTrack();
24
25 // Setter
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;}
29
30 // Getter
31 Int_t GetHadCorrection() const {return fApplyMIPCorrection;}
32
33 // Other
21554a0b 34 void Exec(Option_t const * option);
d89b8229 35
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};
41
42 protected:
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
46
47 private:
48 AliJetFillCalTrkTrack(const AliJetFillCalTrkTrack &det);
49 AliJetFillCalTrkTrack &operator=(const AliJetFillCalTrkTrack &det);
50
51 ClassDef(AliJetFillCalTrkTrack,1) // Fill AliJetCalTrkTrack with track information
52
53};
54
55#endif