,
This class represents named parameters that hold information of value, error, limits and implements the interface with ROOT::Minuit2.
hydra::Parameter instances are constructible, assignable and copiable in all backends, and because that the storage to hold the name needs be managed by the user (ex. no std::string support in CUDA). hydra::Parameter overloads the GReal_t operator()() and the arithmetic operators. hydra::Parameter instances can be constructed using named parameter semantic or parameter list semantic:
- Examples:
- basic_fit_range_semantics.inl, binned_extended_logLL_fit.inl, breit_wigner_plus_polynomial.inl, crystal_ball_plus_exponential.inl, dalitz_plot.C, dalitz_plot.inl, double_gaussian_plus_exponential.inl, extended_logLL_fit.inl, fit_convoluted_pdfs.inl, fractional_logLL_fit.inl, gaussian_plus_argus.inl, multidimensional_fit.inl, pseudo_experiment.inl, and splot.inl.
Public Member Functions |
__hydra_host__ __hydra_device__ | Parameter () |
|
__hydra_host__ __hydra_device__ | Parameter (GReal_t value) |
|
| Parameter (GChar_t const *const name, GReal_t value, GReal_t error, GReal_t downlim, GReal_t uplim, GBool_t fixed=0) |
|
| Parameter (GChar_t const *name, GReal_t value, GReal_t error, GBool_t fixed=0) |
|
| Parameter (std::string const &name, GReal_t value, GBool_t fixed=0) |
|
__hydra_host__ __hydra_device__ | Parameter (Parameter const &other) |
|
__hydra_host__ Parameter & | Error (GReal_t error) |
|
__hydra_host__ Parameter & | Fixed (GBool_t flag=1) |
|
__hydra_host__ __hydra_device__ GReal_t | GetError () const |
|
__hydra_host__ __hydra_device__ unsigned int | GetIndex () const |
|
__hydra_host__ __hydra_device__ GReal_t | GetLowerLim () const |
|
__hydra_host__ __hydra_device__ GChar_t const * | GetName () const |
|
__hydra_host__ __hydra_device__ GReal_t | GetUpperLim () const |
|
__hydra_host__ __hydra_device__ GReal_t | GetValue () const |
|
__hydra_host__ __hydra_device__ GBool_t | HasError () const |
|
__hydra_host__ __hydra_device__ GBool_t | IsFixed () const |
|
__hydra_host__ __hydra_device__ GBool_t | IsLimited () const |
|
__hydra_host__ Parameter & | Limits (GReal_t lowlim, GReal_t uplim) |
|
__hydra_host__ Parameter & | Name (std::string const &name) |
|
__hydra_host__ Parameter & | Name (GChar_t const *name) |
|
__hydra_host__ __hydra_device__ | operator GReal_t () |
|
__hydra_host__ __hydra_device__ | operator GReal_t () const |
|
__hydra_host__ __hydra_device__ GReal_t | operator() () |
|
__hydra_host__ __hydra_device__ GReal_t | operator() () const |
|
__hydra_host__ __hydra_device__ Parameter & | operator*= (const GReal_t value) |
|
__hydra_host__ __hydra_device__ Parameter & | operator*= (Parameter const &other) |
|
__hydra_host__ __hydra_device__ Parameter & | operator+= (const GReal_t value) |
|
__hydra_host__ __hydra_device__ Parameter & | operator+= (Parameter const &other) |
|
__hydra_host__ __hydra_device__ Parameter & | operator-= (const GReal_t value) |
|
__hydra_host__ __hydra_device__ Parameter & | operator-= (Parameter const &other) |
|
__hydra_host__ __hydra_device__ Parameter & | operator/= (const GReal_t value) |
|
__hydra_host__ __hydra_device__ Parameter & | operator/= (Parameter const &other) |
|
__hydra_host__ __hydra_device__ Parameter & | operator= (Parameter const &other) |
|
__hydra_host__ __hydra_device__ Parameter & | operator= (const GReal_t value) |
|
__hydra_host__ void | Reset (const std::vector< double > ¶meters) |
|
__hydra_host__ __hydra_device__ void | SetError (GReal_t error) |
|
__hydra_host__ __hydra_device__ void | SetFixed (GBool_t constant) |
|
__hydra_host__ __hydra_device__ void | SetHasError (GBool_t nullError) |
|
__hydra_host__ __hydra_device__ void | SetIndex (unsigned int index) |
|
__hydra_host__ __hydra_device__ void | SetLimited (GBool_t limited) |
|
__hydra_host__ __hydra_device__ void | SetLimits (GReal_t lower, GReal_t upper) |
|
__hydra_host__ __hydra_device__ void | SetLowerLim (GReal_t downLim) |
|
__hydra_host__ void | SetName (const std::string &name) |
|
__hydra_host__ void | SetName (const GChar_t *name) |
|
__hydra_host__ __hydra_device__ void | SetUpperLim (GReal_t upLim) |
|
__hydra_host__ __hydra_device__ void | SetValue (GReal_t value) |
|
__hydra_host__ Parameter & | Value (GReal_t value) |
|
Static Public Member Functions |
static __hydra_host__ Parameter | Create () |
|
static __hydra_host__ Parameter | Create (GChar_t const *name) |
|