59 TNamed(func), _cloneSet(0), _funcClone(0), _funcMaxVal(maxFuncVal), _verbose(verbose), _funcValStore(0), _funcValPtr(0), _cache(0)
66 coutE(Generation) <<
"RooAbsNumGenerator::RooAbsNumGenerator(" <<
GetName() <<
") Couldn't deep-clone function, abort," << endl ;
83 coutE(Generation) <<
fName <<
"::" <<
ClassName() <<
": cannot generate values for derived \""
84 << arg->
GetName() <<
"\"" << endl;
103 else if(0 != realVar) {
109 << realVar->
GetName() <<
"\" with unbound range" << endl;
115 << arg->
GetName() <<
"\" with unexpected type" << endl;
121 coutE(Generation) <<
fName <<
"::" <<
ClassName() <<
": constructor failed with errors" << endl;
138 assert(0 != cacheVars);
204 os << IsA()->GetName() ;
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
virtual Bool_t isFundamental() const
Is this object a fundamental type that can be added to a dataset? Fundamental-type subclasses overrid...
Bool_t recursiveRedirectServers(const RooAbsCollection &newServerList, Bool_t mustReplaceAll=kFALSE, Bool_t nameChange=kFALSE, Bool_t recurseInNewSet=kTRUE)
Recursively replace all servers with the new servers in newSet.
virtual Bool_t replace(const RooAbsArg &var1, const RooAbsArg &var2)
Replace var1 with var2 and return kTRUE for success.
virtual RooAbsArg * addClone(const RooAbsArg &var, Bool_t silent=kFALSE)
Add a clone of the specified argument to list.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual Bool_t remove(const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
Remove the specified argument from our list.
TIterator * createIterator(Bool_t dir=kIterForward) const
TIterator-style iteration over contained elements.
RooAbsArg * find(const char *name) const
Find object with given name in list.
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
virtual void printName(std::ostream &os) const
Print name of the generator.
virtual void printClassName(std::ostream &os) const
Print the class name of the generator.
virtual ~RooAbsNumGenerator()
Destructor.
void attachParameters(const RooArgSet &vars)
Reattach original parameters to function clone.
virtual void printArgs(std::ostream &os) const
Print the arguments of the generator.
virtual void printTitle(std::ostream &os) const
Print the title of the generator.
RooRealVar * _funcValStore
Bool_t hasMax(const char *name=0) const
Check if variable has an upper bound.
Bool_t hasMin(const char *name=0) const
Check if variable has a lower bound.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooRealVar fundamental object with our properties.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
RooCategory is an object to represent discrete states.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const override
Return RooArgSet with coordinates of event 'index'.
RooRealVar represents a variable that can be changed from the outside.
Iterator abstract base class.
virtual TObject * Next()=0
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.