#include "RooFit.h"
#include "Riostream.h"
#include "RooCategoryProxy.h"
ClassImp(RooCategoryProxy)
;
RooCategoryProxy::RooCategoryProxy(const char* name, const char* desc, RooAbsArg* owner, RooAbsCategory& ref,
Bool_t valueServer, Bool_t shapeServer, Bool_t ownArg) :
RooArgProxy(name, desc, owner, ref, valueServer, shapeServer, ownArg)
{
}
RooCategoryProxy::RooCategoryProxy(const char* name, RooAbsArg* owner, const RooCategoryProxy& other) :
RooArgProxy(name, owner, other)
{
}
RooCategoryProxy::~RooCategoryProxy()
{
}
RooAbsCategoryLValue* RooCategoryProxy::lvptr() const
{
RooAbsCategoryLValue* lvptr = dynamic_cast<RooAbsCategoryLValue*>(_arg) ;
if (!lvptr) {
cout << "RooCategoryProxy(" << name() << ")::INTERNAL error, expected " << _arg->GetName() << " to be an lvalue" << endl ;
assert(0) ;
}
return lvptr ;
}
Last update: Thu Jan 17 08:44:12 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.