Logo ROOT   6.08/07
Reference Guide
RooTFoamBinding.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id$
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_TFOAM_BINDING
17 #define ROO_TFOAM_BINDING
18 
19 #include "TFoamIntegrand.h"
20 #include "RooArgSet.h"
21 #include "RooRealBinding.h"
22 class RooAbsPdf ;
23 
25 public:
26  RooTFoamBinding(const RooAbsReal& pdf, const RooArgSet& observables) ;
27  virtual ~RooTFoamBinding();
28 
29  virtual Double_t Density(Int_t ndim, Double_t *) ;
30 
31  RooRealBinding& binding() { return *_binding ; }
32 
33 protected:
34 
37 
38  ClassDef(RooTFoamBinding,0) // Function binding to RooAbsReal object
39 };
40 
41 #endif
42 
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Double_t Density(Int_t ndim, Double_t *)
virtual ~RooTFoamBinding()
Destructor.
RooTFoamBinding(const RooAbsReal &pdf, const RooArgSet &observables)
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
RooRealBinding & binding()
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Definition: RooAbsPdf.h:41
Lightweight interface adaptor that binds a RooAbsPdf to TFOAM.
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
RooRealBinding * _binding