BCPriorModel.cxx
bool MarginalizedHistogramExists(unsigned index) const
Definition: BCEngineMCMC.h:511
BCObservable & GetObservable(unsigned index)
Definition: BCEngineMCMC.h:685
virtual double LogLikelihood(const std::vector< double > ¶ms)=0
Calculates natural logarithm of the likelihood.
void CalculateObservables(const std::vector< double > ¶meters)
Calculates user observables according to the model.
Definition: BCPriorModel.cxx:44
virtual void CalculateObservables(const std::vector< double > &pars)
Evaluates user-defined observables.
Definition: BCEngineMCMC.h:1292
void UpdateChainIndex(int chain)
Keep track of which chain is currently computed (within a thread).
Definition: BCEngineMCMC.cxx:3750
void SetPrecision(BCEngineMCMC::Precision precision)
Set the precision for the MCMC run.
Definition: BCEngineMCMC.cxx:353
TH1 * GetMarginalizedHistogram(const std::string &name) const
Obtain the individual marginalized distributions with respect to one parameter as a ROOT TH1...
Definition: BCEngineMCMC.h:527
BCPriorModel(BCModel &model, bool call_likelihood=false)
constructor.
Definition: BCPriorModel.cxx:16
bool fCallLikelihood
Call the likelihood of the original model when evaluating observables.
Definition: BCPriorModel.h:79