Template specialization for parameter grid.  
 More...
#include <JMassSquaredDifference.hh>
Template specialization for parameter grid. 
Definition at line 104 of file JMassSquaredDifference.hh.
 
◆ JGrid_t
◆ JMassSquaredDifference_t
◆ JOscParameter_t
◆ JParameter_t
◆ argument_type
◆ value_type
◆ JMassSquaredDifference() [1/4]
◆ JMassSquaredDifference() [2/4]
Constructor. 
- Parameters
 - 
  
    | grid | mass-squared difference parameter grid [eV2]  | 
  
   
Definition at line 126 of file JMassSquaredDifference.hh.
  126                                                         :
  128    {
  130      
  132        THROW(
JValueOutOfRange, 
"JMassSquaredDifference::JMassSquaredDifference(): Invalid mass-squared difference grid " << grid);
 
  133      }
  134    }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
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).
 
bool is_valid() const override final
Check validity of oscillation parameter.
 
 
 
 
◆ JMassSquaredDifference() [3/4]
Constructor. 
- Parameters
 - 
  
    | nx | number of elements  | 
    | xmin | lower limit [eV2]  | 
    | xmax | upper limit [eV2]  | 
  
   
Definition at line 144 of file JMassSquaredDifference.hh.
 
 
◆ JMassSquaredDifference() [4/4]
◆ operator=()
Assignment operator. 
- Parameters
 - 
  
    | grid | mass-squared difference parameter grid [eV2]  | 
  
   
- Returns
 - mass-squared difference 
 
Definition at line 167 of file JMassSquaredDifference.hh.
  168    {
  170 
  171      return *this;
  172    }
void setValue(const value_type &value)
 
 
 
 
◆ is_valid()
  
  | 
      
   | 
  
inlinefinaloverridevirtual   | 
  
 
 
◆ make_parameter()
Auxiliary function to create an mass-squared difference parameter grid. 
- Parameters
 - 
  
    | value | mass-squared difference value [eV2]  | 
  
   
- Returns
 - mass-squared difference parameter 
 
Definition at line 192 of file JMassSquaredDifference.hh.
  193    {
  195    }
JMassSquaredDifference< JGrid_t > JMassSquaredDifference_t
 
 
 
 
◆ setValue()
Set parameter. 
- Parameters
 - 
  
    | value | oscillation parameter value  | 
  
   
Definition at line 74 of file JOscParameter.hh.
   75    {
   77 
   79 
   81        THROW(
JValueOutOfRange, 
"JOscParameter<T>::setValue(): Given oscillation parameter is invalid " << value);
 
   82      }
   83    }
void setValue(const value_type &value)
Set value.
 
virtual bool is_valid() const=0
 
 
 
 
◆ getValue()
Get value of parameter. 
- Returns
 - value 
 
Definition at line 82 of file JParameter.hh.
 
 
◆ operator const value_type()
Type conversion operator. 
- Returns
 - value 
 
Definition at line 105 of file JParameter.hh.
  106    { 
  108    }
const value_type getValue() const
Get value of parameter.
 
 
 
 
◆ isDefined()
Get status of parameter. 
- Returns
 - true if value has been defined (by read or assignment); else false 
 
Definition at line 116 of file JParameter.hh.
 
 
◆ less()
Less than method. 
This method evaluates to true if both parameter values are defined and this value is less than the value of the given parameter object.
- Parameters
 - 
  
  
 
- Returns
 - true if both defined and first value less than second value; else false 
 
Definition at line 131 of file JParameter.hh.
  132    {
  133      return this->
isDefined() && parameter.isDefined() && this->
getValue() < parameter.getValue();
 
  134    }
const bool isDefined() const
Get status of parameter.
 
 
 
 
◆ __value
◆ is_defined
The documentation for this struct was generated from the following file: