13#ifndef ROOT_TEventIter
14#define ROOT_TEventIter
#define ClassDef(name, id)
Manages an element of a TDSet.
This class implements a data set to be used for PROOF processing.
Describe directory structure in memory.
A List of entry numbers in a TTree or TChain.
Int_t GetNextPacket(Long64_t &first, Long64_t &num)
Get loop range.
TEventIterObj()
Default ctor.
Long64_t GetNextEvent()
Get next event.
~TEventIterObj()
Destructor.
void PreProcessEvent(Long64_t)
To be executed before by TProofPlayer calling TSelector::Process.
TFileTree(const char *name, TFile *f, Bool_t islocal)
Default ctor.
virtual ~TFileTree()
Default dtor.
Int_t GetNextPacket(Long64_t &first, Long64_t &num)
Get loop range.
Int_t GetLearnEntries()
Return the number of entries in the learning phase.
Long64_t GetCacheSize()
Return the size in bytes of the cache, if any Return -1 if not used.
Long64_t GetNextEvent()
Get next event.
void PreProcessEvent(Long64_t ent)
Actions to be done just before processing entry 'entry'.
TEventIterTree()
Default ctor.
TTree * Load(TDSetElement *elem, Bool_t &localfile, const char *objname=0)
Load a tree from s TDSetElement.
Bool_t fTreeCacheIsLearning
~TEventIterTree()
Destructor.
TTree * GetTrees(TDSetElement *elem)
Create a Tree for the main TDSetElement and for all the friends.
Int_t GetNextPacket(Long64_t &first, Long64_t &num)
Get loop range.
Long64_t GetNextEvent()
Get next event.
TEventIterUnit()
Default constructor.
Special iterator class used in TProofPlayer to iterate over events or objects in the packets.
Long64_t fEntryListPos
entry list for processing
virtual ~TEventIter()
Destructor.
virtual Long64_t GetEntryNumber(Long64_t)
virtual Int_t GetLearnEntries()=0
TList * fPackets
current position in the entrylist
virtual void StopProcess(Bool_t abort)
Set flag to stop the process.
virtual Long64_t GetCacheSize()=0
Int_t fEventListPos
eventList for processing
static TEventIter * Create(TDSet *dset, TSelector *sel, Long64_t first, Long64_t num)
Create and instance of the appropriate iterator.
virtual Int_t GetNextPacket(Long64_t &first, Long64_t &num)=0
Int_t LoadDir()
Load directory.
virtual void InvalidatePacket()
Invalidated the current packet (if any) by setting the TDSetElement::kCorrupted bit.
TEntryList * fEntryList
current position in the eventList
virtual void PreProcessEvent(Long64_t)
TEventIter()
Default constructor.
virtual Long64_t GetNextEvent()=0
A TEventList object is a list of selected events (entries) in a TTree.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
A TTree object has a header with a name and a title.