116 _sharedData{other._sharedData}
118 _i[0] = other.
_i[0] ;
119 _i[1] = other.
_i[1] ;
120 _d[0] = other.
_d[0] ;
121 _d[1] = other.
_d[1] ;
122 _s[0] = other.
_s[0] ;
123 _s[1] = other.
_s[1] ;
124 _s[2] = other.
_s[2] ;
125 _o[0] = other.
_o[0] ;
126 _o[1] = other.
_o[1] ;
148 if (&other==
this)
return *this ;
155 _i[0] = other.
_i[0] ;
156 _i[1] = other.
_i[1] ;
157 _d[0] = other.
_d[0] ;
158 _d[1] = other.
_d[1] ;
159 _s[0] = other.
_s[0] ;
160 _s[1] = other.
_s[1] ;
161 _s[2] = other.
_s[2] ;
162 _o[0] = other.
_o[0] ;
163 _o[1] = other.
_o[1] ;
188 if (
_c)
delete[]
_c ;
207 return _c ? &
_c[idx] : 0 ;
228 <<
":\ndoubles\t" <<
_d[0] <<
" " <<
_d[1]
229 <<
"\nints\t" <<
_i[0] <<
" " <<
_i[1]
230 <<
"\nstrings\t" <<
_s[0] <<
" " <<
_s[1] <<
" " <<
_s[2]
231 <<
"\nobjects\t" <<
_o[0] <<
" " <<
_o[1] << std::endl;
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
std::shared_ptr< DataCollection > _sharedData
RooCmdArg & operator=(const RooCmdArg &other)
Assignment operator.
static const RooCmdArg & none()
Return reference to null argument.
static DataCollection _nextSharedData
virtual ~RooCmdArg()
Destructor.
void setSet(Int_t idx, const RooArgSet &set)
RooCmdArg()
Default constructor.
void Print(const char *="") const
Print contents.
static const RooCmdArg _none
std::vector< std::unique_ptr< TObject > > DataCollection
static DataCollection & getNextSharedData()
TObject * At(int index) const
Return object stored in sequential position given by index.
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements,...
virtual void Add(TObject *arg)
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.