44using std::string, std::endl, std::ios, std::list, std::ofstream;
 
  103    bdr << 
"#!/bin/sh" << std::endl
 
  104        << 
Form(
"if [ ! -f study_data_%s.root ] ; then",
studyName) << std::endl
 
  105        << 
"uudecode <<EOR" << std::endl ;
 
  113    bdr2 << 
"EOR" << std::endl
 
  115    << 
"root -l -b <<EOR" << std::endl
 
  118    << 
"EOR" << std::endl ;
 
  122    coutI(DataHandling) << 
"RooStudyManager::prepareBatchInput batch driver file is '" << 
Form(
"study_driver_%s.sh",
studyName) << 
"," << std::endl
 
  123         << 
"     input data files is embedded in driver script" << std::endl ;
 
  128    bdr << 
"#!/bin/sh" << std::endl
 
  129   << 
"root -l -b <<EOR" << std::endl
 
  132   << 
"EOR" << std::endl ;
 
  134    coutI(DataHandling) << 
"RooStudyManager::prepareBatchInput batch driver file is '" << 
Form(
"study_driver_%s.sh",
studyName) << 
"," << std::endl
 
  135         << 
"     input data file is " << 
Form(
"study_data_%s.root",
studyName) << std::endl ;
 
 
  153    coutP(DataHandling) << 
"RooStudyManager::processBatchOutput() now reading file " << *iter << std::endl ;
 
  157      TObject * obj = 
f.Get(key->GetName()) ;
 
 
  171    (*iter)->aggregateSummaryOutput(
olist) ;
 
 
  242      while ((obj = 
static_cast<TObjString*
>(next()))) {
 
 
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 char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
 
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
 
R__EXTERN TSystem * gSystem
 
const_iterator begin() const
 
const_iterator end() const
 
Abstract base class for RooStudyManager modules.
 
void expandWildCardSpec(const char *spec, std::list< std::string > &result)
case with one single file
 
void run(Int_t nExperiments)
 
void processBatchOutput(const char *filePat)
 
void addStudy(RooAbsStudy &study)
 
void prepareBatchInput(const char *studyName, Int_t nExpPerJob, bool unifiedInput)
 
RooStudyManager(RooWorkspace &w)
 
void aggregateData(TList *olist)
 
Utility class to manage studies that consist of repeated applications of generate-and-fit operations ...
 
void driver(Int_t nExperiments)
 
void addStudy(RooAbsStudy &study)
 
std::list< RooAbsStudy * > & studies()
 
Persistable container for RooFit projects.
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
 
Collectable string class.
 
const char * GetName() const override
Returns name of object.
 
Mother of all ROOT objects.
 
virtual const char * GetName() const
Returns name of object.
 
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
 
virtual Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
 
virtual void Delete(Option_t *option="")
Delete this object.
 
Regular expression class.
 
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
 
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
 
virtual void FreeDirectory(void *dirp)
Free a directory.
 
virtual void * OpenDirectory(const char *name)
Open a directory.
 
virtual Int_t Exec(const char *shellcmd)
Execute a command.
 
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
 
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
 
virtual const char * WorkingDirectory()
Return working directory.
 
virtual int Unlink(const char *name)
Unlink, i.e.