RooStats::PdfProposal Class Reference

#include <PdfProposal.h>

Inheritance diagram for RooStats::PdfProposal:

RooStats::ProposalFunction RooStats::ProposalFunction TObject TObject TObject TObject List of all members.

Public Member Functions

 PdfProposal ()
 PdfProposal (RooAbsPdf &pdf)
virtual void Propose (RooArgSet &xPrime, RooArgSet &x)
virtual Bool_t IsSymmetric (RooArgSet &x1, RooArgSet &x2)
virtual Double_t GetProposalDensity (RooArgSet &x1, RooArgSet &x2)
virtual void SetPdf (RooAbsPdf &pdf)
virtual const RooAbsPdfGetPdf () const
virtual void AddMapping (RooRealVar &proposalParam, RooAbsReal &update)
virtual void Reset ()
virtual void printMappings ()
virtual void SetCacheSize (Int_t size)
virtual void SetOwnsPdf (Bool_t ownsPdf)
virtual ~PdfProposal ()
 PdfProposal ()
 PdfProposal (RooAbsPdf &pdf)
virtual void Propose (RooArgSet &xPrime, RooArgSet &x)
virtual Bool_t IsSymmetric (RooArgSet &x1, RooArgSet &x2)
virtual Double_t GetProposalDensity (RooArgSet &x1, RooArgSet &x2)
virtual void SetPdf (RooAbsPdf &pdf)
virtual const RooAbsPdfGetPdf () const
virtual void AddMapping (RooRealVar &proposalParam, RooAbsReal &update)
virtual void Reset ()
virtual void printMappings ()
virtual void SetCacheSize (Int_t size)
virtual void SetOwnsPdf (Bool_t ownsPdf)
virtual ~PdfProposal ()

Protected Member Functions

virtual Bool_t Equals (RooArgSet &x1, RooArgSet &x2)
virtual Bool_t Equals (RooArgSet &x1, RooArgSet &x2)

Protected Attributes

RooAbsPdffPdf
map< RooRealVar *, RooAbsReal * > fMap
map< RooRealVar *, RooAbsReal
* >::iterator 
fIt
RooArgSet fLastX
Int_t fCacheSize
Int_t fCachePosition
RooDataSetfCache
RooArgSet fMaster
Bool_t fOwnsPdf
RooAbsPdffPdf
map< RooRealVar *, RooAbsReal * > fMap
map< RooRealVar *, RooAbsReal
* >::iterator 
fIt
RooDataSetfCache

Detailed Description

Definition at line 46 of file PdfProposal.h.


Constructor & Destructor Documentation

PdfProposal::PdfProposal (  ) 

Definition at line 95 of file PdfProposal.cxx.

References fCache, fCachePosition, fCacheSize, fOwnsPdf, fPdf, kFALSE, and NULL.

PdfProposal::PdfProposal ( RooAbsPdf pdf  ) 

Definition at line 106 of file PdfProposal.cxx.

References fCache, fCachePosition, fCacheSize, fOwnsPdf, fPdf, kFALSE, and NULL.

virtual RooStats::PdfProposal::~PdfProposal (  )  [inline, virtual]

Definition at line 112 of file PdfProposal.h.

References fCache, fOwnsPdf, and fPdf.

RooStats::PdfProposal::PdfProposal (  ) 

RooStats::PdfProposal::PdfProposal ( RooAbsPdf pdf  ) 

virtual RooStats::PdfProposal::~PdfProposal (  )  [inline, virtual]

Definition at line 112 of file PdfProposal.h.

References fCache, fOwnsPdf, and fPdf.


Member Function Documentation

void PdfProposal::Propose ( RooArgSet xPrime,
RooArgSet x 
) [virtual]

Implements RooStats::ProposalFunction.

Definition at line 132 of file PdfProposal.cxx.

References RooArgSet::addClone(), Equals(), fCache, fCachePosition, fCacheSize, fIt, fLastX, fMap, fMaster, fPdf, RooAbsPdf::generate(), RooDataSet::get(), RooAbsCollection::getSize(), RooStats::SetParameters(), and x.

Bool_t PdfProposal::IsSymmetric ( RooArgSet x1,
RooArgSet x2 
) [virtual]

Implements RooStats::ProposalFunction.

Definition at line 181 of file PdfProposal.cxx.

Double_t PdfProposal::GetProposalDensity ( RooArgSet x1,
RooArgSet x2 
) [virtual]

Implements RooStats::ProposalFunction.

Definition at line 189 of file PdfProposal.cxx.

References fIt, fMap, fMaster, fPdf, RooAbsArg::getObservables(), RooAbsPdf::getVal(), RooStats::SetParameters(), x1, and x2.

virtual void RooStats::PdfProposal::SetPdf ( RooAbsPdf pdf  )  [inline, virtual]

Definition at line 65 of file PdfProposal.h.

References fPdf.

Referenced by RooStats::ProposalHelper::GetProposalFunction().

virtual const RooAbsPdf* RooStats::PdfProposal::GetPdf (  )  const [inline, virtual]

Definition at line 68 of file PdfProposal.h.

References fPdf.

void PdfProposal::AddMapping ( RooRealVar proposalParam,
RooAbsReal update 
) [virtual]

Definition at line 200 of file PdfProposal.cxx.

References RooArgSet::add(), fMap, fMaster, NULL, and update().

Referenced by RooStats::ProposalHelper::CreatePdf().

virtual void RooStats::PdfProposal::Reset ( void   )  [inline, virtual]

Definition at line 79 of file PdfProposal.h.

References fCache, fCachePosition, fLastX, NULL, and RooAbsCollection::removeAll().

virtual void RooStats::PdfProposal::printMappings (  )  [inline, virtual]

Definition at line 87 of file PdfProposal.h.

References fMap.

virtual void RooStats::PdfProposal::SetCacheSize ( Int_t  size  )  [inline, virtual]

Definition at line 96 of file PdfProposal.h.

References coutE, RooFit::Eval, and fCacheSize.

Referenced by RooStats::ProposalHelper::GetProposalFunction().

virtual void RooStats::PdfProposal::SetOwnsPdf ( Bool_t  ownsPdf  )  [inline, virtual]

Definition at line 107 of file PdfProposal.h.

References fOwnsPdf.

Referenced by RooStats::ProposalHelper::GetProposalFunction().

Bool_t PdfProposal::Equals ( RooArgSet x1,
RooArgSet x2 
) [protected, virtual]

Definition at line 115 of file PdfProposal.cxx.

References kFALSE, kTRUE, NULL, x1, and x2.

Referenced by Propose().

virtual void RooStats::PdfProposal::Propose ( RooArgSet xPrime,
RooArgSet x 
) [virtual]

Implements RooStats::ProposalFunction.

virtual Bool_t RooStats::PdfProposal::IsSymmetric ( RooArgSet x1,
RooArgSet x2 
) [virtual]

Implements RooStats::ProposalFunction.

virtual Double_t RooStats::PdfProposal::GetProposalDensity ( RooArgSet x1,
RooArgSet x2 
) [virtual]

Implements RooStats::ProposalFunction.

virtual void RooStats::PdfProposal::SetPdf ( RooAbsPdf pdf  )  [inline, virtual]

Definition at line 65 of file PdfProposal.h.

References fPdf.

virtual const RooAbsPdf* RooStats::PdfProposal::GetPdf (  )  const [inline, virtual]

Definition at line 68 of file PdfProposal.h.

References fPdf.

virtual void RooStats::PdfProposal::AddMapping ( RooRealVar proposalParam,
RooAbsReal update 
) [virtual]

virtual void RooStats::PdfProposal::Reset ( void   )  [inline, virtual]

Definition at line 79 of file PdfProposal.h.

References fCache, fCachePosition, fLastX, NULL, and RooAbsCollection::removeAll().

virtual void RooStats::PdfProposal::printMappings (  )  [inline, virtual]

Definition at line 87 of file PdfProposal.h.

References fMap.

virtual void RooStats::PdfProposal::SetCacheSize ( Int_t  size  )  [inline, virtual]

Definition at line 96 of file PdfProposal.h.

References coutE, RooFit::Eval, and fCacheSize.

virtual void RooStats::PdfProposal::SetOwnsPdf ( Bool_t  ownsPdf  )  [inline, virtual]

Definition at line 107 of file PdfProposal.h.

References fOwnsPdf.

virtual Bool_t RooStats::PdfProposal::Equals ( RooArgSet x1,
RooArgSet x2 
) [protected, virtual]


Member Data Documentation

RooAbsPdf* RooStats::PdfProposal::fPdf [protected]

Definition at line 120 of file PdfProposal.h.

Referenced by GetPdf(), GetProposalDensity(), PdfProposal(), Propose(), SetPdf(), and ~PdfProposal().

map<RooRealVar*, RooAbsReal*> RooStats::PdfProposal::fMap [protected]

Definition at line 121 of file PdfProposal.h.

Referenced by AddMapping(), GetProposalDensity(), printMappings(), and Propose().

map<RooRealVar*, RooAbsReal*>::iterator RooStats::PdfProposal::fIt [protected]

Definition at line 122 of file PdfProposal.h.

Referenced by GetProposalDensity(), and Propose().

RooArgSet RooStats::PdfProposal::fLastX [protected]

Definition at line 123 of file PdfProposal.h.

Referenced by Propose(), and Reset().

Int_t RooStats::PdfProposal::fCacheSize [protected]

Definition at line 124 of file PdfProposal.h.

Referenced by PdfProposal(), Propose(), and SetCacheSize().

Int_t RooStats::PdfProposal::fCachePosition [protected]

Definition at line 125 of file PdfProposal.h.

Referenced by PdfProposal(), Propose(), and Reset().

RooDataSet* RooStats::PdfProposal::fCache [protected]

Definition at line 126 of file PdfProposal.h.

Referenced by PdfProposal(), Propose(), Reset(), and ~PdfProposal().

RooArgSet RooStats::PdfProposal::fMaster [protected]

Definition at line 127 of file PdfProposal.h.

Referenced by AddMapping(), GetProposalDensity(), and Propose().

Bool_t RooStats::PdfProposal::fOwnsPdf [protected]

Definition at line 128 of file PdfProposal.h.

Referenced by PdfProposal(), SetOwnsPdf(), and ~PdfProposal().

RooAbsPdf* RooStats::PdfProposal::fPdf [protected]

Definition at line 120 of file PdfProposal.h.

map<RooRealVar*, RooAbsReal*> RooStats::PdfProposal::fMap [protected]

Definition at line 121 of file PdfProposal.h.

map<RooRealVar*, RooAbsReal*>::iterator RooStats::PdfProposal::fIt [protected]

Definition at line 122 of file PdfProposal.h.

RooDataSet* RooStats::PdfProposal::fCache [protected]

Definition at line 126 of file PdfProposal.h.


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