50using std::endl, std::istream, std::ostream;
93 coutW(InputArguments) <<
"RooArgList::RooArgList(TCollection) element " << obj->
GetName()
94 <<
" is not a RooAbsArg, ignored" << std::endl ;
133 coutE(InputArguments) <<
"RooArgList::writeToStream(" <<
GetName() <<
") non-compact mode not supported" << std::endl ;
137 for (
const auto obj :
_list) {
138 obj->writeToStream(os,
true);
156 coutE(InputArguments) <<
"RooArgList::readFromStream(" <<
GetName() <<
") non-compact mode not supported" << std::endl ;
161 for (
auto next :
_list) {
162 if (!next->getAttribute(
"Dynamic")) {
163 if (next->readFromStream(
is,
true,verbose)) {
175 coutW(InputArguments) <<
"RooArgSet::readFromStream(" <<
GetName()
176 <<
"): ignoring extra characters at end of line: '" << rest <<
"'" << std::endl ;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Abstract container object that can hold multiple RooAbsArg objects.
const char * GetName() const override
Returns name of object.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Storage_t _list
Actual object storage.
RooArgList is a container object that can hold multiple RooAbsArg objects.
virtual void writeToStream(std::ostream &os, bool compact)
Write the contents of the argset in ASCII form to given stream.
RooArgList()
Default constructor.
void processArg(const RooAbsArg &arg)
~RooArgList() override
Destructor.
virtual bool readFromStream(std::istream &is, bool compact, bool verbose=false)
Read the contents of the argset in ASCII form from given stream.
Collection abstract base class.
Mother of all ROOT objects.
RooConstVar & RooConst(double val)