| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Raw event source which reads entries from a root TTree in a TFile.
File is opened by ctor; method BuildEvent() iterates over tree. Needs pointer to external
reference to event structure class which must match the structure of the tree entry
New since 10/2004: Name of event element defines tree subbranch
to be activated as partial input
Field Summary | |
private Bool_t | fbActivated This flag is used for lazy init of tree in Eventbuilding methods. |
private Int_t | fiCurrentEvent Number of events stored in the Tree. |
private Int_t | fiMaxEvents Number of events stored in the Tree. |
private TString | fxBranchName name of tree branch to be activated |
private TFile* | fxFile |
private TObject* | fxTopEvent pointer to top branch event |
private TTree* | fxTree |
Fields inherited from interface Go4Event.TGo4EventSource |
fgiTIMEOUTDEFAULT, fguTXTLEN |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
TGo4FileSource() | |
TGo4FileSource(TGo4FileSourceParameter* par) | |
TGo4FileSource(const char * name) |
Destructor Summary | |
virtual synchronized | ~TGo4FileSource() |
Method Summary | |
Bool_t | BuildCompositeEvent(TGo4CompositeEvent* dest) Use this method instead of BuildEvent to correctly sync and read Go4 composite event |
Bool_t | BuildEvent(TGo4EventElement* dest) Fill the destination event dest from the tree. |
private Int_t | Open() Open file. |
Methods inherited from interface Go4Event.TGo4EventSource |
Clear, GetCreateStatus, GetErrMess, GetEventStatus, SetCreateStatus, SetErrMess, SetEventStatus, ThrowError |
Methods inherited from class TNamed |
operator=, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
Field Detail |
private Bool_t fbActivated
private Int_t fiCurrentEvent
private Int_t fiMaxEvents
private TString fxBranchName
private TFile* fxFile
private TObject* fxTopEvent
private TTree* fxTree
Constructor Detail |
public TGo4FileSource()
public TGo4FileSource(TGo4FileSourceParameter* par)
public TGo4FileSource(const char * name)
Method Detail |
public virtual synchronized ~TGo4FileSource()
Method Detail |
public Bool_t BuildCompositeEvent(TGo4CompositeEvent* dest)
public Bool_t BuildEvent(TGo4EventElement* dest)
private Int_t Open()
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |