ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooCmdArg

class RooCmdArg: public TNamed



RooCmdArg is a named container for two doubles, two integers two object points and three string pointers that can be passed as generic named arguments to a variety of RooFit end user methods. To achieved the named syntax, RooCmdArg objects are created using global helper functions defined in RooGlobalFunc.h that create and fill these generic containers

Function Members (Methods)

public:
RooCmdArg()
RooCmdArg(const RooCmdArg& other)
RooCmdArg(const char* name, Int_t i1 = 0, Int_t i2 = 0, Double_t d1 = 0, Double_t d2 = 0, const char* s1 = 0, const char* s2 = 0, const TObject* o1 = 0, const TObject* o2 = 0, const RooCmdArg* ca = 0, const char* s3 = 0, const RooArgSet* c1 = 0, const RooArgSet* c2 = 0)
virtual~RooCmdArg()
voidTObject::AbstractMethod(const char* method) const
voidaddArg(const RooCmdArg& arg)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*Clone(const char* newName = 0) const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tgetDouble(Int_t idx) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tgetInt(Int_t idx) const
virtual const char*TNamed::GetName() const
const TObject*getObject(Int_t idx) const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const RooArgSet*getSet(Int_t idx) const
const char*getString(Int_t idx) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static const RooCmdArg&none()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
const char*opcode() const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooCmdArg&operator=(const RooCmdArg& other)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidsetDouble(Int_t idx, Double_t value)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetInt(Int_t idx, Int_t value)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidsetObject(Int_t idx, TObject* value)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetProcessRecArgs(Bool_t flag, Bool_t prefix = kTRUE)
voidsetSet(Int_t idx, const RooArgSet& set)
voidsetString(Int_t idx, const char* value)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
RooLinkedList&subArgs()
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
static const RooCmdArg_noneStatic instance of null object
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
RooLinkedList_argListPayload sub-arguments
RooArgSet*_cPayload RooArgSets
Double_t_d[2]Payload doubles
Int_t_i[2]Payload integers
TObject*_o[2]Payload objects
Bool_t_prefixSubArgsPrefix subarguments with container name?
Bool_t_procSubArgsIf true argument requires recursive processing
string_s[3]Payload strings

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const RooCmdArg& none()
 Return reference to null argument
RooCmdArg()
 Default constructor
RooCmdArg(const char* name, Int_t i1 = 0, Int_t i2 = 0, Double_t d1 = 0, Double_t d2 = 0, const char* s1 = 0, const char* s2 = 0, const TObject* o1 = 0, const TObject* o2 = 0, const RooCmdArg* ca = 0, const char* s3 = 0, const RooArgSet* c1 = 0, const RooArgSet* c2 = 0)
 Constructor with full specification of payload: two integers, two doubles,
 three string poiners, two object pointers and one RooCmdArg pointer
RooCmdArg(const RooCmdArg& other)
 Copy constructor
RooCmdArg& operator=(const RooCmdArg& other)
 Assignment operator
~RooCmdArg()
 Destructor
void addArg(const RooCmdArg& arg)
 Utility function to add nested RooCmdArg to payload of this RooCmdArg
const RooArgSet* getSet(Int_t idx) const
 Return RooArgSet stored in slot idx
void setSet(Int_t idx, const RooArgSet& set)
void setProcessRecArgs(Bool_t flag, Bool_t prefix = kTRUE)
 If true flag this object as containing recursive arguments
RooLinkedList& subArgs()
 Return list of sub-arguments in this RooCmdArg
TObject* Clone(const char* newName = 0) const
const char* opcode() const
 Return operator code
void setInt(Int_t idx, Int_t value)
void setDouble(Int_t idx, Double_t value)
void setString(Int_t idx, const char* value)
void setObject(Int_t idx, TObject* value)
Int_t getInt(Int_t idx) const
 Return integer stored in slot idx
Double_t getDouble(Int_t idx) const
 Return double stored in slot idx
const char* getString(Int_t idx) const
 Return string stored in slot idx
const TObject* getObject(Int_t idx) const
 Return TObject stored in slot idx