]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/TTreeTools.h
Support for automatic pedestal estimation per pad (Marian and Matevz).
[u/mrichter/AliRoot.git] / EVE / Reve / TTreeTools.h
CommitLineData
5a5a1232 1// $Header
2
3#ifndef REVE_TTreeTools_H
4#define REVE_TTreeTools_H
5
6#include <TSelectorDraw.h>
7#include <TEventList.h>
8
9/**************************************************************************/
10// TSelectorToEventList
11/**************************************************************************/
12
13class TSelectorToEventList : public TSelectorDraw
14{
15protected:
16 TEventList* fEvList;
17 TList fInput;
18public:
19 TSelectorToEventList(TEventList* evl, const Text_t* sel);
20
21 virtual Bool_t Process(Long64_t entry);
22 virtual Bool_t ProcessCut(Long64_t entry);
23 virtual void ProcessFill(Long64_t entry) { fEvList->Enter(entry); }
24
25 ClassDef(TSelectorToEventList, 1)
26};
27
28/**************************************************************************/
29// TTreeQuery
30/**************************************************************************/
31
32class TTreeQuery : public TEventList
33{
34public:
35 TTreeQuery() : TEventList() {}
36
37 Int_t Select(TTree* t, const Text_t* selection);
38
39 ClassDef(TTreeQuery, 1)
40};
41
42/**************************************************************************/
43/**************************************************************************/
44
45#endif