20 LOG_DEBUG(
"Adding parameter list to compound");
21 dependences.insert(param_names.begin(), param_names.end());
#define LOG_DEBUG(...)
Macro for logging debug messages.
High-level observable wrapper (user-facing) that connects experimental inputs to theory predictions.
std::string param_name(const ParamId &pid)
std::shared_ptr< IObsParameterProxy< ParamId, DataType, std::string, LhaID > > iobspp_obs
Proxy to experimental/observable parameters (typically ParameterType::OBSERVABLE).
void add_dependences(const std::unordered_set< ParamId > ¶m_names)
Add many parameter dependences.
std::unordered_set< ParamId > dependences
Set of parameter identifiers the observable depends on.
const std::unordered_set< ParamId > & get_dependences() const
Access the dependency set (read-only).
void add_dependence(const ParamId ¶m_name)
Add a single parameter dependence.
scalar_t get_exp_val(std::pair< double, double > bins={0., 0.}, std::string exp="DEFAULT") const
Get the experimental central value for this observable.
scalar_t get_exp_uncertainty(std::pair< double, double > bins={0., 0.}, std::string exp="DEFAULT", UncertaintyType u_type=UncertaintyType::COMBINED) const
Get the experimental uncertainty for this observable.
std::vector< ObservableValue > compute() const
Compute the theory prediction for this observable.
std::shared_ptr< DecayParent > decay_parent
Physics backend that computes the theory prediction for this observable.
static DataType d_type(UncertaintyType t)
Returns the DataType corresponding to a given uncertainty type.
Identifies an observable together with a numerical bin.
Composite identifier for a single parameter.