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 "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
double Double_t
Definition: RtypesCore.h:57
#define ClassImp(name)
Definition: Rtypes.h:361
char name[80]
Definition: TGX11.cxx:109
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:60
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
const T & arg() const
Return reference to object held in proxy.