Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 
17 ClassImp(RooExtendedBinding);
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 
26  RooExtendedBinding::RooExtendedBinding(const RooExtendedBinding& other, const char* name) :
27  RooAbsReal(other,name),
28  pdf("pdf",this,other.pdf)
29  {
30  }
31 
32 
33 
34  Double_t RooExtendedBinding::evaluate() const
35  {
36  // ENTER EXPRESSION IN TERMS OF VARIABLE ARGUMENTS HERE
37  return ((RooAbsPdf&)pdf.arg()).expectedEvents(0) ;
38  }
39 
40 
41