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;
virtual const char * GetTitle() const
Returns title of object.
virtual void printName(std::ostream &os) const
Print name of the generator.
virtual ~RooAbsNumGenerator()
Destructor.
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
virtual Bool_t replace(const RooAbsArg &var1, const RooAbsArg &var2)
Replace var1 with var2 and return kTRUE for success.
virtual Bool_t isFundamental() const
virtual void printArgs(std::ostream &os) const
Print the arguments of the generator.
ClassImp(RooAbsNumGenerator)
Iterator abstract base class.
virtual void printTitle(std::ostream &os) const
Print the title of the generator.
RooAbsArg * createFundamental(const char *newname=0) const
Create a RooRealVar fundamental object with our properties.
Bool_t hasMax(const char *name=0) const
The TNamed class is the base class for all named ROOT classes.
TIterator * createIterator(Bool_t dir=kIterForward) const
void attachParameters(const RooArgSet &vars)
Reattach original parameters to function clone.
RooRealVar represents a fundamental (non-derived) real valued object.
RooRealVar * _funcValStore
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
virtual const char * GetName() const
Returns name of object.
RooDataSet is a container class to hold unbinned data.
RooCategory represents a fundamental (non-derived) discrete value object.
Bool_t hasMin(const char *name=0) const
virtual void printClassName(std::ostream &os) const
Print the class name of the generator.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double func(double *x, double *p)
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 RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.