48 : fRootMin( rootMin ),
50 fMaxIter( maxIterations ),
51 fAbsTol ( absTolerance ),
74 Log() <<
kWARNING <<
"<Root> initial interval w/o root: " 75 <<
"(a=" << a <<
", b=" << b <<
")," 78 <<
"(fa=" << fa <<
", fb=" << fb <<
"), " 79 <<
"refValue = " << refValue <<
Endl;
87 if ((fb < 0 && fc < 0) || (fb > 0 && fc > 0)) {
98 fa = fb; fb =
fc; fc = fa;
112 if (ac_equal) { p = 2 * m * s; q = 1 - s; }
114 q = fa /
fc; r = fb /
fc;
115 p = s * (2 * m * q * (q -
r) - (b - a) * (r - 1));
116 q = (q - 1) * (r - 1) * (s - 1);
124 if (2 * p < (min1 < min2 ? min1 : min2)) {
128 else { d =
m;
e =
m; }
134 else b += (m > 0 ? +tol : -
tol);
142 <<
") reached before convergence" <<
Endl;
MsgLogger & Endl(MsgLogger &ml)
virtual Double_t GetValueForRoot(Double_t)
returns efficiency as function of cut
static struct mg_connection * fc(struct mg_context *ctx)
Double_t Root(Double_t refValue)
Root finding using Brents algorithm; taken from CERNLIB function RZERO.
virtual ~RootFinder(void)
destructor
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Abstract ClassifierFactory template that handles arbitrary types.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
MsgLogger & Log() const
message logger