Logo ROOT  
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.h
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:61
RooTFoamBinding::_nset
RooArgSet _nset
Definition: RooTFoamBinding.h:35
RooTFoamBinding::RooTFoamBinding
RooTFoamBinding(const RooAbsReal &pdf, const RooArgSet &observables)
Definition: RooTFoamBinding.cxx:47
TFoamIntegrand.h
RooRealBinding
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
Definition: RooRealBinding.h:29
TFoamIntegrand
Abstract class representing n-dimensional real positive integrand function.
Definition: TFoamIntegrand.h:9
RooTFoamBinding::_binding
RooRealBinding * _binding
Definition: RooTFoamBinding.h:36
RooTFoamBinding::~RooTFoamBinding
virtual ~RooTFoamBinding()
Destructor.
Definition: RooTFoamBinding.cxx:57
RooTFoamBinding::Density
virtual Double_t Density(Int_t ndim, Double_t *)
Definition: RooTFoamBinding.cxx:66
Double_t
double Double_t
Definition: RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
RooTFoamBinding
Lightweight interface adaptor that binds a RooAbsPdf to TFOAM.
Definition: RooTFoamBinding.h:24
RooRealBinding.h
RooAbsPdf
Definition: RooAbsPdf.h:43
RooTFoamBinding::binding
RooRealBinding & binding()
Definition: RooTFoamBinding.h:31
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:29
int