50 ClassImp(RooAbsMoment);
57 RooAbsMoment::RooAbsMoment() : _order(1), _takeRoot(kFALSE)
65 RooAbsMoment::RooAbsMoment(
const char* name,
const char* title, RooAbsReal& func, RooRealVar& x, Int_t orderIn, Bool_t takeRoot) :
66 RooAbsReal(name, title),
69 _nset(
"nset",
"nset",this,kFALSE,kFALSE),
70 _func(
"function",
"function",this,func,kFALSE,kFALSE),
71 _x(
"x",
"x",this,x,kFALSE,kFALSE),
72 _mean(
"!mean",
"!mean",this,kFALSE,kFALSE)
79 RooAbsMoment::RooAbsMoment(
const RooAbsMoment& other,
const char* name) :
80 RooAbsReal(other, name),
82 _takeRoot(other._takeRoot),
83 _nset(
"nset",this,other._nset),
84 _func(
"function",this,other._func),
85 _x(
"x",this,other._x),
86 _mean(
"!mean",
"!mean",this,kFALSE,kFALSE)
95 RooAbsMoment::~RooAbsMoment()