14#ifndef TGO4FILESOURCE_H
15#define TGO4FILESOURCE_H
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
Raw event source which reads entries from a root TTree in a TFile.
Long64_t fiMaxEvents
Number of events stored in the Tree.
long int fiGlobalEvent
Global event number, starting from the first tree.
TGo4EventElement * fxTopEvent
pointer to top branch event
TList * fxFilesNames
list of files names
TGo4FileSource(TGo4FileSourceParameter *par)
Bool_t CloseCurrentFile()
Close currently open file.
virtual ~TGo4FileSource()
static TList * ProducesFilesList(const char *mask)
Bool_t BuildEvent(TGo4EventElement *dest) override
Fill the destination event dest from the tree.
TGo4FileSource(const char *name)
TString fxCurrentFileName
current name of the file
Bool_t fbActivated
This flag is used for lazy init of tree in Eventbuilding methods.
Bool_t OpenNextFile()
Open next file from the files list.
Long64_t fiCurrentEvent
Event number in current tree.