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 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.
void Info(const char *location, const char *msgfmt,...)
void Error(const char *location, const char *msgfmt,...)
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.
static RooMathCoreReg dummy
Class to find axis limits and synchronize them between workers.
typedef void((*Func_t)())
R__EXTERN TProofServ * gProofServ
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.