51using std::endl, std::istream, std::ostream;
98 coutW(InputArguments) <<
"RooArgList::RooArgList(TCollection) element " << obj->
GetName()
99 <<
" is not a RooAbsArg, ignored" << endl ;
141 coutE(InputArguments) <<
"RooArgList::writeToStream(" <<
GetName() <<
") non-compact mode not supported" << endl ;
145 for (
const auto obj :
_list) {
146 obj->writeToStream(os,
true);
164 coutE(InputArguments) <<
"RooArgList::readFromStream(" <<
GetName() <<
") non-compact mode not supported" << endl ;
169 for (
auto next :
_list) {
170 if (!next->getAttribute(
"Dynamic")) {
171 if (next->readFromStream(is,
true,verbose)) {
180 if (!parser.
atEOL()) {
183 coutW(InputArguments) <<
"RooArgSet::readFromStream(" <<
GetName()
184 <<
"): ignoring extra characters at end of line: '" << rest <<
"'" << endl ;
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.
bool atEOL()
If true, parser is at end of line in stream.
TString readLine()
Read an entire line from the stream and return as TString This method recognizes the use of '\' in th...
void zapToEnd(bool inclContLines=false)
Eat all characters up to and including then end of the current line.
Collection abstract base class.
Mother of all ROOT objects.
RooConstVar & RooConst(double val)