17#ifndef ROO_CODE_FACTORY
18#define ROO_CODE_FACTORY
48 static bool makePdf(
const char*
name,
const char* realArgNames=
nullptr,
const char* catArgNames=
nullptr,
49 const char* expression=
"1.0",
bool hasAnaInt=
false,
bool hasIntGen=
false,
const char* intExpression=
nullptr) ;
50 static bool makeFunction(
const char*
name,
const char* realArgNames=
nullptr,
const char* catArgNames=
nullptr,
51 const char* expression=
"1.0",
bool hasAnaInt=
false,
const char* intExpression=
nullptr) ;
52 static bool makeClass(
const char* className,
const char*
name,
const char* realArgNames=
nullptr,
const char* catArgNames=
nullptr,
53 const char* expression=
"1.0",
bool hasAnaInt=
false,
bool hasIntGen=
false,
const char* intExpression=
nullptr) ;
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooClassFactory is a clase like TTree::MakeClass() that generates skeleton code for RooAbsPdf and Roo...
static bool makePdf(const char *name, const char *realArgNames=nullptr, const char *catArgNames=nullptr, const char *expression="1.0", bool hasAnaInt=false, bool hasIntGen=false, const char *intExpression=nullptr)
Write code for a RooAbsPdf implementation with class name 'name', taking RooAbsReal arguments with na...
static RooAbsPdf * makePdfInstance(const char *className, const char *name, const char *expression, const RooArgList &vars, const char *intExpression=nullptr)
Write, compile and load code and instantiate object for a RooAbsPdf implementation with class name 'n...
RooClassFactory()
Default constructor.
RooClassFactory(const RooClassFactory &)
~RooClassFactory()
Destructor.
static RooAbsReal * makeFunctionInstance(const char *className, const char *name, const char *expression, const RooArgList &vars, const char *intExpression=nullptr)
Write, compile and load code and instantiate object for a RooAbsReal implementation with class name '...
static bool makeClass(const char *className, const char *name, const char *realArgNames=nullptr, const char *catArgNames=nullptr, const char *expression="1.0", bool hasAnaInt=false, bool hasIntGen=false, const char *intExpression=nullptr)
Write code for a 'baseName' implementation with class name 'className', taking RooAbsReal arguments w...
static bool makeAndCompileFunction(const char *name, const char *expression, const RooArgList &args, const char *intExpression=nullptr)
Write, compile and load code for a RooAbsReal implementation with class name 'name',...
static bool makeFunction(const char *name, const char *realArgNames=nullptr, const char *catArgNames=nullptr, const char *expression="1.0", bool hasAnaInt=false, const char *intExpression=nullptr)
Write code for a RooAbsReal implementation with class name 'name', taking RooAbsReal arguments with n...
static bool makeAndCompilePdf(const char *name, const char *expression, const RooArgList &vars, const char *intExpression=nullptr)