Logo ROOT  
Reference Guide
RooExtendedBinding.cxx
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * *
4  * This code was autogenerated by RooClassFactory *
5  *****************************************************************************/
6 
7 // Your description goes here...
8 
9 #include <iostream>
10 #include <cmath>
11 
12 #include "RooExtendedBinding.h"
13 #include "RooAbsPdf.h"
14 #include "RooAbsCategory.h"
15 
17 
18  RooExtendedBinding::RooExtendedBinding(const char *name, const char *title, RooAbsPdf& _pdf) :
19  RooAbsReal(name,title),
20  pdf("pdf","pdf",this,_pdf)
21  {
22  }
23 
24 
26  RooAbsReal(other,name),
27  pdf("pdf",this,other.pdf)
28  {
29  }
30 
31 
32 
34  {
35  // ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
36  return ((RooAbsPdf&)pdf.arg()).expectedEvents(0) ;
37  }
38 
39 
40 
RooTemplateProxy::arg
const T & arg() const
Return reference to object held in proxy.
Definition: RooTemplateProxy.h:271
ClassImp
#define ClassImp(name)
Definition: Rtypes.h:364
RooExtendedBinding::pdf
RooRealProxy pdf
Definition: RooExtendedBinding.h:30
RooExtendedBinding::RooExtendedBinding
RooExtendedBinding()
Definition: RooExtendedBinding.h:22
RooAbsReal
Definition: RooAbsReal.h:61
RooAbsPdf.h
RooExtendedBinding::evaluate
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition: RooExtendedBinding.cxx:33
Double_t
double Double_t
Definition: RtypesCore.h:59
RooAbsCategory.h
name
char name[80]
Definition: TGX11.cxx:110
RooAbsPdf
Definition: RooAbsPdf.h:40
RooExtendedBinding
Definition: RooExtendedBinding.h:16
RooExtendedBinding.h