8 int max_index(
const std::vector<Variable> &vars) {
12 = *std::max_element(std::begin(vars), std::end(vars), [](
const Variable &a,
const Variable &b) {
18 int max_index(
const std::vector<Observable> &vars) {
22 = *std::max_element(std::begin(vars), std::end(vars), [](
const Observable &a,
const Observable &b) {
30 = *std::max_element(std::begin(vars), std::end(vars), [](
const Variable &a,
const Variable &b) {
41 o <<
" GooFit index: " << var.
getIndex();
54 o <<
" GooFit index: " << var.
getIndex();
int getFitterIndex() const
Get the index from the fitter.
std::shared_ptr< fptype > value
The value of the variable.
Special class for observables. Used in DataSets.
size_t getNumBins() const
Get the number of bins.
int max_fitter_index(const std::vector< Variable > &vars)
Get the max fitter index of a variable from a list.
int getIndex() const
Get the GooFit index.
std::shared_ptr< fptype > blind
A blinding value to add.
fptype getLowerLimit() const
Get the lower limit.
int max_index(const std::vector< Variable > &vars)
Get the max index of a variable from a list.
fptype getValue() const
Get the value.
fptype getUpperLimit() const
Get the upper limit.
bool IsFixed() const
Check to see if this is a constant.
std::istream & operator>>(std::istream &i, GooFit::Observable &var)
Allow Observable to be read in.
std::ostream & operator<<(std::ostream &stream, Uncertain value)
Simple << output.
fptype getError() const
Get the error.
const std::string & getName() const
Get the name.