ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
HLFactory.cxx File Reference
#include <iostream>
#include <fstream>
#include "RooStats/HLFactory.h"
#include "TFile.h"
#include "TObject.h"
#include "TObjArray.h"
#include "TObjString.h"
#include "RooSimultaneous.h"
Include dependency graph for HLFactory.cxx:

Go to the source code of this file.

Functions

 ClassImp (RooStats::HLFactory)
 
 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"
 
delete lines_array = ifileContentStripped.Tokenize(";")
 
delete lineIt =lines_array->MakeIterator()
 
 in_comment =false
 
const int nNeutrals =2
 
TString neutrals [nNeutrals] ={"\t"," "}
 
 return
 

Function Documentation

ClassImp ( RooStats::HLFactory  )
if ( line.  BeginsWith"/*")

Definition at line 443 of file HLFactory.cxx.

while ( (line_o=(*lineIt)())  )

Definition at line 464 of file HLFactory.cxx.

Variable Documentation

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.

Referenced by TLatex::Analyse(), RooMinimizerFcn::ApplyCovarianceMatrix(), RooMinuit::applyCovarianceMatrix(), RooSimPdfBuilder::buildPdf(), TLatex::CheckLatexSyntax(), RooCurve::chiSquare(), RooWorkspace::CodeRepo::compileClasses(), RooCintUtils::ctorArgs(), RooCustomizer::doBuild(), RooNLLVar::evaluatePartition(), RooChi2Var::evaluatePartition(), RooXYChi2Var::evaluatePartition(), RooSimWSTool::executeBuild(), RooAbsData::fillHistogram(), RooAbsGenContext::generate(), RooBinnedGenContext::generate(), RooAbsPdf::generateBinned(), RooCompositeDataStore::get(), RooRandomizeParamMCSModule::initializeInstance(), RooAbsOptTestStatistic::initSlave(), RooTreeDataStore::loadValues(), RooVectorDataStore::loadValues(), RooAbsReal::logEvalError(), RooHist::makeResidHist(), RooSimultaneous::plotOn(), RooMsgService::Print(), RooAbsArg::printArgs(), RooAbsArg::printMultiline(), RooDataSet::read(), RooArgSet::readFromStream(), RooStreamParser::readToken(), RooAbsArg::redirectServers(), RooDataHist::reduceEng(), RooAddModel::RooAddModel(), RooAddPdf::RooAddPdf(), RooArgList::RooArgList(), RooArgSet::RooArgSet(), RooProdGenContext::RooProdGenContext(), RooProdPdf::RooProdPdf(), RooRealIntegral::RooRealIntegral(), RooRealSumPdf::RooRealSumPdf(), RooMCStudy::run(), RooUnitTest::runCompTests(), RooTreeDataStore::setArgStatus(), RooAbsReal::setParameterizeIntegral(), RooAbsArg::setProxyNormSet(), RooDataSet::sumEntries(), RooDataHist::sumEntries(), RooMinimizerFcn::Synchronize(), RooMinuit::synchronize(), and RooAbsArg::treeNodeServerList().

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.

TString neutrals[nNeutrals] ={"\t"," "}

Definition at line 462 of file HLFactory.cxx.

const int nNeutrals =2

Definition at line 461 of file HLFactory.cxx.

Referenced by while().

return

Definition at line 514 of file HLFactory.cxx.