GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4TreeSource.h>
Public Member Functions | |
TGo4TreeSource () | |
TGo4TreeSource (const char *name) | |
virtual | ~TGo4TreeSource () |
TGo4TreeSource (TGo4TreeSourceParameter *par) | |
Bool_t | BuildEvent (TGo4EventElement *dest) override |
![]() | |
TGo4EventSource () | |
TGo4EventSource (const char *name) | |
virtual | ~TGo4EventSource () |
void | Clear (Option_t *opt="") override |
Int_t | GetCreateStatus () const |
Int_t | GetEventStatus () const |
const char * | GetErrMess () const |
virtual const char * | GetActiveName () const |
virtual Bool_t | CheckEventClass (TClass *cl) |
Private Member Functions | |
Int_t | Open () |
Private Attributes | |
TGo4MainTree * | fxSingletonTree {nullptr} |
TTree * | fxTree {nullptr} |
TBranch * | fxBranch {nullptr} |
Additional Inherited Members | |
![]() | |
static const Int_t | fgiTIMEOUTDEFAULT =1 |
![]() | |
enum | { fguTXTLEN = 256 } |
![]() | |
void | SetErrMess (const char *txt) |
void | SetEventStatus (Int_t status) |
void | SetCreateStatus (Int_t status) |
void | ThrowError (Int_t creastat, Int_t errstat, const char *message,...) |
void | ThrowEOF (Int_t creastat, Int_t errstat, const char *message,...) |
Raw event source which reads entries from a root TTree. We use one single tree for all generations of events, which is kept by the go4 maintree class.
Definition at line 32 of file TGo4TreeSource.h.
TGo4TreeSource::TGo4TreeSource | ( | ) |
Definition at line 40 of file TGo4TreeSource.cxx.
References GO4TRACE.
TGo4TreeSource::TGo4TreeSource | ( | const char * | name | ) |
Definition at line 25 of file TGo4TreeSource.cxx.
|
virtual |
Definition at line 46 of file TGo4TreeSource.cxx.
References fxBranch, fxSingletonTree, TGo4MainTree::GetCurrentIndex(), TGo4MainTree::GetMaxIndex(), and GO4TRACE.
TGo4TreeSource::TGo4TreeSource | ( | TGo4TreeSourceParameter * | par | ) |
Definition at line 32 of file TGo4TreeSource.cxx.
|
overridevirtual |
Fill the destination event dest from the tree. If end of tree is reached, the current event counter is reset and a kFALSE value is returned.
Reimplemented from TGo4EventSource.
Definition at line 83 of file TGo4TreeSource.cxx.
References fxBranch, fxSingletonTree, TGo4MainTree::GetCurrentIndex(), GO4TRACE, and TGo4EventSource::ThrowError().
|
private |
Definition at line 63 of file TGo4TreeSource.cxx.
References TGo4Log::Debug(), fxBranch, fxSingletonTree, fxTree, TGo4MainTree::GetTree(), GO4TRACE, TGo4MainTree::Instance(), and TGo4EventSource::ThrowError().
Referenced by TGo4TreeSource().
|
private |
The branch representing our source.
Definition at line 58 of file TGo4TreeSource.h.
Referenced by BuildEvent(), Open(), and ~TGo4TreeSource().
|
private |
Reference to external tree singleton wrapper instance. Is initialized once at the start and used to access the singleton member functions.
Definition at line 52 of file TGo4TreeSource.h.
Referenced by BuildEvent(), Open(), and ~TGo4TreeSource().
|
private |
Reference to external root tree singleton.
Definition at line 55 of file TGo4TreeSource.h.
Referenced by Open().