Changed scripts for new TrainSetup
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnInputHandler.h
CommitLineData
c865cb1d 1//
2// Class AliRsnInputHandler
3//
4// AliRsnInputHandler
5// TODO example
6// author:
7// Martin Vala (martin.vala@cern.ch)
8//
9
10#ifndef ALIRSNINPUTHANDLER_H
11#define ALIRSNINPUTHANDLER_H
12
13#include "AliInputEventHandler.h"
14//#include "AliRsnPIDManager.h"
15#include "AliRsnDaughterSelector.h"
16
17class AliRsnEvent;
b63357a0 18class AliRsnCutSet;
c865cb1d 19class AliRsnInputHandler : public AliInputEventHandler {
20
21public:
22 AliRsnInputHandler(const char *name = "rsnInputHandler");
61f275d1 23 AliRsnInputHandler(const AliRsnInputHandler &handler);
b63357a0 24 AliRsnInputHandler &operator=(const AliRsnInputHandler &handler);
c865cb1d 25 virtual ~AliRsnInputHandler();
26
27 // From the interface
28 virtual Bool_t Init(Option_t *opt);
29 virtual Bool_t Init(TTree *tree, Option_t *opt);
30 virtual Bool_t BeginEvent(Long64_t entry);
31 virtual Bool_t FinishEvent();
32 virtual Bool_t Notify();
33 virtual Bool_t Notify(const char *path);
34 virtual Bool_t GetEntry();
35
b63357a0 36 void SetEventCuts(AliRsnCutSet *cuts) {fRsnEventCuts = cuts;}
c865cb1d 37 AliRsnEvent *GetRsnEvent() { return fRsnEvent; }
38 //AliRsnPIDManager *GetPIDManager() { return &fRsnPIDManager; }
39 AliRsnDaughterSelector *GetSelector() { return &fRsnSelector; }
40
41private:
42
b63357a0 43 AliRsnEvent *fRsnEvent; //! pointer to current event
44 AliRsnDaughterSelector fRsnSelector; // pointer to selector for building lists
45 AliRsnCutSet *fRsnEventCuts; // unique set of cuts to be used for whole analysis
c865cb1d 46
47 ClassDef(AliRsnInputHandler, 1)
48};
49
50#endif