RooCmdArg Class Reference

#include <RooCmdArg.h>

Inheritance diagram for RooCmdArg:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 RooCmdArg ()
 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)
 RooCmdArg (const RooCmdArg &other)
RooCmdArgoperator= (const RooCmdArg &other)
void addArg (const RooCmdArg &arg)
void setProcessRecArgs (Bool_t flag, Bool_t prefix=kTRUE)
RooLinkedListsubArgs ()
virtual TObjectClone (const char *newName=0) const
virtual ~RooCmdArg ()
const char * opcode () const
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)
void setSet (Int_t idx, const RooArgSet &set)
Int_t getInt (Int_t idx) const
Double_t getDouble (Int_t idx) const
const char * getString (Int_t idx) const
const TObjectgetObject (Int_t idx) const
const RooArgSetgetSet (Int_t idx) const
 RooCmdArg ()
 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)
 RooCmdArg (const RooCmdArg &other)
RooCmdArgoperator= (const RooCmdArg &other)
void addArg (const RooCmdArg &arg)
void setProcessRecArgs (Bool_t flag, Bool_t prefix=kTRUE)
RooLinkedListsubArgs ()
virtual TObjectClone (const char *newName=0) const
virtual ~RooCmdArg ()
const char * opcode () const
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)
void setSet (Int_t idx, const RooArgSet &set)
Int_t getInt (Int_t idx) const
Double_t getDouble (Int_t idx) const
const char * getString (Int_t idx) const
const TObjectgetObject (Int_t idx) const
const RooArgSetgetSet (Int_t idx) const

Static Public Member Functions

static const RooCmdArgnone ()
static const RooCmdArgnone ()

Static Protected Attributes

static const RooCmdArg _none

Private Attributes

Double_t _d [2]
Int_t _i [2]
std::string _s [3]
TObject_o [2]
Bool_t _procSubArgs
RooArgSet_c
RooLinkedList _argList
Bool_t _prefixSubArgs
TObject_o [2]
RooArgSet_c

Friends

class RooCmdConfig
class RooAbsCollection

Detailed Description

Definition at line 27 of file RooCmdArg.h.


Constructor & Destructor Documentation

RooCmdArg::RooCmdArg (  ) 

Definition at line 53 of file RooCmdArg.cxx.

References _c, _d, _i, _o, _prefixSubArgs, _procSubArgs, kFALSE, and kTRUE.

Referenced by addArg(), Clone(), and RooCmdArg().

RooCmdArg::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 
)

Definition at line 69 of file RooCmdArg.cxx.

References _argList, _c, _d, _i, _o, _prefixSubArgs, _procSubArgs, _s, RooArgSet::add(), RooLinkedList::Add(), c1, kTRUE, and RooCmdArg().

RooCmdArg::RooCmdArg ( const RooCmdArg other  ) 

Definition at line 102 of file RooCmdArg.cxx.

References _argList, _c, _d, _i, _o, _prefixSubArgs, _procSubArgs, _s, RooArgSet::add(), RooLinkedList::Add(), RooLinkedList::At(), RooLinkedList::GetSize(), and i.

RooCmdArg::~RooCmdArg (  )  [virtual]

Definition at line 170 of file RooCmdArg.cxx.

References _argList, _c, and RooLinkedList::Delete().

RooCmdArg::RooCmdArg (  ) 

RooCmdArg::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 
)

RooCmdArg::RooCmdArg ( const RooCmdArg other  ) 

virtual RooCmdArg::~RooCmdArg (  )  [virtual]


Member Function Documentation

RooCmdArg & RooCmdArg::operator= ( const RooCmdArg other  ) 

Definition at line 133 of file RooCmdArg.cxx.

References _argList, _c, _d, _i, _o, _prefixSubArgs, _procSubArgs, _s, RooArgSet::add(), RooLinkedList::Add(), RooLinkedList::At(), TNamed::GetName(), RooLinkedList::GetSize(), TNamed::GetTitle(), i, RooAbsCollection::removeAll(), TNamed::SetName(), and TNamed::SetTitle().

void RooCmdArg::addArg ( const RooCmdArg arg  ) 

Definition at line 180 of file RooCmdArg.cxx.

References _argList, RooLinkedList::Add(), and RooCmdArg().

Referenced by RooFit::FitOptions(), RooFit::Format(), RooFit::Frame(), RooFit::Import(), and RooFit::Link().

void RooCmdArg::setProcessRecArgs ( Bool_t  flag,
Bool_t  prefix = kTRUE 
) [inline]

Definition at line 40 of file RooCmdArg.h.

References _prefixSubArgs, _procSubArgs, and prefix.

Referenced by RooFit::FitOptions(), RooRealVar::format(), RooFit::Format(), RooFit::Frame(), RooFit::Import(), and RooFit::Link().

RooLinkedList& RooCmdArg::subArgs (  )  [inline]

Definition at line 46 of file RooCmdArg.h.

References _argList.

virtual TObject* RooCmdArg::Clone ( const char *  newName = 0  )  const [inline, virtual]

Reimplemented from TNamed.

Definition at line 51 of file RooCmdArg.h.

References RooCmdArg(), and TNamed::SetName().

Referenced by RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooAbsPdf::plotOn(), RooMCStudy::RooMCStudy(), and RooProdGenContext::RooProdGenContext().

const RooCmdArg & RooCmdArg::none (  )  [static]

Definition at line 45 of file RooCmdArg.cxx.

References _none.

Referenced by RooAbsReal::createChi2(), G__G__RooFitCore1_205_0_9(), and G__setup_memfuncRooCmdArg().

const char* RooCmdArg::opcode (  )  const [inline]

Definition at line 61 of file RooCmdArg.h.

References TNamed::GetName().

Referenced by RooCmdConfig::process().

void RooCmdArg::setInt ( Int_t  idx,
Int_t  value 
) [inline]

Definition at line 66 of file RooCmdArg.h.

References _i.

void RooCmdArg::setDouble ( Int_t  idx,
Double_t  value 
) [inline]

Definition at line 69 of file RooCmdArg.h.

References _d.

void RooCmdArg::setString ( Int_t  idx,
const char *  value 
) [inline]

Definition at line 72 of file RooCmdArg.h.

References _s.

Referenced by RooAbsReal::plotOn().

void RooCmdArg::setObject ( Int_t  idx,
TObject value 
) [inline]

Definition at line 75 of file RooCmdArg.h.

References _o, and value.

void RooCmdArg::setSet ( Int_t  idx,
const RooArgSet set 
)

Definition at line 198 of file RooCmdArg.cxx.

References _c, RooArgSet::add(), and RooAbsCollection::removeAll().

Int_t RooCmdArg::getInt ( Int_t  idx  )  const [inline]

Definition at line 80 of file RooCmdArg.h.

References _i.

Referenced by RooAbsData::createHistogram(), RooProdPdf::initializeFromCmdArgList(), and RooCmdConfig::process().

Double_t RooCmdArg::getDouble ( Int_t  idx  )  const [inline]

Definition at line 84 of file RooCmdArg.h.

References _d.

Referenced by RooAbsData::createHistogram(), and RooCmdConfig::process().

const char* RooCmdArg::getString ( Int_t  idx  )  const [inline]

Definition at line 88 of file RooCmdArg.h.

References _s, and size.

Referenced by RooAbsReal::plotOn(), and RooCmdConfig::process().

const TObject* RooCmdArg::getObject ( Int_t  idx  )  const [inline]

Definition at line 92 of file RooCmdArg.h.

References _o.

Referenced by RooCmdConfig::process().

const RooArgSet * RooCmdArg::getSet ( Int_t  idx  )  const

Definition at line 190 of file RooCmdArg.cxx.

References _c.

Referenced by RooProdPdf::initializeFromCmdArgList(), and RooCmdConfig::process().

RooCmdArg& RooCmdArg::operator= ( const RooCmdArg other  ) 

void RooCmdArg::addArg ( const RooCmdArg arg  ) 

void RooCmdArg::setProcessRecArgs ( Bool_t  flag,
Bool_t  prefix = kTRUE 
) [inline]

Definition at line 40 of file RooCmdArg.h.

References _prefixSubArgs, _procSubArgs, and prefix.

RooLinkedList& RooCmdArg::subArgs (  )  [inline]

Definition at line 46 of file RooCmdArg.h.

References _argList.

virtual TObject* RooCmdArg::Clone ( const char *  newName = 0  )  const [inline, virtual]

Reimplemented from TNamed.

Definition at line 51 of file RooCmdArg.h.

References RooCmdArg(), and TNamed::SetName().

static const RooCmdArg& RooCmdArg::none (  )  [static]

const char* RooCmdArg::opcode (  )  const [inline]

Definition at line 61 of file RooCmdArg.h.

References TNamed::GetName().

void RooCmdArg::setInt ( Int_t  idx,
Int_t  value 
) [inline]

Definition at line 66 of file RooCmdArg.h.

References _i.

void RooCmdArg::setDouble ( Int_t  idx,
Double_t  value 
) [inline]

Definition at line 69 of file RooCmdArg.h.

References _d.

void RooCmdArg::setString ( Int_t  idx,
const char *  value 
) [inline]

Definition at line 72 of file RooCmdArg.h.

References _s.

void RooCmdArg::setObject ( Int_t  idx,
TObject value 
) [inline]

Definition at line 75 of file RooCmdArg.h.

References _o, and value.

void RooCmdArg::setSet ( Int_t  idx,
const RooArgSet set 
)

Int_t RooCmdArg::getInt ( Int_t  idx  )  const [inline]

Definition at line 80 of file RooCmdArg.h.

References _i.

Double_t RooCmdArg::getDouble ( Int_t  idx  )  const [inline]

Definition at line 84 of file RooCmdArg.h.

References _d.

const char* RooCmdArg::getString ( Int_t  idx  )  const [inline]

Definition at line 88 of file RooCmdArg.h.

References _s, and size.

const TObject* RooCmdArg::getObject ( Int_t  idx  )  const [inline]

Definition at line 92 of file RooCmdArg.h.

References _o.

const RooArgSet* RooCmdArg::getSet ( Int_t  idx  )  const


Friends And Related Function Documentation

RooCmdConfig [friend]

Definition at line 102 of file RooCmdArg.h.

RooAbsCollection [friend]

Definition at line 106 of file RooCmdArg.h.


Member Data Documentation

const RooCmdArg RooCmdArg::_none [static, protected]

Definition at line 101 of file RooCmdArg.h.

Referenced by none().

Double_t RooCmdArg::_d [private]

Definition at line 109 of file RooCmdArg.h.

Referenced by getDouble(), operator=(), RooCmdArg(), and setDouble().

Int_t RooCmdArg::_i [private]

Definition at line 110 of file RooCmdArg.h.

Referenced by getInt(), operator=(), RooCmdArg(), and setInt().

std::string RooCmdArg::_s [private]

Definition at line 111 of file RooCmdArg.h.

Referenced by getString(), operator=(), RooAbsCollection::printLatex(), RooCmdArg(), and setString().

TObject* RooCmdArg::_o[2] [private]

Definition at line 112 of file RooCmdArg.h.

Referenced by getObject(), operator=(), RooCmdArg(), and setObject().

Bool_t RooCmdArg::_procSubArgs [private]

Definition at line 113 of file RooCmdArg.h.

Referenced by operator=(), RooCmdConfig::process(), RooCmdArg(), and setProcessRecArgs().

RooArgSet* RooCmdArg::_c [private]

Definition at line 114 of file RooCmdArg.h.

Referenced by getSet(), operator=(), RooCmdArg(), setSet(), and ~RooCmdArg().

RooLinkedList RooCmdArg::_argList [private]

Definition at line 115 of file RooCmdArg.h.

Referenced by addArg(), operator=(), RooCmdConfig::process(), RooCmdArg(), subArgs(), and ~RooCmdArg().

Bool_t RooCmdArg::_prefixSubArgs [private]

Definition at line 116 of file RooCmdArg.h.

Referenced by operator=(), RooCmdConfig::process(), RooCmdArg(), and setProcessRecArgs().

TObject* RooCmdArg::_o[2] [private]

Definition at line 112 of file RooCmdArg.h.

RooArgSet* RooCmdArg::_c [private]

Definition at line 114 of file RooCmdArg.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:33 2011 for ROOT_528-00b_version by  doxygen 1.5.1