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"
22class RooAbsPdf ;
23
25public:
26 RooTFoamBinding(const RooAbsReal& pdf, const RooArgSet& observables) ;
27 virtual ~RooTFoamBinding();
28
29 virtual Double_t Density(Int_t ndim, Double_t *) ;
30
32
33protected:
34
37
38 ClassDef(RooTFoamBinding,0) // Function binding to RooAbsReal object
39};
40
41#endif
42
int Int_t
Definition: RtypesCore.h:41
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:326
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:59
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:28
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
Lightweight interface adaptor that binds a RooAbsPdf to TFOAM.
RooRealBinding * _binding
RooRealBinding & binding()
virtual Double_t Density(Int_t ndim, Double_t *)
virtual ~RooTFoamBinding()
Destructor.
RooTFoamBinding(const RooAbsReal &pdf, const RooArgSet &observables)
Abstract class representing n-dimensional real positive integrand function.
Definition: TFoamIntegrand.h:9