1 #include "../interface/AsymPow.h"
8 RooAbsReal(name,title),
9 kappaLow_(
"kappaLow",
"Base for theta < 0", this, kappaLow),
10 kappaHigh_(
"kappaHigh",
"Base for theta > 0", this, kappaHigh),
11 theta_(
"theta",
"Exponent (unit gaussian)", this, theta)
19 return new AsymPow(newname, this->GetTitle(),
20 const_cast<RooAbsReal &>(
kappaLow_.arg()),
22 const_cast<RooAbsReal &>(
theta_.arg()));
46 double avg = 0.5*(logKhi + logKlo), halfdiff = 0.5*(logKhi - logKlo);
47 double twox = x+
x, twox2 = twox*twox;
48 double alpha = 0.125 * twox * (twox2 * (3*twox2 - 10.) + 15.);
49 double ret = avg + alpha*halfdiff;
Double_t evaluate() const
Geom::Theta< T > theta() const
TObject * clone(const char *newname) const
Double_t logKappaForX(Double_t x) const