71 GO4TRACE((11,
"TGo4ComSetObject::ExeCom() - no receiver specified ERROR!",__LINE__, __FILE__));
77 fxClient->SendStatusMessage(3, kTRUE, TString::Format(
"SetObject - ERROR: no source object specified for %s",
GetObjectName()));
102 fxAna->UpdateNamesList();
106 TFolder *top =
fxAna->GetObjectFolder();
108 fullname.Remove(0, 6);
109 fxResult->SetObjectFullName(fullname);
120 buf = TString::Format(
"Parameter %s was set to new values.",
GetObjectName());
121 fxClient->SendStatusMessage(1, kTRUE, buf);
124 buf = TString::Format(
"SetObject - ERROR: failed to set parameter %s",
GetObjectName());
125 fxClient->SendStatusMessage(3, kTRUE, buf);
139 buf = TString::Format(
"Parameter %s was set to new values.",
GetObjectName());
140 fxClient->SendStatusMessage(1, kTRUE, buf);
143 buf = TString::Format(
"SetObject - ERROR: failed to set parameter %s",
GetObjectName());
144 fxClient->SendStatusMessage(3, kTRUE, buf);
155 if(!conny)
return -1;
158 buf = TString::Format(
"Condition %s was set to new values.",
GetObjectName());
159 fxClient->SendStatusMessage(1, kTRUE, buf);
162 buf = TString::Format(
"SetCondition - ERROR: failed to set %s",
GetObjectName());
163 fxClient->SendStatusMessage(3, kTRUE, buf);
176 if(
fxAna->AddHistogram(his)) {
179 buf = TString::Format(
"Added new histogram %s to Go4 folders.",
GetObjectName());
180 fxClient->SendStatusMessage(1, kFALSE, buf);
182 buf = TString::Format(
"ERROR on adding new histogram %s ",
GetObjectName());
183 fxClient->SendStatusMessage(3, kFALSE, buf);
201 fxClient->SendStatusMessage(1, kTRUE, buf);
205 fxClient->SendStatusMessage(2, kTRUE, buf);
219 buf = TString::Format(
"Picture %s was set to new values.",
GetObjectName());
220 fxClient->SendStatusMessage(1, kFALSE, buf);
222 buf = TString::Format(
"SetPicture - ERROR: failed to set %s",
GetObjectName());
223 fxClient->SendStatusMessage(3, kFALSE, buf);
235 if(
fxAna->AddObject(
dynamic_cast<TNamed*
>(ob))) {
237 buf = TString::Format(
"Added new object %s to Go4 folders.",
GetObjectName());
238 fxClient->SendStatusMessage(1, kFALSE, buf);
241 buf = TString::Format(
"ERROR on adding new object %s ",
GetObjectName());
242 fxClient->SendStatusMessage(3, kFALSE, buf);
const char * GetObjectName() const
access to the object name under command.
void SetObjectName(const char *name)
set the object name under command.
TGo4AnalysisObjectCommand()
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
const char * GetFolderName() const
Contains the name (key) list of all objects in the analysis scope.
static TGo4Analysis * Instance()
return analysis instance
virtual ~TGo4ComSetObject()
Int_t ExeSetDyn(TGo4DynamicEntry *dyn)
Int_t ExeSetCon(TGo4Condition *con)
Int_t ExeCom() override
Do the command action.
Int_t ExeSetPic(TGo4Picture *pic)
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
Int_t ExeSetObj(TObject *ob)
Int_t ExeSetParStatus(TGo4ParameterStatus *par)
TGo4AnalysisObjectResult * fxResult
structure to keep result of setting action
Int_t ExeSetHis(TH1 *his)
Int_t ExeSetPar(TGo4Parameter *par)
TGo4AnalysisClient * fxClient
TObject * fxObject
The object to be set.
void SetProtection(Go4CommandMode_t m)
TGo4CommandReceiver * fxReceiverBase
void SetReceiverName(const char *)
ABC for all entries that can be kept in a dynamic list.
Bool_t IsEnabledProcessing() const
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
Status object for an analysis parameter.
Base class for all parameter aggregations, e.g.
Picture cconfiguration in Go4.
This command is a container for commands to be send from master to slave via inter-process transport.
TObject * GetAggregate(Bool_t chown=kTRUE)
Dynamic list entry which links a histogram to a certain tree.
Int_t GetDynListInterval() const