ROOT 6.08/07 Reference Guide |
#include <iostream>
#include <fstream>
#include "RooStats/HLFactory.h"
#include "TFile.h"
#include "TObject.h"
#include "TObjArray.h"
#include "TObjString.h"
#include "RooSimultaneous.h"
Functions | |
if (line.BeginsWith("/*")) | |
while ((line_o=(*lineIt)())) | |
Variables | |
if on multiple lines(like in C++). **The " * configuration fragment. * * The "import myobject | continue |
Parses the configuration file. More... | |
ifileContentStripped =line+"\n" | |
in_comment =false | |
delete | lineIt =lines_array->MakeIterator() |
delete | lines_array = ifileContentStripped.Tokenize(";") |
TString | neutrals [nNeutrals] ={"\t"," "} |
const int | nNeutrals =2 |
return | |
if | ( | line. | BeginsWith"/*" | ) |
Definition at line 443 of file HLFactory.cxx.
while | ( | (line_o=(*lineIt)()) | ) |
Definition at line 464 of file HLFactory.cxx.
if on multiple lines (like in C++). * * The " * configuration fragment. * * The "import myobject continue |
Parses the configuration file.
The objects can be specified following the rules of the RooFactoryWSTool, plus some more flexibility.
The official format for the datacards is ".rs".
All the instructions end with a ";" (like in C++).
Carriage returns and white lines are irrelevant but adviced since they improve readability (like in C++).
The (Roo)ClassName::objname(description) can be replaced with the more "pythonic" objname = (Roo)ClassName(description).
The comments can be specified with a "//" if on a single line or with /*
Definition at line 368 of file HLFactory.cxx.
ifileContentStripped =line+"\n" |
Definition at line 449 of file HLFactory.cxx.
in_comment =false |
Definition at line 459 of file HLFactory.cxx.
delete lineIt =lines_array->MakeIterator() |
Definition at line 453 of file HLFactory.cxx.
delete lines_array = ifileContentStripped.Tokenize(";") |
Definition at line 452 of file HLFactory.cxx.
Definition at line 462 of file HLFactory.cxx.
const int nNeutrals =2 |
Definition at line 461 of file HLFactory.cxx.
return |
Definition at line 514 of file HLFactory.cxx.