AliRoot Core  3dc7879 (3dc7879)
AliRecoInputHandler.h
Go to the documentation of this file.
1 #ifndef ALIRECOINPUTHANDLER_H
2 #define ALIRECOINPUTHANDLER_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //-------------------------------------------------------------------------
7 // Reconstruction-specific input handler
8 // Author: Andrei Gheata, CERN
9 //-------------------------------------------------------------------------
10 
11 #ifndef ALIESDINPUTHANDLER_H
12 #include "AliESDInputHandler.h"
13 #endif
14 
15 class AliReconstruction;
16 
18 
19  public:
21  AliRecoInputHandler(const char* name, const char* title);
22  virtual ~AliRecoInputHandler() {}
23  virtual Bool_t Notify() { return AliESDInputHandler::Notify(); };
24  virtual Bool_t Notify(const char *) {return kTRUE;}
25  virtual Bool_t Init(Option_t* opt) {return AliESDInputHandler::Init(opt);}
26  virtual Bool_t Init(TTree* tree, Option_t* opt="LOCAL");
27  virtual Bool_t BeginEvent(Long64_t entry);
28  virtual Bool_t FinishEvent() {return kTRUE;}
29 // void CheckSelectionMask();
30 // AliESDEvent *GetEvent() const {return fEvent;}
31 // Option_t *GetAnalysisType() const {return fAnalysisType;}
32 // Option_t *GetDataType() const;
33  // Tag cut summary analysis
34 // Int_t GetNEventAcceptedInFile();
35 // Int_t GetNEventRejectedInFile();
36 // Bool_t GetCutSummaryForChain(Int_t *aTotal, Int_t *aAccepted, Int_t *aRejected);
37 // Int_t GetNFilesEmpty();
38  // HLT analysis
39 // AliESDEvent *GetHLTEvent() const {return fHLTEvent;}
40 // TTree *GetHLTTree() const {return fHLTTree;}
41 // void SetReadHLT() {fUseHLT = kTRUE;}
42  // Friends&Co
43 // AliESDfriend *GetESDfriend() const {return fFriend;}
44 // void SetReadFriends(Bool_t flag) {fReadFriends = flag;}
45 // void SetFriendFileName(const char *fname) {fFriendFileName = fname;}
46  // Tag analysis
47 // void SetReadTags() {fUseTags = kTRUE;}
48 // AliRunTag *GetRunTag() const {return fRunTag;}
49 // const AliEventTag *GetEventTag() const {return fEventTag;}
50  // Get the statistics object (currently TH2). Option can be BIN0.
51 // virtual TObject *GetStatistics(Option_t *option="") const;
52 
53  //PID response
54 // virtual AliPIDResponse* GetPIDResponse() {return (AliPIDResponse*)fESDpid;}
55 // virtual void CreatePIDResponse(Bool_t isMC=kFALSE);
56 // AliESDpid *GetESDpid() const {return fESDpid;}
57 // void SetESDpid(AliESDpid* pid) {fESDpid = pid;}
58 
59  private:
60  AliRecoInputHandler(const AliESDInputHandler& handler);
62  // Private setters used by AliReconstruction
63  friend class AliReconstruction;
64  void SetEvent(AliESDEvent *event) {fEvent = event;}
65  void SetESDfriend(AliESDfriend *esdfriend) {fFriend = esdfriend;}
66  void SetHLTEvent(AliESDEvent *hltevent) {fHLTEvent = hltevent;}
67  void SetHLTTree(TTree *hlttree) {fHLTTree = hlttree;}
68 
69  ClassDef(AliRecoInputHandler, 1);
70 };
71 
72 #endif
AliESDEvent * fHLTEvent
Number of events in the current tree.
void SetHLTTree(TTree *hlttree)
virtual Bool_t BeginEvent(Long64_t entry)
virtual Bool_t Init(Option_t *opt)
virtual Bool_t FinishEvent()
void SetEvent(AliESDEvent *event)
TTree * fHLTTree
Pointer to the HLT Event (if present)
void SetHLTEvent(AliESDEvent *hltevent)
TTree * tree
virtual Bool_t Notify()
virtual Bool_t Init(Option_t *opt)
void SetESDfriend(AliESDfriend *esdfriend)
virtual Bool_t Notify(const char *)
AliESDfriend * fFriend
Pointer to the event.
AliRecoInputHandler & operator=(const AliESDInputHandler &handler)
virtual Bool_t Notify()