RooStudyPackage.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooStudyPackage.h 30333 2009-09-21 15:39:17Z wouter $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_STUDY_PACKAGE
00017 #define ROO_STUDY_PACKAGE
00018 
00019 #include "TNamed.h"
00020 
00021 class RooAbsPdf;
00022 class RooDataSet ;
00023 class RooAbsData ;
00024 class RooFitResult ;
00025 class RooPlot ;
00026 class RooRealVar ;
00027 class RooWorkspace ;
00028 class RooAbsStudy ;
00029 #include <list>
00030 
00031 class RooStudyPackage : public TNamed {
00032 public:
00033 
00034   RooStudyPackage() ;
00035   RooStudyPackage(RooWorkspace& w) ;
00036   void addStudy(RooAbsStudy& study) ;
00037 
00038   RooWorkspace& wspace() { return *_ws ; }
00039   std::list<RooAbsStudy*>& studies() { return _studies ; }
00040     
00041   void driver(Int_t nExperiments) ;
00042 
00043   Int_t initRandom() ;
00044   void initialize() ;
00045   void runOne() ;
00046   void run(Int_t nExperiments) ;
00047   void finalize() ;
00048   
00049   void exportData(TList* olist, Int_t seqno) ;
00050 
00051   static void processFile(const char* infile, Int_t nexp) ;
00052 
00053 protected:
00054 
00055   RooWorkspace* _ws ;
00056   std::list<RooAbsStudy*> _studies ; 
00057 
00058   RooStudyPackage(const RooStudyPackage&) ;
00059         
00060   ClassDef(RooStudyPackage,1) // A general purpose workspace oriented parallelizing study manager
00061 } ;
00062 
00063 
00064 #endif
00065 

Generated on Tue Jul 5 14:26:27 2011 for ROOT_528-00b_version by  doxygen 1.5.1