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