2 // Class AliPIDResponseInputHandler
4 // AliPIDResponseInputHandler
7 // Jens Wiechula (jens.wiechula@cern.ch)
8 // Martin Vala (martin.vala@cern.ch)
11 #ifndef ALIPIDRESPONSEINPUTHANDLER_H
12 #define ALIPIDRESPONSEINPUTHANDLER_H
14 #include "AliInputEventHandler.h"
16 class AliMultiInputEventHandler;
18 class AliPIDResponseInputHandler : public AliInputEventHandler {
21 AliPIDResponseInputHandler(const char *name = "PIDResoponseIH");
22 virtual ~AliPIDResponseInputHandler();
25 virtual Bool_t Init(Option_t *opt);
26 virtual Bool_t Init(TTree *tree, Option_t *opt);
27 virtual Bool_t BeginEvent(Long64_t entry);
28 virtual Bool_t FinishEvent();
29 virtual Bool_t Notify();
30 virtual Bool_t Notify(const char *path);
31 virtual Bool_t GetEntry();
33 void SetIsMC(Bool_t isMC=kTRUE) { fIsMC=isMC; }
36 Bool_t fIsMC; // If we run on MC data
38 AliPIDResponse *fPIDResponse; //! PID response Handler
39 Int_t fRun; //! current run number
40 Int_t fOldRun; //! current run number
41 Int_t fRecoPass; //! reconstruction pass
43 AliMultiInputEventHandler *fMCurrentMutliIH; //! input handler
49 AliPIDResponseInputHandler(const AliPIDResponseInputHandler& handler);
50 AliPIDResponseInputHandler &operator=(const AliPIDResponseInputHandler &handler);
52 ClassDef(AliPIDResponseInputHandler, 1)