Adding the possibility not to follow particle mothers during StepManager (default...
[u/mrichter/AliRoot.git] / JETAN / AliJetReader.h
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                               */
6
7 /* $Id$ */
8  
9 // Jet reader base class
10 // manages the reading of input for jet algorithms
11 // Authors: jgcn@mda.cinvestav.mx
12 //          Magali Estienne <magali.estienne@subatech.in2p3.fr>  
13 //          alexandre.shabetai@cern.ch
14
15 #include <TObject.h>
16
17 class AliJetReaderHeader;
18 class AliJetFillCalTrkEvent;
19 class AliJetCalTrkEvent;
20 class AliVEvent;
21 class AliMCEvent;
22
23 class AliJetReader : public TObject 
24 {
25  public: 
26   AliJetReader();
27   virtual ~AliJetReader();
28
29   // Getters
30   AliJetCalTrkEvent*        GetCalTrkEvent()       const {return fCalTrkEvent;}
31   AliJetReaderHeader*       GetReaderHeader()      const {return fReaderHeader;}
32   
33   // Setters
34   void                      SetReaderHeader(AliJetReaderHeader* header)      {fReaderHeader = header;}  
35
36   // Others
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();
44  
45  protected:
46   AliJetReader(const AliJetReader& rJetReader);
47   AliJetReader& operator = (const AliJetReader& rhsr);
48
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
59
60 };
61  
62 #endif