RooFoamGenerator Class Reference

#include <RooFoamGenerator.h>

Inheritance diagram for RooFoamGenerator:

RooAbsNumGenerator RooAbsNumGenerator RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooFoamGenerator ()
 RooFoamGenerator (const RooAbsReal &func, const RooArgSet &genVars, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0)
RooAbsNumGeneratorclone (const RooAbsReal &func, const RooArgSet &genVars, const RooArgSet &, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0) const
virtual ~RooFoamGenerator ()
const RooArgSetgenerateEvent (UInt_t remaining, Double_t &resampleRatio)
TFoamengine ()
virtual Bool_t canSampleConditional () const
virtual Bool_t canSampleCategories () const
 RooFoamGenerator ()
 RooFoamGenerator (const RooAbsReal &func, const RooArgSet &genVars, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0)
RooAbsNumGeneratorclone (const RooAbsReal &func, const RooArgSet &genVars, const RooArgSet &, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0) const
virtual ~RooFoamGenerator ()
const RooArgSetgenerateEvent (UInt_t remaining, Double_t &resampleRatio)
TFoamengine ()
virtual Bool_t canSampleConditional () const
virtual Bool_t canSampleCategories () const

Static Protected Member Functions

static void registerSampler (RooNumGenFactory &fact)
static void registerSampler (RooNumGenFactory &fact)

Protected Attributes

RooTFoamBinding_binding
TFoam_tfoam
Double_t_xmin
Double_t_range
Double_t_vec
TIterator_rvIter
RooTFoamBinding_binding
TFoam_tfoam
Double_t_xmin
Double_t_range
Double_t_vec
TIterator_rvIter

Friends

class RooNumGenFactory

Detailed Description

Definition at line 31 of file RooFoamGenerator.h.


Constructor & Destructor Documentation

RooFoamGenerator::RooFoamGenerator (  )  [inline]

Definition at line 33 of file RooFoamGenerator.h.

Referenced by clone().

RooFoamGenerator::RooFoamGenerator ( const RooAbsReal func,
const RooArgSet genVars,
const RooNumGenConfig config,
Bool_t  verbose = kFALSE,
const RooAbsReal maxFuncVal = 0 
)

Definition at line 76 of file RooFoamGenerator.cxx.

References _binding, RooAbsNumGenerator::_funcClone, _range, RooAbsNumGenerator::_realVars, _rvIter, _tfoam, _vec, _xmin, RooAbsCollection::createIterator(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), RooAbsCollection::getSize(), i, TFoam::Initialize(), TIterator::Next(), RooRandom::randomGenerator(), TFoam::SetChat(), TFoam::SetkDim(), TFoam::SetnCells(), TFoam::SetnSampl(), TFoam::SetPseRan(), and TFoam::SetRho().

RooFoamGenerator::~RooFoamGenerator (  )  [virtual]

Definition at line 115 of file RooFoamGenerator.cxx.

References _binding, _range, _rvIter, _tfoam, _vec, and _xmin.

RooFoamGenerator::RooFoamGenerator (  )  [inline]

Definition at line 33 of file RooFoamGenerator.h.

RooFoamGenerator::RooFoamGenerator ( const RooAbsReal func,
const RooArgSet genVars,
const RooNumGenConfig config,
Bool_t  verbose = kFALSE,
const RooAbsReal maxFuncVal = 0 
)

virtual RooFoamGenerator::~RooFoamGenerator (  )  [virtual]


Member Function Documentation

RooAbsNumGenerator* RooFoamGenerator::clone ( const RooAbsReal func,
const RooArgSet genVars,
const RooArgSet ,
const RooNumGenConfig config,
Bool_t  verbose = kFALSE,
const RooAbsReal maxFuncVal = 0 
) const [inline, virtual]

Implements RooAbsNumGenerator.

Definition at line 35 of file RooFoamGenerator.h.

References func(), RooFoamGenerator(), and verbose.

const RooArgSet * RooFoamGenerator::generateEvent ( UInt_t  remaining,
Double_t resampleRatio 
) [virtual]

Implements RooAbsNumGenerator.

Definition at line 129 of file RooFoamGenerator.cxx.

References RooAbsNumGenerator::_cache, _range, RooAbsNumGenerator::_realVars, _rvIter, _tfoam, _vec, _xmin, RooDataSet::get(), TFoam::GetMCvect(), RooAbsCollection::getSize(), i, TFoam::MakeEvent(), TIterator::Next(), TIterator::Reset(), and RooRealVar::setVal().

TFoam& RooFoamGenerator::engine (  )  [inline]

Definition at line 43 of file RooFoamGenerator.h.

References _tfoam.

virtual Bool_t RooFoamGenerator::canSampleConditional (  )  const [inline, virtual]

Reimplemented from RooAbsNumGenerator.

Definition at line 45 of file RooFoamGenerator.h.

References kFALSE.

virtual Bool_t RooFoamGenerator::canSampleCategories (  )  const [inline, virtual]

Reimplemented from RooAbsNumGenerator.

Definition at line 46 of file RooFoamGenerator.h.

References kFALSE.

void RooFoamGenerator::registerSampler ( RooNumGenFactory fact  )  [static, protected]

Definition at line 56 of file RooFoamGenerator.cxx.

References RooNumGenFactory::storeProtoSampler().

Referenced by RooNumGenFactory::RooNumGenFactory().

RooAbsNumGenerator* RooFoamGenerator::clone ( const RooAbsReal func,
const RooArgSet genVars,
const RooArgSet ,
const RooNumGenConfig config,
Bool_t  verbose = kFALSE,
const RooAbsReal maxFuncVal = 0 
) const [inline, virtual]

Implements RooAbsNumGenerator.

Definition at line 35 of file RooFoamGenerator.h.

References func(), RooFoamGenerator(), and verbose.

const RooArgSet* RooFoamGenerator::generateEvent ( UInt_t  remaining,
Double_t resampleRatio 
) [virtual]

Implements RooAbsNumGenerator.

TFoam& RooFoamGenerator::engine (  )  [inline]

Definition at line 43 of file RooFoamGenerator.h.

References _tfoam.

virtual Bool_t RooFoamGenerator::canSampleConditional (  )  const [inline, virtual]

Reimplemented from RooAbsNumGenerator.

Definition at line 45 of file RooFoamGenerator.h.

References kFALSE.

virtual Bool_t RooFoamGenerator::canSampleCategories (  )  const [inline, virtual]

Reimplemented from RooAbsNumGenerator.

Definition at line 46 of file RooFoamGenerator.h.

References kFALSE.

static void RooFoamGenerator::registerSampler ( RooNumGenFactory fact  )  [static, protected]


Friends And Related Function Documentation

RooNumGenFactory [friend]

Definition at line 50 of file RooFoamGenerator.h.


Member Data Documentation

RooTFoamBinding* RooFoamGenerator::_binding [protected]

Definition at line 53 of file RooFoamGenerator.h.

Referenced by RooFoamGenerator(), and ~RooFoamGenerator().

TFoam* RooFoamGenerator::_tfoam [protected]

Definition at line 54 of file RooFoamGenerator.h.

Referenced by engine(), generateEvent(), RooFoamGenerator(), and ~RooFoamGenerator().

Double_t* RooFoamGenerator::_xmin [protected]

Definition at line 55 of file RooFoamGenerator.h.

Referenced by generateEvent(), RooFoamGenerator(), and ~RooFoamGenerator().

Double_t* RooFoamGenerator::_range [protected]

Definition at line 56 of file RooFoamGenerator.h.

Referenced by generateEvent(), RooFoamGenerator(), and ~RooFoamGenerator().

Double_t* RooFoamGenerator::_vec [protected]

Definition at line 57 of file RooFoamGenerator.h.

Referenced by generateEvent(), RooFoamGenerator(), and ~RooFoamGenerator().

TIterator* RooFoamGenerator::_rvIter [protected]

Definition at line 58 of file RooFoamGenerator.h.

Referenced by generateEvent(), RooFoamGenerator(), and ~RooFoamGenerator().

RooTFoamBinding* RooFoamGenerator::_binding [protected]

Definition at line 53 of file RooFoamGenerator.h.

TFoam* RooFoamGenerator::_tfoam [protected]

Definition at line 54 of file RooFoamGenerator.h.

Double_t* RooFoamGenerator::_xmin [protected]

Definition at line 55 of file RooFoamGenerator.h.

Double_t* RooFoamGenerator::_range [protected]

Definition at line 56 of file RooFoamGenerator.h.

Double_t* RooFoamGenerator::_vec [protected]

Definition at line 57 of file RooFoamGenerator.h.

TIterator* RooFoamGenerator::_rvIter [protected]

Definition at line 58 of file RooFoamGenerator.h.


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