#include "RooFit.h"
#include "Riostream.h"
#include "TClass.h"
#include "RooRealProxy.h"
#include "RooRealVar.h"
ClassImp(RooRealProxy)
;
RooRealProxy::RooRealProxy(const char* name, const char* desc, RooAbsArg* owner, RooAbsReal& ref,
Bool_t valueServer, Bool_t shapeServer, Bool_t ownArg) :
RooArgProxy(name, desc, owner,ref, valueServer, shapeServer, ownArg)
{
}
RooRealProxy::RooRealProxy(const char* name, RooAbsArg* owner, const RooRealProxy& other) :
RooArgProxy(name, owner, other)
{
}
RooRealProxy::~RooRealProxy()
{
}
RooAbsRealLValue* RooRealProxy::lvptr() const
{
RooAbsRealLValue* lvptr = (RooAbsRealLValue*)dynamic_cast<const RooAbsRealLValue*>(_arg) ;
if (!lvptr) {
cout << "RooRealProxy(" << name() << ")::INTERNAL error, expected " << _arg->GetName() << " to be an lvalue" << endl ;
assert(0) ;
}
return lvptr ;
}
Last update: Thu Jan 17 08:45:46 2008
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.