45 ::Info(
"TProofLimitsFinder::AutoBinFunc",
46 "Sending %f, %f, %f, %f, %f, %f", xmin, xmax, ymin, ymax, zmin, zmax);
48 mess << key << xmin << xmax << ymin << ymax << zmin << zmax;
55 if (s->
Recv(answ) <= 0 || !answ)
60 (*answ) >> key >> xmin >> xmax >> ymin >> ymax >> zmin >> zmax;
65 ::Error(
"TProofLimitsFinder::AutoBinFunc",
"command %d cannot be executed while processing", what);
66 }
else if (xrc == -2) {
67 ::Error(
"TProofLimitsFinder::AutoBinFunc",
"unknown command %d ! Protocol error?", what);
82 AutoBinFunc(key, xmin, xmax, dummy, dummy, dummy, dummy);
96 AutoBinFunc(key, xmin, xmax, ymin, ymax, dummy, dummy);
108 AutoBinFunc(key, xmin, xmax, ymin, ymax, zmin, zmax);
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
ClassImp(TProofLimitsFinder) void TProofLimitsFinder
Get bining information.
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,...)
TSocket * GetSocket() const
virtual const char * GetName() const
Returns name of object.
static RooMathCoreReg dummy
typedef void((*Func_t)())
R__EXTERN TProofServ * gProofServ
static void AutoBinFunc(TString &key, Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, Double_t &zmin, Double_t &zmax)
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.