100 while((obj=iter->
Next())) {
102 coutW(InputArguments) <<
"RooArgList::RooArgList(TCollection) element " << obj->
GetName()
103 <<
" is not a RooAbsArg, ignored" << endl ;
146 coutE(InputArguments) <<
"RooArgList::writeToStream(" <<
GetName() <<
") non-compact mode not supported" << endl ;
150 for (
const auto obj :
_list) {
151 obj->writeToStream(os,
kTRUE);
169 coutE(InputArguments) <<
"RooArgList::readFromStream(" <<
GetName() <<
") non-compact mode not supported" << endl ;
174 for (
auto next :
_list) {
175 if (!next->getAttribute(
"Dynamic")) {
176 if (next->readFromStream(is,
kTRUE,verbose)) {
185 if (!parser.
atEOL()) {
188 coutW(InputArguments) <<
"RooArgSet::readFromStream(" <<
GetName()
189 <<
"): ignoring extra characters at end of line: '" << rest <<
"'" << endl ;
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
const char * GetName() const
Returns name of object.
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.
virtual bool readFromStream(std::istream &is, bool compact, bool verbose=false)
Read the contents of the argset in ASCII form from given stream.
RooArgList()
Default constructor.
void processArg(const RooAbsArg &arg)
virtual ~RooArgList()
Destructor.
Bool_t atEOL()
If true, parser is at end of line in stream.
void zapToEnd(Bool_t inclContLines=kFALSE)
Eat all characters up to and including then end of the current line.
TString readLine()
Read an entire line from the stream and return as TString This method recognizes the use of '\' in th...
Collection abstract base class.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const =0
Iterator abstract base class.
virtual TObject * Next()=0
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
RooConstVar & RooConst(Double_t val)