5 #ifndef ALIHLTJETREADER_H
6 #define ALIHLTJETREADER_H
8 /* This file is property of and copyright by the ALICE HLT Project *
9 * ALICE Experiment at CERN, All rights reserved. *
10 * See cxx source for full Copyright notice */
12 /** @file AliHLTJETReader.h
13 @author Jochen Thaeder
15 @brief Reader for jet finder
18 #include "AliHLTLogging.h"
20 #include "AliJetReader.h"
21 #include "AliJetReaderHeader.h"
23 #include "AliHLTJETReaderHeader.h"
25 #include "AliHLTMCEvent.h"
27 #include "AliESDEvent.h"
28 #include "AliAODEvent.h"
32 * @class AliHLTJETReader
33 * Reader for jet finder
38 class AliHLTJETReader : public AliJetReader, public AliHLTLogging {
43 * ---------------------------------------------------------------------------------
44 * Constructor / Destructor
45 * ---------------------------------------------------------------------------------
48 /** standard constructor */
52 virtual ~AliHLTJETReader();
55 * ---------------------------------------------------------------------------------
56 * Reader functionality
57 * ---------------------------------------------------------------------------------
60 /** Fill tracks in momentum array
61 * @return kTRUE on success, otherwise kFALSE
63 Bool_t FillMomentumArray();
65 /** Fill MC tracks in momentum array
66 * @return kTRUE on success, otherwise kFALSE
68 Bool_t FillMomentumArrayMC();
70 /** Fill ESD tracks in momentum array
71 * @return kTRUE on success, otherwise kFALSE
73 Bool_t FillMomentumArrayESD();
75 /** Fill AOD tracks in momentum array
76 * @return kTRUE on success, otherwise kFALSE
78 Bool_t FillMomentumArrayAOD();
81 * ---------------------------------------------------------------------------------
83 * ---------------------------------------------------------------------------------
86 /** Set pointer to input event
87 * @param esd an AliESDEvent
88 * @param aod an AliAODEvent
89 * @param mc an AliHLTMCEvent
91 void SetInputEvent(TObject* esd, TObject* aod, TObject* mc);
94 * ---------------------------------------------------------------------------------
96 * ---------------------------------------------------------------------------------
99 /** Get Ptr to AliHLTJETReaderHeader
100 * @return ptr to AliHLTJETReaderHeader
102 AliHLTJETReaderHeader* GetReaderHeader() {return dynamic_cast<AliHLTJETReaderHeader*>(fReaderHeader);}
104 ///////////////////////////////////////////////////////////////////////////////////
108 /** copy constructor prohibited */
109 AliHLTJETReader (const AliHLTJETReader&);
111 /** assignment operator prohibited */
112 AliHLTJETReader& operator= (const AliHLTJETReader&);
115 * ---------------------------------------------------------------------------------
117 * ---------------------------------------------------------------------------------
121 AliESDEvent* fESD; //! transient
124 AliHLTMCEvent* fMC; //! transient
127 AliAODEvent* fAOD; //! transient
129 ClassDef(AliHLTJETReader, 1)