#include <FWTSelectorToEventList.h>
Public Member Functions | |
ClassDef (FWTSelectorToEventList, 0) | |
void | ClearEventList () |
FWTSelectorToEventList (TTree *tree, TEventList *evl, const char *sel) | |
TEventList * | GetEventList () const |
Bool_t | GetOwnEventList () const |
virtual Bool_t | Process (Long64_t entry) |
virtual Long64_t | ProcessTree (Long64_t nentries=1000000000, Long64_t firstentry=0) |
void | SetOwnEventList (Bool_t o) |
virtual | ~FWTSelectorToEventList () |
Private Attributes | |
TEventList * | fEvList |
Bool_t | fOwnEvList |
TTreePlayer * | fPlayer |
Definition at line 12 of file FWTSelectorToEventList.h.
FWTSelectorToEventList::FWTSelectorToEventList | ( | TTree * | tree, |
TEventList * | evl, | ||
const char * | sel | ||
) |
Definition at line 29 of file FWTSelectorToEventList.cc.
References fPlayer.
FWTSelectorToEventList::~FWTSelectorToEventList | ( | ) | [virtual] |
Definition at line 41 of file FWTSelectorToEventList.cc.
References fEvList, fOwnEvList, and fPlayer.
{ delete fPlayer; if (fOwnEvList) delete fEvList; }
FWTSelectorToEventList::ClassDef | ( | FWTSelectorToEventList | , |
0 | |||
) |
void FWTSelectorToEventList::ClearEventList | ( | ) |
TEventList* FWTSelectorToEventList::GetEventList | ( | ) | const [inline] |
Bool_t FWTSelectorToEventList::GetOwnEventList | ( | ) | const [inline] |
Definition at line 31 of file FWTSelectorToEventList.h.
References fOwnEvList.
{ return fOwnEvList; }
Bool_t FWTSelectorToEventList::Process | ( | Long64_t | entry | ) | [virtual] |
Definition at line 58 of file FWTSelectorToEventList.cc.
References fEvList.
{ // Process entry. Long64_t prevRows = fSelectedRows; TSelectorEntries::Process(entry); if (fSelectedRows > prevRows) fEvList->Enter(entry); return kTRUE; }
Long64_t FWTSelectorToEventList::ProcessTree | ( | Long64_t | nentries = 1000000000 , |
Long64_t | firstentry = 0 |
||
) | [virtual] |
Definition at line 74 of file FWTSelectorToEventList.cc.
References fPlayer.
{ return fPlayer->Process(this, "", nentries, firstentry); }
void FWTSelectorToEventList::SetOwnEventList | ( | Bool_t | o | ) | [inline] |
Definition at line 32 of file FWTSelectorToEventList.h.
References fOwnEvList, and connectstrParser::o.
{ fOwnEvList = o; }
TEventList* FWTSelectorToEventList::fEvList [private] |
Definition at line 15 of file FWTSelectorToEventList.h.
Referenced by ClearEventList(), GetEventList(), Process(), and ~FWTSelectorToEventList().
Bool_t FWTSelectorToEventList::fOwnEvList [private] |
Definition at line 17 of file FWTSelectorToEventList.h.
Referenced by GetOwnEventList(), SetOwnEventList(), and ~FWTSelectorToEventList().
TTreePlayer* FWTSelectorToEventList::fPlayer [private] |
Definition at line 16 of file FWTSelectorToEventList.h.
Referenced by FWTSelectorToEventList(), ProcessTree(), and ~FWTSelectorToEventList().