A RooAbsReal::Ref can be constructed from a RooAbsReal&
or a double
that will be implicitly converted to a RooConstVar&.
The RooAbsReal::Ref can be used as a replacement for RooAbsReal&
. With this type definition, you can write RooFit interfaces that accept both RooAbsReal, or simply a number that will be implicitly converted to a RooConstVar&.
Definition at line 68 of file RooAbsReal.h.
Public Member Functions | |
Ref (double val) | |
Ref (RooAbsReal &ref) | |
operator RooAbsReal & () const | |
Private Attributes | |
RooAbsReal & | _ref |
#include <RooAbsReal.h>
|
inline |
Definition at line 70 of file RooAbsReal.h.
RooAbsReal::Ref::Ref | ( | double | val | ) |
Definition at line 4647 of file RooAbsReal.cxx.
|
inline |
Definition at line 72 of file RooAbsReal.h.
|
private |
Definition at line 75 of file RooAbsReal.h.