30 GO4TRACE((12,
"TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent(const char *) ctor",__LINE__, __FILE__));
41 GO4TRACE((12,
"TGo4ComGetCurrentEvent::TGo4ComGetCurrentEvent() ctor",__LINE__, __FILE__));
48 GO4TRACE((12,
"TGo4ComGetCurrentEvent::ExeCom()",__LINE__, __FILE__));
50 TGo4Log::Debug(
" Executing %s : Event %s requested, isoutput=%d, printoutonly=%d ",
56 GO4TRACE((11,
"TGo4ComGetCurrentEvent::ExeCom() - no receiver specified ERROR!",__LINE__, __FILE__));
57 TGo4Log::Debug(
" !!! %s : NO or WRONG RECEIVER ERROR!!!",GetName());
64 cli->
SendStatusMessage(3, kTRUE,TString::Format(
" %s ERROR no analysis ",GetName()));
80 "GetCurrentEvent %s - ERROR: no such event ",
GetObjectName()));
102 TString::Format(
"GetCurrentEvent %s - ERROR: no such event ",
GetObjectName()));
void SendStatusMessage(Int_t level, Bool_t printout, const TString &text) override
Send message to gui.
const char * GetObjectName() const
access to the object name under command.
TGo4AnalysisObjectCommand()
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
The mother of all go4 analysis.
TGo4EventElement * GetInputEvent(const char *stepname) const
Returns the input event structure of analysis step.
static TGo4Analysis * Instance()
return analysis instance
TGo4EventElement * GetEventStructure(const char *name) const
Search reference to event structure in folder.
void ShowEvent(const char *stepname, Bool_t isoutput=kTRUE)
Printout event content of single current event to analysis terminal (using ROOT TTree::Show method).
TGo4EventElement * GetOutputEvent(const char *stepname) const
Returns the output event (detector) structure of analysis step.
TTree * CreateSingleEventTree(const char *name, Bool_t isoutput=kTRUE)
Create a tree that is filled with one single event sample.
Bool_t fbTreeMode
If true, event will be put into tree before showing; otherwise use PrintEvent method or send event di...
Bool_t IsOutputEvent() const
Bool_t IsTreeMode() const
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
Bool_t fbOutputEvent
If true output event is searched, otherwise input event of step.
Bool_t IsPrintoutOnly() const
Int_t ExeCom() override
Do the command action.
Bool_t fbPrintoutOnly
If true, the event will not be sent but content is shown on analysis terminal.
TGo4CommandReceiver * fxReceiverBase
void SetReceiverName(const char *)
const char * GetTaskName() const
The abstract base class for the data elements of which the unpacked events (or detector structure dat...
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
This command is a container for commands to be send from master to slave via inter-process transport.
Int_t GetValue(Int_t i) const
void SendObject(TObject *obj, const char *receiver=nullptr)
Send object via data channel to the server.