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 // Batch running
45 void prepareBatchInput(const char* studyName, Int_t nExpPerJob, bool unifiedInput) ;
46 void processBatchOutput(const char* filePat) ;
47
48 RooWorkspace& wspace() { return _pkg->wspace() ; }
49 std::list<RooAbsStudy*>& studies() { return _pkg->studies() ; }
50
51protected:
52
53 void aggregateData(TList* olist) ;
54 void expandWildCardSpec(const char* spec, std::list<std::string>& result) ;
55
57
59
60 ClassDefOverride(RooStudyManager,1) // A general purpose workspace oriented parallelizing study manager
61} ;
62
63
64#endif
65
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
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:34
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 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)
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