Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / JETAN / AliJetReader.h
CommitLineData
99e5fe42 1#ifndef ALIJETREADER_H
2#define ALIJETREADER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
139cbd96 6
7/* $Id$ */
99e5fe42 8
99e5fe42 9// Jet reader base class
10// manages the reading of input for jet algorithms
b45b0c92 11// Authors: jgcn@mda.cinvestav.mx
8838ab7a 12// Magali Estienne <magali.estienne@subatech.in2p3.fr>
139cbd96 13// alexandre.shabetai@cern.ch
b45b0c92 14
99e5fe42 15#include <TObject.h>
b45b0c92 16
99e5fe42 17class AliJetReaderHeader;
139cbd96 18class AliJetFillCalTrkEvent;
19class AliJetCalTrkEvent;
20class AliVEvent;
21class AliMCEvent;
99e5fe42 22
99e5fe42 23class AliJetReader : public TObject
24{
25 public:
26 AliJetReader();
27 virtual ~AliJetReader();
28
29 // Getters
139cbd96 30 AliJetCalTrkEvent* GetCalTrkEvent() const {return fCalTrkEvent;}
31 AliJetReaderHeader* GetReaderHeader() const {return fReaderHeader;}
7d0f353c 32
99e5fe42 33 // Setters
139cbd96 34 void SetReaderHeader(AliJetReaderHeader* header) {fReaderHeader = header;}
ee7de0dd 35
7d0f353c 36 // Others
139cbd96 37 void SetInputEvent(const TObject* esd, const TObject* aod, const AliMCEvent* mc);
38 void InitTasks();
39 Bool_t CreateTasks();
40 Bool_t ExecTasks();
41 Bool_t ProcessEvent();
42 void WriteRHeaderToFile() const;
43 void WriteReaderHeader();
99e5fe42 44
45 protected:
1b7d5d7e 46 AliJetReader(const AliJetReader& rJetReader);
47 AliJetReader& operator = (const AliJetReader& rhsr);
8838ab7a 48
139cbd96 49 AliJetCalTrkEvent* fCalTrkEvent; //! Pointer to calTrkEvent
50 AliJetFillCalTrkEvent* fFillEvent; //! Pointer to AliJetFillCalTrkEvent
51 AliJetReaderHeader* fReaderHeader; // Pointer to header
52 AliJetFillCalTrkEvent* fFillEventwTrks; // For charged particle task
53 Int_t fDebug; // Debug option
54 AliVEvent* fVEvent; //! Input event
55 AliMCEvent* fMCEvent; //! MC Event;
56 Int_t fOpt; // Detector config
57
58 ClassDef(AliJetReader,2) // jet reader class
8838ab7a 59
99e5fe42 60};
61
62#endif