#include <BCModel.h>


Definition at line 47 of file BCModel.h.
Public Member Functions | |
Member functions (miscellaneous methods) | |
| int | AddParameter (BCParameter *parameter) |
| int | AddParameter (const char *name, double lowerlimit, double upperlimit) |
| double | APrioriProbability (std::vector< double > parameters) |
| void | CalculateErrorBandXY (int nx, double xmin, double xmax, int ny, double ymin, double ymax, int niter) |
| BCH1D * | CalculatePValue (std::vector< double > par, bool flag_histogram=false) |
| int | CheckParameters (std::vector< double > parameters) |
| double | ConditionalProbabilityEntry (BCDataPoint *datapoint, std::vector< double > parameters) |
| virtual void | CorrelateDataPointValues (std::vector< double > &x) |
| void | CreateData (int ndatasets, std::vector< double > parameters) |
| void | CreateDataGrid (int ndatasets, std::vector< double > parameters, std::vector< bool > grid, std::vector< double > limits) |
| void | CreateDataGridROOT (int ndatasets, std::vector< double > parameters, std::vector< bool > grid, std::vector< double > limits) |
| virtual void | DefineParameters () |
| BCH1D * | DoGoodnessOfFitTest (const char *filename, std::vector< double > parameters) |
| BCH1D * | DoGoodnessOfFitTest (const char *filename) |
| BCH1D * | DoGoodnessOfFitTest (int ndatasets) |
| BCH1D * | DoGoodnessOfFitTest (int ndatasets, std::vector< double > parameters) |
| BCH1D * | DoGoodnessOfFitTest (int ndatasets, std::vector< double > parameters, std::vector< bool > grid, std::vector< double > limits) |
| BCH1D * | DoGoodnessOfFitTestROOT (int ndatasets, std::vector< double > parameters, std::vector< bool > grid, std::vector< double > limits) |
| double | Eval (std::vector< double > parameters) |
| double | EvalSampling (std::vector< double > parameters) |
| void | FindMode () |
| void | FixDataAxis (int index, bool fixed) |
| BCH2D * | GetMarginalized (const char *name1, const char *name2) |
| BCH2D * | GetMarginalized (BCParameter *parameter1, BCParameter *parameter2) |
| BCH1D * | GetMarginalized (const char *name) |
| BCH1D * | GetMarginalized (BCParameter *parameter) |
| double | GetPValue () |
| double | GetPvalueFromChi2 (std::vector< double > par, int sigma_index) |
| BCH1D * | GoodnessOfFitTest (const char *filenname, std::vector< double > parameters) |
| BCH1D * | GoodnessOfFitTestROOT (int ndatasets, const char *filename, std::vector< double > parameters) |
| double | HessianMatrixElement (BCParameter *parameter1, BCParameter *parameter2, std::vector< double > point) |
| double | Likelihood (std::vector< double > parameter) |
| virtual double | LogAPrioriProbability (std::vector< double > parameters) |
| virtual double | LogConditionalProbabilityEntry (BCDataPoint *datapoint, std::vector< double > parameters) |
| double | LogEval (std::vector< double > parameters) |
| virtual double | LogLikelihood (std::vector< double > parameter) |
| virtual double | LogPoissonProbability (int nentries, std::vector< double > parameters) |
| double | LogProbability (std::vector< double > parameter) |
| double | LogProbabilityNN (std::vector< double > parameter) |
| int | MarginalizeAll () |
| BCH2D * | MarginalizeProbability (const char *name1, const char *name2) |
| BCH2D * | MarginalizeProbability (BCParameter *parameter1, BCParameter *parameter2) |
| BCH1D * | MarginalizeProbability (const char *name) |
| BCH1D * | MarginalizeProbability (BCParameter *parameter) |
| double | Normalize () |
| double | PoissonProbability (int nentries, std::vector< double > parameters) |
| int | PrintAllMarginalized (const char *file, int hdiv=1, int ndiv=1) |
| int | PrintAllMarginalized1D (const char *filebase) |
| int | PrintAllMarginalized2D (const char *filebase) |
| void | PrintHessianMatrix (std::vector< double > parameters) |
| void | PrintResults (const char *file) |
| void | PrintSummary () |
| double | Probability (std::vector< double > parameter) |
| double | ProbabilityNN (std::vector< double > parameter) |
| int | ReadErrorBandFromFile (const char *file) |
| int | ReadMarginalizedFromFile (const char *file) |
| int | ReadMode (const char *file) |
| virtual double | SamplingFunction (std::vector< double > parameters) |
| void | WriteMode (const char *file) |
Constructors and destructors | |
| BCModel (const char *name) | |
| BCModel () | |
| virtual | ~BCModel () |
Member functions (get) | |
| double | GetBestFitParameter (int index) |
| double | GetBestFitParameterMarginalized (int index) |
| std::vector< double > | GetBestFitParameters () |
| std::vector< double > | GetBestFitParametersMarginalized () |
| BCDataPoint * | GetDataPoint (int index) |
| BCDataPoint * | GetDataPointLowerBoundaries () |
| double | GetDataPointLowerBoundary (int index) |
| BCDataPoint * | GetDataPointUpperBoundaries () |
| double | GetDataPointUpperBoundary (int index) |
| BCDataSet * | GetDataSet () |
| std::vector< double > | GetErrorBand (double level) |
| TGraph * | GetErrorBandGraph (double level1, double level2) |
| TH2D * | GetErrorBandXY () |
| TGraph * | GetFitFunctionGraph (std::vector< double > parameters, double xmin, double xmax, int n=1000) |
| TGraph * | GetFitFunctionGraph () |
| TGraph * | GetFitFunctionGraph (std::vector< double > parameters) |
| bool | GetFixedDataAxis (int index) |
| bool | GetFlagBoundaries () |
| int | GetIndex () |
| double | GetModelAPosterioriProbability () |
| double | GetModelAPrioriProbability () |
| std::string | GetName () |
| int | GetNDataPoints () |
| int | GetNDataPointsMaximum () |
| int | GetNDataPointsMinimum () |
| double | GetNormalization () |
| int | GetNParameters () |
| BCParameter * | GetParameter (const char *name) |
| BCParameter * | GetParameter (int index) |
Member functions (set) | |
| void | SetDataBoundaries (int index, double lowerboundary, double upperboundary, bool fixed=false) |
| void | SetDataSet (BCDataSet *dataset) |
| void | SetErrorBandContinuous (bool flag) |
| void | SetIndex (int index) |
| void | SetModelAPosterioriProbability (double probability) |
| void | SetModelAPrioriProbability (double probability) |
| void | SetName (const char *name) |
| void | SetNDataPointsMaximum (int maximum) |
| void | SetNDataPointsMinimum (int minimum) |
| void | SetNormalization (double norm) |
| void | SetSingleDataPoint (BCDataSet *dataset, int index) |
| void | SetSingleDataPoint (BCDataPoint *datapoint) |
Protected Attributes | |
| BCDataSet * | fDataSet |
| int | fIndex |
| bool | flag_ConditionalProbabilityEntry |
| double | fModelAPosteriori |
| double | fModelAPriori |
| std::string | fName |
| int | fNDataPointsMaximum |
| int | fNDataPointsMinimum |
| BCParameterSet * | fParameterSet |
| double | fPValue |
Private Member Functions | |
| int | CompareStrings (const char *string1, const char *string2) |
| BCDataPoint * | VectorToDataPoint (std::vector< double > data) |
Private Attributes | |
| double | fNormalization |
| BCModel::BCModel | ( | ) |
The default constructor.
Definition at line 51 of file BCModel.cxx.
| BCModel::BCModel | ( | const char * | name | ) |
| BCModel::~BCModel | ( | ) | [virtual] |
The default destructor.
Definition at line 74 of file BCModel.cxx.
| int BCModel::AddParameter | ( | BCParameter * | parameter | ) |
Adds a parameter to the model.
| parameter | A model parameter |
Definition at line 433 of file BCModel.cxx.
| int BCModel::AddParameter | ( | const char * | name, | |
| double | lowerlimit, | |||
| double | upperlimit | |||
| ) |
Adds a parameter to the parameter set
| name | The name of the parameter | |
| lowerlimit | The lower limit of the parameter values | |
| upperlimit | The upper limit of the parameter values |
Definition at line 413 of file BCModel.cxx.
| double BCModel::APrioriProbability | ( | std::vector< double > | parameters | ) | [inline] |
| void BCModel::CalculateErrorBandXY | ( | int | nx, | |
| double | xmin, | |||
| double | xmax, | |||
| int | ny, | |||
| double | ymin, | |||
| double | ymax, | |||
| int | niter | |||
| ) |
Returns upper and lower value for a given point x on the error band param x A vector of x-values param ymin The minimum value param ymax The maximum value
Definition at line 566 of file BCModel.cxx.
| BCH1D * BCModel::CalculatePValue | ( | std::vector< double > | par, | |
| bool | flag_histogram = false | |||
| ) |
Definition at line 2276 of file BCModel.cxx.
| int BCModel::CheckParameters | ( | std::vector< double > | parameters | ) |
Checks if a set of parameters values is within the given range.
| parameters | A set of parameter values |
Definition at line 682 of file BCModel.cxx.
| int BCModel::CompareStrings | ( | const char * | string1, | |
| const char * | string2 | |||
| ) | [private] |
Compares to strings
Definition at line 2684 of file BCModel.cxx.
| double BCModel::ConditionalProbabilityEntry | ( | BCDataPoint * | datapoint, | |
| std::vector< double > | parameters | |||
| ) | [inline] |
Returns a conditional probability. Method needs to be overloaded by the user.
| datapoint | A data point | |
| parameters | A set of parameter values |
| void BCModel::CorrelateDataPointValues | ( | std::vector< double > & | x | ) | [virtual] |
Constrains a data point
| x | A vector of double |
Definition at line 2315 of file BCModel.cxx.
| void BCModel::CreateData | ( | int | ndatasets, | |
| std::vector< double > | parameters | |||
| ) |
Creates data sets given a set of parameters.
| ndatasets | The number of data sets to be created | |
| parameters | A set of parameter values |
Definition at line 1290 of file BCModel.cxx.
| void BCModel::CreateDataGrid | ( | int | ndatasets, | |
| std::vector< double > | parameters, | |||
| std::vector< bool > | grid, | |||
| std::vector< double > | limits | |||
| ) |
Creates data sets in a grid given a set of parameters.
| ndatasets | The number of data sets to be created | |
| parameters | A set of parameter values | |
| grid | Boolean for random (false) or grid values (true) | |
| limits | Limits for each data value |
Definition at line 1309 of file BCModel.cxx.
| void BCModel::CreateDataGridROOT | ( | int | ndatasets, | |
| std::vector< double > | parameters, | |||
| std::vector< bool > | grid, | |||
| std::vector< double > | limits | |||
| ) |
Creates data sets in a grid given a set of parameters.
| ndatasets | The number of data sets to be created | |
| parameters | A set of parameter values | |
| grid | Boolean for random (false) or grid values (true) | |
| limits | Limits for each data value |
Definition at line 1581 of file BCModel.cxx.
| virtual void BCModel::DefineParameters | ( | ) | [inline, virtual] |
| BCH1D * BCModel::DoGoodnessOfFitTest | ( | const char * | filename, | |
| std::vector< double > | parameters | |||
| ) |
Definition at line 2234 of file BCModel.cxx.
| BCH1D * BCModel::DoGoodnessOfFitTest | ( | const char * | filename | ) |
Definition at line 2251 of file BCModel.cxx.
| BCH1D * BCModel::DoGoodnessOfFitTest | ( | int | ndatasets | ) |
Definition at line 2214 of file BCModel.cxx.
| BCH1D * BCModel::DoGoodnessOfFitTest | ( | int | ndatasets, | |
| std::vector< double > | parameters | |||
| ) |
Definition at line 2185 of file BCModel.cxx.
| BCH1D * BCModel::DoGoodnessOfFitTest | ( | int | ndatasets, | |
| std::vector< double > | parameters, | |||
| std::vector< bool > | grid, | |||
| std::vector< double > | limits | |||
| ) |
Do goodness-of-fit test. Creates data sets and performs a goodness-of-fit test.
| ndatasets | The number of data sets to be created | |
| parameters | A set of parameter values | |
| grid | Boolean for random (false) or grid values (true) | |
| limits | Limits for each data value |
GoodnessOfFitTest(const char * filenname, std::vector <double> parameters)
Definition at line 2127 of file BCModel.cxx.
| BCH1D * BCModel::DoGoodnessOfFitTestROOT | ( | int | ndatasets, | |
| std::vector< double > | parameters, | |||
| std::vector< bool > | grid, | |||
| std::vector< double > | limits | |||
| ) |
Definition at line 2156 of file BCModel.cxx.
| double BCModel::Eval | ( | std::vector< double > | parameters | ) | [inline, virtual] |
Overloaded function to evaluate integral.
Reimplemented from BCIntegrate.
| double BCModel::EvalSampling | ( | std::vector< double > | parameters | ) | [virtual] |
Overloaded function to evaluate integral.
Reimplemented from BCIntegrate.
Definition at line 557 of file BCModel.cxx.
| void BCModel::FindMode | ( | ) |
Does the mode finding
Definition at line 713 of file BCModel.cxx.
| void BCModel::FixDataAxis | ( | int | index, | |
| bool | fixed | |||
| ) |
Definition at line 2381 of file BCModel.cxx.
| double BCModel::GetBestFitParameter | ( | int | index | ) | [inline] |
| double BCModel::GetBestFitParameterMarginalized | ( | int | index | ) | [inline] |
| std::vector<double> BCModel::GetBestFitParameters | ( | ) | [inline] |
| std::vector<double> BCModel::GetBestFitParametersMarginalized | ( | ) | [inline] |
| BCDataPoint * BCModel::GetDataPoint | ( | int | index | ) |
| index | The index of the data point. |
Definition at line 111 of file BCModel.cxx.
| BCDataPoint* BCModel::GetDataPointLowerBoundaries | ( | ) | [inline] |
| double BCModel::GetDataPointLowerBoundary | ( | int | index | ) | [inline] |
| BCDataPoint* BCModel::GetDataPointUpperBoundaries | ( | ) | [inline] |
| double BCModel::GetDataPointUpperBoundary | ( | int | index | ) | [inline] |
| BCDataSet* BCModel::GetDataSet | ( | ) | [inline] |
| std::vector< double > BCModel::GetErrorBand | ( | double | level | ) |
Returns a vector of y-values at a certain probability level.
| level | The level of probability |
Definition at line 166 of file BCModel.cxx.
| TGraph * BCModel::GetErrorBandGraph | ( | double | level1, | |
| double | level2 | |||
| ) |
Definition at line 202 of file BCModel.cxx.
| TH2D* BCModel::GetErrorBandXY | ( | ) | [inline] |
| TGraph * BCModel::GetFitFunctionGraph | ( | std::vector< double > | parameters, | |
| double | xmin, | |||
| double | xmax, | |||
| int | n = 1000 | |||
| ) |
Definition at line 265 of file BCModel.cxx.
| TGraph * BCModel::GetFitFunctionGraph | ( | std::vector< double > | parameters | ) |
Definition at line 231 of file BCModel.cxx.
| bool BCModel::GetFixedDataAxis | ( | int | index | ) |
Definition at line 2403 of file BCModel.cxx.
| bool BCModel::GetFlagBoundaries | ( | ) |
Definition at line 294 of file BCModel.cxx.
| int BCModel::GetIndex | ( | ) | [inline] |
| BCH2D* BCModel::GetMarginalized | ( | const char * | name1, | |
| const char * | name2 | |||
| ) | [inline] |
| BCH2D * BCModel::GetMarginalized | ( | BCParameter * | parameter1, | |
| BCParameter * | parameter2 | |||
| ) |
If MarginalizeAll method was used, the individual marginalized distributions with respect to otwo parameters can be retrieved using this method.
| parameter1 | First parameter | |
| parameter2 | Second parameter |
Definition at line 1239 of file BCModel.cxx.
| BCH1D* BCModel::GetMarginalized | ( | const char * | name | ) | [inline] |
| BCH1D * BCModel::GetMarginalized | ( | BCParameter * | parameter | ) |
If MarginalizeAll method was used, the individual marginalized distributions with respect to one parameter can be retrieved using this method.
| parameter | Model parameter |
Definition at line 955 of file BCModel.cxx.
| double BCModel::GetModelAPosterioriProbability | ( | ) | [inline] |
| double BCModel::GetModelAPrioriProbability | ( | ) | [inline] |
| std::string BCModel::GetName | ( | ) | [inline] |
| int BCModel::GetNDataPoints | ( | ) |
Definition at line 92 of file BCModel.cxx.
| int BCModel::GetNDataPointsMaximum | ( | ) | [inline] |
| int BCModel::GetNDataPointsMinimum | ( | ) | [inline] |
| double BCModel::GetNormalization | ( | ) | [inline] |
| int BCModel::GetNParameters | ( | ) | [inline] |
| BCParameter * BCModel::GetParameter | ( | const char * | name | ) |
| name | The name of the parameter in the parameter set. |
Definition at line 141 of file BCModel.cxx.
| BCParameter * BCModel::GetParameter | ( | int | index | ) |
| index | The index of the parameter in the parameter set. |
Definition at line 124 of file BCModel.cxx.
| double BCModel::GetPvalueFromChi2 | ( | std::vector< double > | par, | |
| int | sigma_index | |||
| ) |
Calculate p-value from Chi2 distribution for Gaussian problems
| par | Parameter set for the calculation of the likelihood | |
| sigma_index | Index of the sigma/uncertainty for the data points (for data in format "x y erry" the index would be 2) |
Definition at line 2260 of file BCModel.cxx.
| BCH1D * BCModel::GoodnessOfFitTest | ( | const char * | filenname, | |
| std::vector< double > | parameters | |||
| ) |
Goodness-of-fit test. Assuming a certain set of parameters this function reads data from a file (which was created under the assumption of the model and the same set of parameters) and calculates the frequency distribution of the probability p(data|parameters).
| filename | A file which contains a list of files with ensembles | |
| parameters | The parameter values for which the probability is calculated |
Definition at line 1829 of file BCModel.cxx.
| BCH1D * BCModel::GoodnessOfFitTestROOT | ( | int | ndatasets, | |
| const char * | filename, | |||
| std::vector< double > | parameters | |||
| ) |
Definition at line 1978 of file BCModel.cxx.
| double BCModel::HessianMatrixElement | ( | BCParameter * | parameter1, | |
| BCParameter * | parameter2, | |||
| std::vector< double > | point | |||
| ) |
Calculates the matrix element of the Hessian matrix
| parameter1 | The parameter for the first derivative | |
| parameter2 | The parameter for the first derivative |
Definition at line 2322 of file BCModel.cxx.
| double BCModel::Likelihood | ( | std::vector< double > | parameter | ) | [inline] |
| virtual double BCModel::LogAPrioriProbability | ( | std::vector< double > | parameters | ) | [inline, virtual] |
Returns natural logarithm of the prior probability. Method needs to be overloaded by the user.
| parameters | A set of parameter values |
Reimplemented in BCModelTest.
| virtual double BCModel::LogConditionalProbabilityEntry | ( | BCDataPoint * | datapoint, | |
| std::vector< double > | parameters | |||
| ) | [inline, virtual] |
Returns a natural logarithm of conditional probability. Method needs to be overloaded by the user.
| datapoint | A data point | |
| parameters | A set of parameter values |
| double BCModel::LogEval | ( | std::vector< double > | parameters | ) | [virtual] |
Overloaded function to evaluate integral.
Reimplemented from BCIntegrate.
Definition at line 548 of file BCModel.cxx.
| double BCModel::LogLikelihood | ( | std::vector< double > | parameter | ) | [virtual] |
Calculates natural logarithm of the likelihood. Method needs to be overloaded by the user.
| parameters | A set of parameter values |
Reimplemented in BCModelTest.
Definition at line 525 of file BCModel.cxx.
| virtual double BCModel::LogPoissonProbability | ( | int | nentries, | |
| std::vector< double > | parameters | |||
| ) | [inline, virtual] |
| double BCModel::LogProbability | ( | std::vector< double > | parameter | ) |
Returns natural logarithm of the a posteriori probability given a set of parameter values
| parameters | A set of parameter values |
Definition at line 507 of file BCModel.cxx.
| double BCModel::LogProbabilityNN | ( | std::vector< double > | parameter | ) |
Returns the natural logarithm of likelihood times prior probability given a set of parameter values
| parameters | A set of parameter values |
Definition at line 490 of file BCModel.cxx.
| int BCModel::MarginalizeAll | ( | ) |
Marginalize all probabilities wrt. single parameters and all combinations of two parameters. The individual distributions can be retrieved using the GetMarginalized method.
Definition at line 908 of file BCModel.cxx.
| BCH2D* BCModel::MarginalizeProbability | ( | const char * | name1, | |
| const char * | name2 | |||
| ) | [inline] |
| BCH2D * BCModel::MarginalizeProbability | ( | BCParameter * | parameter1, | |
| BCParameter * | parameter2 | |||
| ) |
Marginalizes the a posteriori probability with respect to two parameters.
| parameter1 | First parameter | |
| parameter2 | Second parameter |
Definition at line 880 of file BCModel.cxx.
| BCH1D* BCModel::MarginalizeProbability | ( | const char * | name | ) | [inline] |
| BCH1D * BCModel::MarginalizeProbability | ( | BCParameter * | parameter | ) |
Marginalizes the a posteriori probability with respect to a parameter.
| parameter | A model parameter |
Definition at line 839 of file BCModel.cxx.
| double BCModel::Normalize | ( | ) |
Integrates over the un-normalized probability and updates fNormalization.
Definition at line 655 of file BCModel.cxx.
| double BCModel::PoissonProbability | ( | int | nentries, | |
| std::vector< double > | parameters | |||
| ) | [inline] |
| int BCModel::PrintAllMarginalized | ( | const char * | file, | |
| int | hdiv = 1, |
|||
| int | ndiv = 1 | |||
| ) |
Definition at line 1136 of file BCModel.cxx.
| int BCModel::PrintAllMarginalized1D | ( | const char * | filebase | ) |
Definition at line 1088 of file BCModel.cxx.
| int BCModel::PrintAllMarginalized2D | ( | const char * | filebase | ) |
Definition at line 1109 of file BCModel.cxx.
| void BCModel::PrintHessianMatrix | ( | std::vector< double > | parameters | ) |
Prints matrix elements of the Hessian matrix
| parameters | The parameter values at which point to evaluate the matrix |
Definition at line 2633 of file BCModel.cxx.
| void BCModel::PrintResults | ( | const char * | file | ) |
Prints a summary of the Markov Chain Monte Carlo to a file.
Definition at line 2488 of file BCModel.cxx.
| void BCModel::PrintSummary | ( | ) |
Prints a summary on the screen.
Definition at line 2422 of file BCModel.cxx.
| double BCModel::Probability | ( | std::vector< double > | parameter | ) | [inline] |
| double BCModel::ProbabilityNN | ( | std::vector< double > | parameter | ) | [inline] |
| int BCModel::ReadErrorBandFromFile | ( | const char * | file | ) |
Read
Definition at line 1058 of file BCModel.cxx.
| int BCModel::ReadMarginalizedFromFile | ( | const char * | file | ) |
Read
Definition at line 1003 of file BCModel.cxx.
| int BCModel::ReadMode | ( | const char * | file | ) |
Read mode from file created by WriteMode() call
Definition at line 796 of file BCModel.cxx.
| double BCModel::SamplingFunction | ( | std::vector< double > | parameters | ) | [virtual] |
Sampling function used for importance sampling. Method needs to be overloaded by the user.
| parameters | A set of parameter values |
Definition at line 638 of file BCModel.cxx.
| void BCModel::SetDataBoundaries | ( | int | index, | |
| double | lowerboundary, | |||
| double | upperboundary, | |||
| bool | fixed = false | |||
| ) |
Definition at line 346 of file BCModel.cxx.
| void BCModel::SetDataSet | ( | BCDataSet * | dataset | ) | [inline] |
| void BCModel::SetErrorBandContinuous | ( | bool | flag | ) |
Sets the error band flag to continuous function
Definition at line 390 of file BCModel.cxx.
| void BCModel::SetIndex | ( | int | index | ) | [inline] |
Sets the index of the model within the BCModelManager.
| index | The index of the model |
| void BCModel::SetModelAPosterioriProbability | ( | double | probability | ) | [inline] |
| void BCModel::SetModelAPrioriProbability | ( | double | probability | ) | [inline] |
| void BCModel::SetName | ( | const char * | name | ) | [inline] |
| void BCModel::SetNDataPointsMaximum | ( | int | maximum | ) | [inline] |
| void BCModel::SetNDataPointsMinimum | ( | int | minimum | ) | [inline] |
| void BCModel::SetNormalization | ( | double | norm | ) | [inline] |
| void BCModel::SetSingleDataPoint | ( | BCDataSet * | dataset, | |
| int | index | |||
| ) |
Definition at line 334 of file BCModel.cxx.
| void BCModel::SetSingleDataPoint | ( | BCDataPoint * | datapoint | ) |
Sets a single data point as data set.
| datapoint | A data point |
Definition at line 315 of file BCModel.cxx.
| BCDataPoint * BCModel::VectorToDataPoint | ( | std::vector< double > | data | ) | [private] |
Converts a vector of doubles into a BCDataPoint
Definition at line 2669 of file BCModel.cxx.
| void BCModel::WriteMode | ( | const char * | file | ) |
Write mode into file
Definition at line 755 of file BCModel.cxx.
BCDataSet* BCModel::fDataSet [protected] |
int BCModel::fIndex [protected] |
bool BCModel::flag_ConditionalProbabilityEntry [protected] |
double BCModel::fModelAPosteriori [protected] |
double BCModel::fModelAPriori [protected] |
std::string BCModel::fName [protected] |
int BCModel::fNDataPointsMaximum [protected] |
int BCModel::fNDataPointsMinimum [protected] |
double BCModel::fNormalization [private] |
BCParameterSet* BCModel::fParameterSet [protected] |
double BCModel::fPValue [protected] |
1.5.6