#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 change: Tue May 13 17:04:12 2008
Last generated: 2008-05-13 17:04
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.