1#ifndef __JOSCPROB__JCOMPLEXPHASE__
2#define __JOSCPROB__JCOMPLEXPHASE__
85 return this->
isDefined() ? !(phase < 0.0 || phase > 2 * M_PI) :
true;
172 const double minPhase = this->
getValue().getXmin();
173 const double maxPhase = this->
getValue().getXmax();
175 return (this->
isDefined() ? !(minPhase < 0.0 || minPhase > 2 * M_PI ||
176 maxPhase < 0.0 || maxPhase > 2 * M_PI) :
true);
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
const value_type getValue() const
Get value of parameter.
const bool isDefined() const
Get status of parameter.
Exception for accessing a value in a collection that is outside of its range.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JComplexPhase()
Default constructor.
JOscParameter< JGrid_t > JOscParameter_t
JOscParameter_t::JParameter_t JParameter_t
JComplexPhase(const JGrid_t &grid)
Constructor.
JComplexPhase< JGrid_t > JComplexPhase_t
JComplexPhase_t & operator=(const JGrid_t &grid)
Assignment operator.
bool is_valid() const override final
Check validity of oscillation parameter.
JComplexPhase(const int nx, const double xmin, const double xmax)
Constructor.
JComplexPhase(const double value)
Constructor.
Implementation of oscillation complex phase.
JComplexPhase(argument_type value)
Constructor.
JOscParameter< T > JOscParameter_t
bool is_valid() const override final
Check validity of oscillation parameter.
JComplexPhase()
Default constructor.
JComplexPhase_t & operator=(const value_type &value)
Assignment operator.
JOscParameter_t::argument_type argument_type
JComplexPhase< T > JComplexPhase_t
JOscParameter_t::JParameter_t JParameter_t
JOscParameter_t::value_type value_type
Abstract base class for oscillation parameter.
void setValue(const value_type &value)
Set parameter.
JParameter_t::argument_type argument_type
JParameter_t::value_type value_type