hlit-ana  0.0.0
 All Classes Functions Variables Pages
HlitAnalysisSelector.h
1 #ifndef HlitAnalysisSelector_H
2 #define HlitAnalysisSelector_H
3 
4 #include <TH1D.h>
5 #include <TH2D.h>
6 #include <TSelector.h>
7 
8 class TTask;
9 class TTree;
10 class HlitEvent;
11 class HlitTask;
18 
19 class HlitAnalysisSelector : public TSelector {
20 
21 public:
22  HlitAnalysisSelector(TTree *tree = 0);
23  virtual ~HlitAnalysisSelector();
24 
26  virtual Int_t Version() const { return 2; }
27  virtual void Begin(TTree * /*tree*/);
28  virtual void SlaveBegin(TTree *tree);
29  virtual void Init(TTree *tree);
30  virtual Bool_t Notify();
31  virtual Bool_t Process(Long64_t entry);
32  virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0);
33  virtual void SlaveTerminate();
34  virtual void Terminate();
35 
40 
41  void SetTaskManager(HlitTask *tm) { fTaskMgr = tm; }
42 
43 private:
45  TTree *fChain;
46 
49 
51  ClassDef(HlitAnalysisSelector, 1);
53 };
54 
55 #endif
TTree * fChain
Pointer to the analyzed TTree or TChain.
Base task.
Definition: HlitTask.h:13
HlitEvent * fEvent
Current Event.
virtual Bool_t Process(Long64_t entry)
void SetTaskManager(HlitTask *tm)
virtual void SlaveBegin(TTree *tree)
Event object.
Definition: HlitEvent.h:15
virtual Int_t Version() const
Returns selector version.
virtual void Begin(TTree *)
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
HlitAnalysisSelector(TTree *tree=0)
virtual void Init(TTree *tree)
HlitTask * fTaskMgr
Task Manager.