Logo ROOT   6.08/07
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 "Riostream.h"
10 
11 #include "RooExtendedBinding.h"
12 #include "RooAbsPdf.h"
13 #include "RooAbsCategory.h"
14 #include <math.h>
15 #include "TMath.h"
16 
18 
19  RooExtendedBinding::RooExtendedBinding(const char *name, const char *title, RooAbsPdf& _pdf) :
20  RooAbsReal(name,title),
21  pdf("pdf","pdf",this,_pdf)
22  {
23  }
24 
25 
27  RooAbsReal(other,name),
28  pdf("pdf",this,other.pdf)
29  {
30  }
31 
32 
33 
35  {
36  // ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
37  return ((RooAbsPdf&)pdf.arg()).expectedEvents(0) ;
38  }
39 
40 
41 
#define ClassImp(name)
Definition: Rtypes.h:279
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Double_t evaluate() const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
const RooAbsReal & arg() const
Definition: RooRealProxy.h:43
char name[80]
Definition: TGX11.cxx:109