Logo ROOT   master
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 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
Abstract class representing n-dimensional real positive integrand function.
Definition: TFoamIntegrand.h:9
#define ClassDef(name, id)
Definition: Rtypes.h:322
virtual Double_t Density(Int_t ndim, Double_t *)
virtual ~RooTFoamBinding()
Destructor.
RooTFoamBinding(const RooAbsReal &pdf, const RooArgSet &observables)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:60
RooRealBinding & binding()
RooAbsPdf, the base class of all PDFs
Definition: RooAbsPdf.h:40
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