Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooStudyManager.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id$
5 * Authors: *
6 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * *
9 * Copyright (c) 2000-2005, Regents of the University of California *
10 * and Stanford University. All rights reserved. *
11 * *
12 * Redistribution and use in source and binary forms, *
13 * with or without modification, are permitted according to the terms *
14 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15 *****************************************************************************/
16#ifndef ROO_STUDY_MANAGER
17#define ROO_STUDY_MANAGER
18
19#include "TNamed.h"
20
21class RooAbsPdf;
22class RooDataSet ;
23class RooAbsData ;
24class RooFitResult ;
25class RooPlot ;
26class RooRealVar ;
27class RooWorkspace ;
28class RooAbsStudy ;
29#include "RooStudyPackage.h"
30#include <list>
31#include <string>
32
33class RooStudyManager : public TNamed {
34public:
35
38 RooStudyManager(const char* studyPackFileName) ;
39 void addStudy(RooAbsStudy& study) ;
40
41 // Interactive running
42 void run(Int_t nExperiments) ;
43
44 // PROOF-based parallel running
45 void runProof(Int_t nExperiments, const char* proofHost="", bool showGui=true) ;
46 static void closeProof(Option_t *option = "s") ;
47
48 // Batch running
49 void prepareBatchInput(const char* studyName, Int_t nExpPerJob, bool unifiedInput) ;
50 void processBatchOutput(const char* filePat) ;
51
52 RooWorkspace& wspace() { return _pkg->wspace() ; }
53 std::list<RooAbsStudy*>& studies() { return _pkg->studies() ; }
54
55protected:
56
57 void aggregateData(TList* olist) ;
58 void expandWildCardSpec(const char* spec, std::list<std::string>& result) ;
59
61
63
64 ClassDefOverride(RooStudyManager,1) // A general purpose workspace oriented parallelizing study manager
65} ;
66
67
68#endif
69
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
Option_t Option_t option
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
Abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:57
Abstract interface for all probability density functions.
Definition RooAbsPdf.h:40
Abstract base class for RooStudyManager modules.
Definition RooAbsStudy.h:33
Container class to hold unbinned data.
Definition RooDataSet.h:57
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
Plot frame and a container for graphics objects within that frame.
Definition RooPlot.h:43
Variable that can be changed from the outside.
Definition RooRealVar.h:37
Utility class to manage studies that consist of repeated applications of generate-and-fit operations ...
void runProof(Int_t nExperiments, const char *proofHost="", bool showGui=true)
Open PROOF-Lite session.
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)
static void closeProof(Option_t *option="s")
"Option_t *option" takes the parameters forwarded to gProof->Close(option).
RooStudyManager(const RooStudyManager &)
void prepareBatchInput(const char *studyName, Int_t nExpPerJob, bool unifiedInput)
RooStudyPackage * _pkg
std::list< RooAbsStudy * > & studies()
RooWorkspace & wspace()
void aggregateData(TList *olist)
Utility class to manage studies that consist of repeated applications of generate-and-fit operations ...
RooWorkspace & wspace()
std::list< RooAbsStudy * > & studies()
Persistable container for RooFit projects.
A doubly linked list.
Definition TList.h:38
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29