|
BAT
0.9.4
The Bayesian analysis toolkit
|


Public Member Functions | |
| void | AddObservable (std::string name, double min, double max) |
| virtual double | CalculateObservable (int index, const std::vector< double > ¶meters) |
| double | LogLikelihood (const std::vector< double > ¶meters) |
Public Member Functions inherited from BCMVCombination | |
| void | AddObservable (std::string name, double min, double max) |
| void | AddUncertainty (std::string name) |
| void | AddMeasurement (std::string name, std::string observable, double value, std::vector< double > uncertainties) |
| int | GetNObservables () |
| int | GetNUncertainties () |
| int | GetNMeasurements () |
| int | GetNActiveMeasurements () |
| BCMVCUncertainty * | GetUncertainty (int index) |
| BCMVCMeasurement * | GetMeasurement (int index) |
| TMatrixD | GetCovarianceMatrix () |
| TMatrixD | GetBLUEWeights () |
| TVectorD | GetBLUECentralValues () |
| TVectorD | GetBLUEUncertainties () |
| TVectorD | GetBLUEUncertainties (int index) |
| TMatrixD | GetBLUECovarianceMatrix () |
| TMatrixD | GetBLUECovarianceMatrix (int index) |
| TMatrixD | GetBLUECorrelationMatrix (int index) |
| TMatrixD | GetBLUECorrelationMatrix () |
| std::vector< int > | GetVectorObservable () |
| TVectorD | GetVectorMeasurements () |
| int | GetIndexMeasurement (std::string measurement, std::string observable) |
| int | GetIndexUncertainty (std::string name) |
| int | GetIndexObservable (std::string name) |
| int | ReadInput (std::string filename) |
| void | CalculateCorrelationMatrix (int index) |
| void | CalculateCovarianceMatrix (std::vector< double > nuisance=std::vector< double >(0)) |
| void | CalculateHelperVectors () |
| bool | PositiveDefinite () |
| void | CalculateBLUE () |
| void | PrepareAnalysis () |
| void | PrintBLUEResults (std::string filename) |
| void | PrintMatrix (TMatrixT< double > &matrix, std::string name="matrix") |
| void | PrintVector (TVectorD &vector, std::string name="vector") |
Public Member Functions inherited from BCModel | |
| BCModel (const char *name="model") | |
| BCModel (const BCModel &bcmodel) | |
| virtual | ~BCModel () |
| BCModel & | operator= (const BCModel &bcmodel) |
| const std::string & | GetName () const |
| double | GetModelAPrioriProbability () const |
| double | GetModelAPosterioriProbability () const |
| BCDataSet * | GetDataSet () const |
| BCDataPoint * | GetDataPointLowerBoundaries () const |
| BCDataPoint * | GetDataPointUpperBoundaries () const |
| double | GetDataPointLowerBoundary (unsigned int index) const |
| double | GetDataPointUpperBoundary (unsigned int index) const |
| bool | GetFlagBoundaries () const |
| unsigned | GetNDataPoints () const |
| BCDataPoint * | GetDataPoint (unsigned int index) const |
| void | SetName (const char *name) |
| void | SetModelAPrioriProbability (double probability) |
| void | SetModelAPosterioriProbability (double probability) |
| virtual int | AddParameter (BCParameter *parameter) |
| void | SetDataSet (BCDataSet *dataset) |
| void | SetSingleDataPoint (BCDataPoint *datapoint) |
| void | SetSingleDataPoint (BCDataSet *dataset, unsigned int index) |
| void | SetDataBoundaries (unsigned int index, double lowerboundary, double upperboundary, bool fixed=false) |
| void | SetDataPointLowerBoundaries (BCDataPoint *datasetlowerboundaries) |
| void | SetDataPointUpperBoundaries (BCDataPoint *datasetupperboundaries) |
| void | SetDataPointLowerBoundary (int index, double lowerboundary) |
| void | SetDataPointUpperBoundary (int index, double upperboundary) |
| int | SetPrior (int index, TF1 *f) |
| int | SetPrior (const char *name, TF1 *f) |
| int | SetPriorDelta (int index, double value) |
| int | SetPriorDelta (const char *name, double value) |
| int | SetPriorGauss (int index, double mean, double sigma) |
| int | SetPriorGauss (const char *name, double mean, double sigma) |
| int | SetPriorGauss (int index, double mean, double sigmadown, double sigmaup) |
| int | SetPriorGauss (const char *name, double mean, double sigmadown, double sigmaup) |
| int | SetPrior (int index, TH1 *h, bool flag=false) |
| int | SetPrior (const char *name, TH1 *h, bool flag=false) |
| int | SetPriorConstant (int index) |
| int | SetPriorConstant (const char *name) |
| int | SetPriorConstantAll () |
| void | Copy (const BCModel &bcmodel) |
| double | APrioriProbability (const std::vector< double > ¶meters) |
| virtual double | LogAPrioriProbability (const std::vector< double > ¶meters) |
| virtual double | Likelihood (const std::vector< double > ¶ms) |
| double | ProbabilityNN (const std::vector< double > ¶ms) |
| double | LogProbabilityNN (const std::vector< double > ¶meters) |
| double | Probability (const std::vector< double > ¶meter) |
| double | LogProbability (const std::vector< double > ¶meter) |
| virtual double | SamplingFunction (const std::vector< double > ¶meters) |
| double | Eval (const std::vector< double > ¶meters) |
| virtual double | LogEval (const std::vector< double > ¶meters) |
| virtual void | CorrelateDataPointValues (std::vector< double > &x) |
| double | GetPvalueFromChi2 (const std::vector< double > &par, int sigma_index) |
| double | GetPvalueFromKolmogorov (const std::vector< double > &par, int index) |
| double | GetPvalueFromChi2NDoF (std::vector< double > par, int sigma_index) |
| BCH1D * | CalculatePValue (std::vector< double > par, bool flag_histogram=false) |
| double | GetPValue () |
| double | GetPValueNDoF () |
| double | GetChi2NDoF () |
| std::vector< double > | GetChi2Runs (int dataIndex, int sigmaIndex) |
| void | SetGoFNIterationsMax (int n) |
| void | SetGoFNIterationsRun (int n) |
| void | SetGoFNChains (int n) |
| double | HessianMatrixElement (const BCParameter *parameter1, const BCParameter *parameter2, std::vector< double > point) |
| void | PrintSummary () |
| void | PrintResults (const char *file) |
| void | PrintShortFitSummary (int chi2flag=0) |
| void | PrintHessianMatrix (std::vector< double > parameters) |
| virtual double | CDF (const std::vector< double > &, int, bool) |
Additional Inherited Members | |
Protected Attributes inherited from BCMVCombination | |
| std::vector< BCMVCUncertainty * > | fUncertainties |
| std::vector< BCMVCMeasurement * > | fMeasurements |
| TMatrixD | fCovarianceMatrix |
| TMatrixD | fInvCovarianceMatrix |
| double | fDetCovariance |
| TVectorD | fVectorMeasurements |
| TVectorD | fVectorActiveMeasurements |
| std::vector< int > | fVectorObservable |
| std::vector< int > | fVectorActiveObservable |
| TMatrixD | fBLUEWeights |
| TVectorD | fBLUECentral |
| TVectorD | fBLUEUncertainties |
| std::vector< TVectorD > | fBLUEUncertaintiesPerSource |
| TMatrixD | fBLUECovarianceMatrix |
| std::vector< TMatrixD > | fBLUECovarianceMatrices |
| std::vector< TMatrixD > | fBLUECorrelationMatrices |
| TMatrixD | fBLUECorrelationMatrix |
| int | fNObservables |
| int | fNNuisanceCorrelation |
| std::vector< NuisanceParameter > | fNuisanceCorrelation |
| std::vector< BCMVCObservable * > | fObservables |
Protected Attributes inherited from BCModel | |
| std::string | fName |
| double | fModelAPriori |
| double | fModelAPosteriori |
| BCDataSet * | fDataSet |
| BCDataPoint * | fDataPointLowerBoundaries |
| BCDataPoint * | fDataPointUpperBoundaries |
| std::vector< bool > | fDataFixedValues |
| double | fPValue |
| double | fChi2NDoF |
| double | fPValueNDoF |
| bool | flag_discrete |
| int | fGoFNIterationsMax |
| int | fGoFNIterationsRun |
| int | fGoFNChains |
| std::vector< TNamed * > | fPriorContainer |
| bool | fPriorConstantAll |
| std::vector< bool > | fPriorContainerConstant |
| std::vector< bool > | fPriorContainerInterpolate |
Definition at line 17 of file BCMVCPhysicsModel.h.
|
virtual |
Calculates natural logarithm of the likelihood. Method needs to be overloaded by the user.
| params | A set of parameter values |
Reimplemented from BCMVCombination.
Definition at line 29 of file BCMVCPhysicsModel.cxx.