12 #include "RooAbsReal.h"
13 #include "RooAbsCategory.h"
14 #include "RooListProxy.h"
24 RooAbsPdf(name,title),
25 _varList("varList","List of variables", this)
27 TIterator* varItr = varList.createIterator() ;
30 for (Int_t i=0; (var = (RooAbsArg*)varItr->Next()); ++i) {
31 if (!dynamic_cast<RooAbsReal*>(var)) {
32 coutE(InputArguments) <<
"RooMeerkatPdf::ctor(" << GetName() <<
") ERROR: variable " << var->GetName()
33 <<
" is not of type RooAbsReal" << std::endl ;
41 _varItr = _varList.createIterator();
56 RooAbsPdf(other,name),
57 _varList(
"varList",this,other._varList)
68 std::vector<Double_t> x;
72 const RooArgSet* nset =
_varList.nset();
73 for(Int_t j=0; (var=(RooAbsReal*)
_varItr->Next()); ++j) {
74 x[j] = var->getVal(nset);
Abstract class which defines probability density interface.
ClassImp(RooMeerkatPdf) RooMeerkatPdf
Double_t evaluate() const
virtual Double_t density(std::vector< Double_t > &x)=0
Calculate PDF value at the given point.