13#ifndef ROOCFUNCTION1BINDING 
   14#define ROOCFUNCTION1BINDING 
   42template<
class VO, 
class VI>
 
   88template<
class VO, 
class VI>
 
  113    temp._funcptr = 
_ptr;
 
  114    return Form(
"(%p)",temp._ptr) ;
 
 
 
  141template<
class VO, 
class VI>
 
  144template<
class VO, 
class VI>
 
  156  typedef ::RooCFunction1Ref<VO,VI> 
thisClass;
 
  159   if (
R__b.IsReading()) {
 
  171       coutW(ObjectHandling) << 
"WARNING: Objected embeds function pointer to unknown function, object will not be functional" << std::endl ;
 
  172       _ptr = dummyFunction ;
 
  177       _ptr = fmap().lookupPtr(
tmpName.Data()) ;
 
  180    coutW(ObjectHandling) << 
"ERROR: Objected embeds pointer to function named " << 
tmpName 
  181                << 
" but no such function is registered, object will not be functional" << std::endl ;
 
  191     R__c = 
R__b.WriteVersion(thisClass::IsA(), 
true);
 
  201        temp._funcptr = _ptr;
 
  202        coutW(ObjectHandling) << 
"WARNING: Cannot persist unknown function pointer " << 
Form(
"%p",temp._ptr)
 
  203                              << 
" written object will not be functional when read back" <<  std::endl ;
 
 
  217template<
class VO,
class VI>
 
  229    os << 
"[ function=" << func.name() << 
" " ;
 
  230    for (
Int_t i=0 ; i<numProxies() ; i++) {
 
 
 
  256template<
class VO,
class VI>
 
  260  x(func.argName(0),func.argName(0),
this,_x)
 
 
  269template<
class VO,
class VI>
 
  280template<
class VO,
class VI>
 
  292    os << 
"[ function=" << 
func.name() << 
" " ;
 
 
 
  319template<
class VO,
class VI>
 
  323  x(func.argName(0),func.argName(0),
this,_x)
 
 
  332template<
class VO,
class VI>
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
int Int_t
Signed integer 4 bytes (int)
 
short Version_t
Class version identifier (short)
 
#define ClassDefOverride(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
Int_t numProxies() const
Return the number of registered proxies.
 
RooAbsProxy * getProxy(Int_t index) const
Return the nth proxy from the proxy list.
 
Abstract interface for all probability density functions.
 
Abstract interface for proxy classes.
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
RooCFunction1Binding is a templated implementation of class RooAbsReal that binds generic C(++) funct...
 
RooCFunction1Ref< VO, VI > func
 
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
 
TObject * clone(const char *newname=nullptr) const override
 
void printArgs(std::ostream &os) const override
Print object arguments, ie its proxies.
 
VO(*)(VI) lookupPtr(const char *name)
 
const char * lookupArgName(VO(*ptr)(VI), UInt_t iarg)
 
void add(const char *name, VO(*ptr)(VI), const char *arg1name="x")
 
std::map< VO(*)(VI), std::vector< std::string > > _argnamemap
 
std::map< VO(*)(VI), std::string > _namemap
 
std::map< std::string, VO(*)(VI)> _ptrmap
 
const char * lookupName(VO(*ptr)(VI))
 
RooCFunction1Ref< VO, VI > func
 
RooCFunction1PdfBinding()
 
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
 
TObject * clone(const char *newname=nullptr) const override
 
void printArgs(std::ostream &os) const override
Print object arguments, ie its proxies.
 
static VO dummyFunction(VI)
 
void Streamer(TBuffer &) override
Stream an object of class TObject.
 
VO operator()(VI x) const
 
const char * name() const
 
const char * argName(Int_t iarg)
 
static RooCFunction1Map< VO, VI > & fmap()
 
static RooCFunction1Map< VO, VI > * _fmap
Pointer to embedded function.
 
RooCFunction1Ref(VO(*ptr)(VI)=nullptr)
 
Buffer base class used for serializing objects.
 
Mother of all ROOT objects.
 
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
double(* CFUNCD1D)(double)
 
double(* CFUNCD1I)(Int_t)
 
RooAbsPdf * bindPdf(const char *name, CFUNCD1D func, RooAbsReal &x)
 
RooAbsReal * bindFunction(const char *name, CFUNCD1D func, RooAbsReal &x)