RooGenFitStudy Class Reference

#include <RooGenFitStudy.h>

Inheritance diagram for RooGenFitStudy:

RooAbsStudy RooAbsStudy TNamed TNamed TNamed TNamed TObject TObject TObject TObject TObject TObject TObject TObject List of all members.

Public Member Functions

 RooGenFitStudy (const char *name=0, const char *title=0)
 RooGenFitStudy (const RooGenFitStudy &other)
virtual ~RooGenFitStudy ()
void setGenConfig (const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
void setFitConfig (const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
virtual Bool_t attach (RooWorkspace &w)
virtual Bool_t initialize ()
virtual Bool_t execute ()
virtual Bool_t finalize ()
void Print (Option_t *options=0) const
 RooGenFitStudy (const char *name=0, const char *title=0)
 RooGenFitStudy (const RooGenFitStudy &other)
virtual ~RooGenFitStudy ()
void setGenConfig (const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
void setFitConfig (const char *pdfName, const char *obsName, const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg())
virtual Bool_t attach (RooWorkspace &w)
virtual Bool_t initialize ()
virtual Bool_t execute ()
virtual Bool_t finalize ()
void Print (Option_t *options=0) const

Protected Attributes

std::string _genPdfName
std::string _genObsName
std::string _fitPdfName
std::string _fitObsName
RooLinkedList _genOpts
RooLinkedList _fitOpts
RooAbsPdf_genPdf
RooArgSet _genObs
RooAbsPdf_fitPdf
RooArgSet _fitObs
RooAbsPdf::GenSpec_genSpec
RooRealVar_nllVar
RooRealVar_ngenVar
RooArgSet_params
RooArgSet_initParams
RooAbsPdf_genPdf
RooAbsPdf_fitPdf
RooAbsPdf::GenSpec_genSpec
RooRealVar_nllVar
RooRealVar_ngenVar
RooArgSet_params
RooArgSet_initParams

Detailed Description

Definition at line 35 of file RooGenFitStudy.h.


Constructor & Destructor Documentation

RooGenFitStudy::RooGenFitStudy ( const char *  name = 0,
const char *  title = 0 
)

Definition at line 47 of file RooGenFitStudy.cxx.

RooGenFitStudy::RooGenFitStudy ( const RooGenFitStudy other  ) 

Definition at line 63 of file RooGenFitStudy.cxx.

References _fitOpts, _genOpts, RooLinkedList::Add(), RooLinkedList::MakeIterator(), TIterator::Next(), and o.

RooGenFitStudy::~RooGenFitStudy (  )  [virtual]

Definition at line 96 of file RooGenFitStudy.cxx.

References _params.

RooGenFitStudy::RooGenFitStudy ( const char *  name = 0,
const char *  title = 0 
)

RooGenFitStudy::RooGenFitStudy ( const RooGenFitStudy other  ) 

virtual RooGenFitStudy::~RooGenFitStudy (  )  [virtual]


Member Function Documentation

void RooGenFitStudy::setGenConfig ( const char *  pdfName,
const char *  obsName,
const RooCmdArg arg1 = RooCmdArg(),
const RooCmdArg arg2 = RooCmdArg(),
const RooCmdArg arg3 = RooCmdArg() 
)

Definition at line 143 of file RooGenFitStudy.cxx.

References _genObsName, _genOpts, _genPdfName, and RooLinkedList::Add().

void RooGenFitStudy::setFitConfig ( const char *  pdfName,
const char *  obsName,
const RooCmdArg arg1 = RooCmdArg(),
const RooCmdArg arg2 = RooCmdArg(),
const RooCmdArg arg3 = RooCmdArg() 
)

Definition at line 155 of file RooGenFitStudy.cxx.

References _fitObsName, _fitOpts, _fitPdfName, and RooLinkedList::Add().

Bool_t RooGenFitStudy::attach ( RooWorkspace w  )  [virtual]

Reimplemented from RooAbsStudy.

Definition at line 104 of file RooGenFitStudy.cxx.

References _fitObs, _fitObsName, _fitPdf, _fitPdfName, _genObs, _genObsName, _genPdf, _genPdfName, RooArgSet::add(), coutE, TNamed::GetName(), RooAbsCollection::getSize(), RooFit::InputArguments, kFALSE, kTRUE, and w.

Bool_t RooGenFitStudy::initialize (  )  [virtual]

Reimplemented from RooAbsStudy.

Definition at line 167 of file RooGenFitStudy.cxx.

References _fitPdf, _genObs, _genOpts, _genPdf, _genSpec, _initParams, _ngenVar, _nllVar, _params, RooArgSet::add(), RooLinkedList::At(), RooAbsArg::getParameters(), kFALSE, RooAbsPdf::prepareMultiGen(), RooAbsStudy::registerSummaryOutput(), and RooAbsCollection::snapshot().

Bool_t RooGenFitStudy::execute (  )  [virtual]

Reimplemented from RooAbsStudy.

Definition at line 188 of file RooGenFitStudy.cxx.

References _fitOpts, _fitPdf, _genPdf, _genSpec, _initParams, _ngenVar, _nllVar, _params, RooLinkedList::At(), data, RooAbsPdf::fitTo(), RooAbsPdf::generate(), kFALSE, kTRUE, RooFitResult::minNll(), RooFit::Save(), RooRealVar::setVal(), RooFitResult::status(), RooAbsStudy::storeDetailedOutput(), and RooAbsStudy::storeSummaryOutput().

Bool_t RooGenFitStudy::finalize (  )  [virtual]

Reimplemented from RooAbsStudy.

Definition at line 209 of file RooGenFitStudy.cxx.

References _genSpec, _initParams, _ngenVar, _nllVar, _params, and kFALSE.

void RooGenFitStudy::Print ( Option_t options = 0  )  const [virtual]

Reimplemented from TNamed.

Definition at line 229 of file RooGenFitStudy.cxx.

void RooGenFitStudy::setGenConfig ( const char *  pdfName,
const char *  obsName,
const RooCmdArg arg1 = RooCmdArg(),
const RooCmdArg arg2 = RooCmdArg(),
const RooCmdArg arg3 = RooCmdArg() 
)

void RooGenFitStudy::setFitConfig ( const char *  pdfName,
const char *  obsName,
const RooCmdArg arg1 = RooCmdArg(),
const RooCmdArg arg2 = RooCmdArg(),
const RooCmdArg arg3 = RooCmdArg() 
)

virtual Bool_t RooGenFitStudy::attach ( RooWorkspace w  )  [virtual]

Reimplemented from RooAbsStudy.

virtual Bool_t RooGenFitStudy::initialize (  )  [virtual]

Reimplemented from RooAbsStudy.

virtual Bool_t RooGenFitStudy::execute (  )  [virtual]

Reimplemented from RooAbsStudy.

virtual Bool_t RooGenFitStudy::finalize (  )  [virtual]

Reimplemented from RooAbsStudy.

void RooGenFitStudy::Print ( Option_t options = 0  )  const [virtual]

Reimplemented from TNamed.


Member Data Documentation

std::string RooGenFitStudy::_genPdfName [protected]

Definition at line 55 of file RooGenFitStudy.h.

Referenced by attach(), and setGenConfig().

std::string RooGenFitStudy::_genObsName [protected]

Definition at line 56 of file RooGenFitStudy.h.

Referenced by attach(), and setGenConfig().

std::string RooGenFitStudy::_fitPdfName [protected]

Definition at line 57 of file RooGenFitStudy.h.

Referenced by attach(), and setFitConfig().

std::string RooGenFitStudy::_fitObsName [protected]

Definition at line 58 of file RooGenFitStudy.h.

Referenced by attach(), and setFitConfig().

RooLinkedList RooGenFitStudy::_genOpts [protected]

Definition at line 59 of file RooGenFitStudy.h.

Referenced by initialize(), RooGenFitStudy(), and setGenConfig().

RooLinkedList RooGenFitStudy::_fitOpts [protected]

Definition at line 60 of file RooGenFitStudy.h.

Referenced by execute(), RooGenFitStudy(), and setFitConfig().

RooAbsPdf* RooGenFitStudy::_genPdf [protected]

Definition at line 62 of file RooGenFitStudy.h.

Referenced by attach(), execute(), and initialize().

RooArgSet RooGenFitStudy::_genObs [protected]

Definition at line 63 of file RooGenFitStudy.h.

Referenced by attach(), and initialize().

RooAbsPdf* RooGenFitStudy::_fitPdf [protected]

Definition at line 64 of file RooGenFitStudy.h.

Referenced by attach(), execute(), and initialize().

RooArgSet RooGenFitStudy::_fitObs [protected]

Definition at line 65 of file RooGenFitStudy.h.

Referenced by attach().

RooAbsPdf::GenSpec* RooGenFitStudy::_genSpec [protected]

Definition at line 67 of file RooGenFitStudy.h.

Referenced by execute(), finalize(), and initialize().

RooRealVar* RooGenFitStudy::_nllVar [protected]

Definition at line 68 of file RooGenFitStudy.h.

Referenced by execute(), finalize(), and initialize().

RooRealVar* RooGenFitStudy::_ngenVar [protected]

Definition at line 69 of file RooGenFitStudy.h.

Referenced by execute(), finalize(), and initialize().

RooArgSet* RooGenFitStudy::_params [protected]

Definition at line 70 of file RooGenFitStudy.h.

Referenced by execute(), finalize(), initialize(), and ~RooGenFitStudy().

RooArgSet* RooGenFitStudy::_initParams [protected]

Definition at line 71 of file RooGenFitStudy.h.

Referenced by execute(), finalize(), and initialize().

RooAbsPdf* RooGenFitStudy::_genPdf [protected]

Definition at line 62 of file RooGenFitStudy.h.

RooAbsPdf* RooGenFitStudy::_fitPdf [protected]

Definition at line 64 of file RooGenFitStudy.h.

RooAbsPdf::GenSpec* RooGenFitStudy::_genSpec [protected]

Definition at line 67 of file RooGenFitStudy.h.

RooRealVar* RooGenFitStudy::_nllVar [protected]

Definition at line 68 of file RooGenFitStudy.h.

RooRealVar* RooGenFitStudy::_ngenVar [protected]

Definition at line 69 of file RooGenFitStudy.h.

RooArgSet* RooGenFitStudy::_params [protected]

Definition at line 70 of file RooGenFitStudy.h.

RooArgSet* RooGenFitStudy::_initParams [protected]

Definition at line 71 of file RooGenFitStudy.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:44 2011 for ROOT_528-00b_version by  doxygen 1.5.1