24 GO4TRACE((12,
"TGo4ComAddTreeHistogram::TGo4ComAddTreeHistogram() ctor",__LINE__, __FILE__));
31 GO4TRACE((12,
"TGo4ComAddTreeHistogram::TGo4ComAddTreeHistogram() ctor",__LINE__, __FILE__));
53 GO4TRACE((12,
"TGo4ComAddTreeHistogram::ExeCom()",__LINE__, __FILE__));
69 TString::Format(
"Could not add Dynamic histogram %s for tree %s !!!",
73 cli->
SendStatusMessage(3, kTRUE, TString::Format(
" %s ERROR no analysis ", GetName()));
76 GO4TRACE((11,
"TGo4ComAddTreeHistogram::ExeCom() - no receiver specified ERROR!", __LINE__, __FILE__));
77 TGo4Log::Debug(
" !!! ComAddTreeHistogram ''%s'': NO RECEIVER ERROR!!!", GetName());
void SendStatusMessage(Int_t level, Bool_t printout, const TString &text) override
Send message to gui.
The mother of all go4 analysis.
static TGo4Analysis * Instance()
return analysis instance
Bool_t AddTreeHistogram(const char *hisname, const char *treename, const char *varexp, const char *cutexp)
Add Histogram into the dynamic list which is linked to a tree.
void SetCut(const char *cut)
Set TCut to be applied on this tree histogram.
void SetHistogramName(const char *name)
Set histogram (dynamic entry) name.
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
TString fxVarexp
Variable expression defining what to draw in the histogram.
void SetTreeName(const char *name)
Set tree name.
TString fxTreeName
Name of Tree linked to that histogram.
Int_t ExeCom() override
Do the command action.
TString fxHistoName
Name of the histogram for dynamic list.
TString fxCut
String with cut expression.
void SetVarexp(const char *exp)
Set dynamic entry index name.
TGo4ComAddTreeHistogram()
void SetProtection(Go4CommandMode_t m)
TGo4CommandReceiver * fxReceiverBase
void SetReceiverName(const char *)
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.
const char * GetString(Int_t i) const