Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17/// \cond ROOFIT_INTERNAL
18
19#ifndef ROO_TFOAM_BINDING
20#define ROO_TFOAM_BINDING
21
22#include "TFoamIntegrand.h"
23#include "RooArgSet.h"
24#include "RooRealBinding.h"
25class RooAbsPdf;
26
27// Function binding to RooAbsReal object
28class RooTFoamBinding : public TFoamIntegrand {
29public:
30 RooTFoamBinding(const RooAbsReal &pdf, const RooArgSet &observables);
31 ~RooTFoamBinding() override;
32
33 double Density(Int_t ndim, double *) override;
34
35 RooRealBinding &binding() { return *_binding; }
36
37protected:
38 RooArgSet _nset;
39 RooRealBinding *_binding;
40};
41
42#endif
43
44/// \endcond
int Int_t
Definition RtypesCore.h:45
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:55
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
Abstract class representing n-dimensional real positive integrand function.
virtual Double_t Density(Int_t ndim, Double_t *)=0