Logo ROOT  
Reference Guide
No Matches
RooAbsReal::Ref Class Reference

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


#include <RooAbsReal.h>

Constructor & Destructor Documentation

◆ Ref() [1/2]

RooAbsReal::Ref::Ref ( RooAbsReal ref)

Definition at line 70 of file RooAbsReal.h.

◆ Ref() [2/2]

RooAbsReal::Ref::Ref ( double  val)

Definition at line 4570 of file RooAbsReal.cxx.

Member Function Documentation

◆ operator RooAbsReal &()

RooAbsReal::Ref::operator RooAbsReal & ( ) const

Definition at line 72 of file RooAbsReal.h.

Member Data Documentation

◆ _ref

RooAbsReal& RooAbsReal::Ref::_ref

Definition at line 75 of file RooAbsReal.h.

Libraries for RooAbsReal::Ref:

The documentation for this class was generated from the following files: