Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooExtendedBinding.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 *
4 * Copyright (c) 2023, CERN
5 *
6 * Redistribution and use in source and binary forms,
7 * with or without modification, are permitted according to the terms
8 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
9 */
10
11#ifndef ROOEXTENDEDBINDING
12#define ROOEXTENDEDBINDING
13
14#include <RooAbsPdf.h>
15#include <RooAbsReal.h>
16#include <RooRealProxy.h>
17#include <RooSetProxy.h>
18
20public:
22 RooExtendedBinding(const char *name, const char *title, RooAbsPdf &_pdf);
23 RooExtendedBinding(const char *name, const char *title, RooAbsPdf &_pdf, const RooArgSet &_obs);
24 RooExtendedBinding(const RooExtendedBinding &other, const char *name = nullptr);
25 TObject *clone(const char *newname = nullptr) const override { return new RooExtendedBinding(*this, newname); }
26
27 double evaluate() const override;
28
29private:
31 std::unique_ptr<RooSetProxy> _obsList;
32
34};
35
36#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
char name[80]
Definition TGX11.cxx:110
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:63
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:24
TObject * clone(const char *newname=nullptr) const override
std::unique_ptr< RooSetProxy > _obsList
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Mother of all ROOT objects.
Definition TObject.h:41