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 ;
84 << arg->
GetName() <<
"\"" << endl;
94 arg= _cloneSet->addClone(*arg);
103 else if(0 != realVar) {
109 << realVar->
GetName() <<
"\" with unbound range" << endl;
115 << arg->
GetName() <<
"\" with unexpected type" << endl;
138 assert(0 != cacheVars);
204 os << IsA()->GetName() ;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual ~RooAbsNumGenerator()
Destructor.
Bool_t hasMin(const char *name=0) const
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
virtual Bool_t replace(const RooAbsArg &var1, const RooAbsArg &var2)
Replace var1 with var2 and return kTRUE for success.
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooRealVar fundamental object with our properties.
Bool_t hasMax(const char *name=0) const
virtual void printArgs(std::ostream &os) const
Print the arguments of the generator.
Iterator abstract base class.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
The TNamed class is the base class for all named ROOT classes.
void attachParameters(const RooArgSet &vars)
Reattach original parameters to function clone.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual Bool_t isFundamental() const
RooRealVar * _funcValStore
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
virtual void printClassName(std::ostream &os) const
Print the class name of the generator.
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
RooDataSet is a container class to hold unbinned data.
RooCategory represents a fundamental (non-derived) discrete value object.
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
RooAbsArg * find(const char *name) const
Find object with given name in list.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual void printTitle(std::ostream &os) const
Print the title of the generator.
double func(double *x, double *p)
virtual void printName(std::ostream &os) const
Print name of the generator.
virtual Bool_t remove(const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
Remove the specified argument from our list.
virtual TObject * Next()=0
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Bool_t recursiveRedirectServers(const RooAbsCollection &newServerList, Bool_t mustReplaceAll=kFALSE, Bool_t nameChange=kFALSE, Bool_t recurseInNewSet=kTRUE)
virtual const char * GetTitle() const
Returns title of object.