44 ::Info(
"TProofLimitsFinder::AutoBinFunc",
45 "Sending %f, %f, %f, %f, %f, %f", xmin, xmax, ymin, ymax, zmin, zmax);
47 mess << key << xmin << xmax << ymin << ymax << zmin << zmax;
54 if (s->
Recv(answ) <= 0 || !answ)
59 (*answ) >> key >> xmin >> xmax >> ymin >> ymax >> zmin >> zmax;
64 ::Error(
"TProofLimitsFinder::AutoBinFunc",
"command %d cannot be executed while processing", what);
65 }
else if (xrc == -2) {
66 ::Error(
"TProofLimitsFinder::AutoBinFunc",
"unknown command %d ! Protocol error?", what);
81 AutoBinFunc(key, xmin, xmax, dummy, dummy, dummy, dummy);
95 AutoBinFunc(key, xmin, xmax, ymin, ymax, dummy, dummy);
107 AutoBinFunc(key, xmin, xmax, ymin, ymax, zmin, zmax);
virtual const char * GetName() const
Returns name of object.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
TSocket * GetSocket() const
virtual Int_t HandleSocketInput(TMessage *mess, Bool_t all)
Process input coming from the client or from the master server.
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax)
Compute the best axis limits for the X axis.
static void AutoBinFunc(TString &key, Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, Double_t &zmin, Double_t &zmax)
Get bining information.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
static RooMathCoreReg dummy
static constexpr double s
Class to find axis limits and synchronize them between workers.
R__EXTERN TProofServ * gProofServ
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.