Neutrino oscillation channel.  
 More...
#include <JOscChannel.hh>
Neutrino oscillation channel. 
Definition at line 110 of file JOscChannel.hh.
 
◆ JOscChannel() [1/3]
  
  
      
        
          | JOSCPROB::JOscChannel::JOscChannel  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 116 of file JOscChannel.hh.
  116                  :
  120    {}
JChargeParity_t Cparity
Charge-parity.
 
JFlavour_t in
Incoming flavour.
 
JFlavour_t out
Outcoming flavour.
 
 
 
 
◆ JOscChannel() [2/3]
Constructor. 
- Parameters
 - 
  
    | in | input flavour  | 
    | out | output flavour  | 
    | Cparity | charge parity  | 
  
   
Definition at line 130 of file JOscChannel.hh.
 
 
◆ JOscChannel() [3/3]
  
  
      
        
          | JOSCPROB::JOscChannel::JOscChannel  | 
          ( | 
          const int |           in,  | 
         
        
           | 
           | 
          const int |           out,  | 
         
        
           | 
           | 
          const int |           Cparity ) | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | in | input flavour  | 
    | out | output flavour  | 
    | Cparity | charge parity  | 
  
   
Definition at line 146 of file JOscChannel.hh.
  148                                   :
  152    {}
JChargeParity_t getChargeParity(const int pdgType)
Auxiliary function for retrieving the charge-parity of a given PDG type.
 
JFlavour_t getFlavour(const int pdgType)
Auxiliary function for retrieving the flavour corresponding to a given PDG identifier.
 
 
 
 
◆ is_valid()
  
  
      
        
          | bool JOSCPROB::JOscChannel::is_valid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Check validity of this oscillation channel. 
- Returns
 - true if this oscillation channel is valid; else false. 
 
Definition at line 160 of file JOscChannel.hh.
 
 
◆ less()
  
  
      
        
          | bool JOSCPROB::JOscChannel::less  | 
          ( | 
          const JOscChannel & |           channel | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Less-than method. 
- Parameters
 - 
  
  
 
- Returns
 - true this channel less than given channel; else false 
 
Definition at line 174 of file JOscChannel.hh.
  175    {
  176      if (this->
Cparity == channel.Cparity) {
 
  177        
  178        if (this->
in == channel.in) {
 
  179          
  180          return this->
out < channel.out;
 
  181          
  182        } else {
  183          
  184          return this->
in < channel.in;
 
  185        }
  186        
  187      } else {
  188        
  189        return this->
Cparity < channel.Cparity;
 
  190      }
  191    }    
 
 
 
◆ getEquationParameters()
Get equation parameters. 
- Returns
 - equation parameters 
 
Definition at line 231 of file JOscChannel.hh.
  232    {
  234 
  235      return equation;
  236    }
Simple data structure to support I/O of equations (see class JLANG::JEquation).
 
 
 
 
◆ setEquationParameters()
  
  
      
        
          | static void JOSCPROB::JOscChannel::setEquationParameters  | 
          ( | 
          const JEquationParameters & |           equation | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Set equation parameters. 
- Parameters
 - 
  
    | equation | equation parameters  | 
  
   
Definition at line 244 of file JOscChannel.hh.
  245    {
  247    }
static JEquationParameters & getEquationParameters()
Get equation parameters.
 
 
 
 
◆ getProperties() [1/2]
Get properties of this class. 
- Parameters
 - 
  
    | equation | equation parameters  | 
  
   
Definition at line 255 of file JOscChannel.hh.
  256    {
  257      return JOscChannelHelper(*this, equation);
  258    }
 
 
 
◆ getProperties() [2/2]
Get properties of this class. 
- Parameters
 - 
  
    | equation | equation parameters  | 
  
   
Definition at line 266 of file JOscChannel.hh.
  267    {
  268      return JOscChannelHelper(*this, equation);
  269    }
 
 
 
◆ setProperties()
  
  
      
        
          | void JOSCPROB::JOscChannel::setProperties  | 
          ( | 
          const JProperties & |           properties | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set properties of this class. 
- Parameters
 - 
  
  
 
Definition at line 277 of file JOscChannel.hh.
  278    {
  282    }
const T & getValue(const std::string &key) const
Get value.
 
 
 
 
◆ operator<<
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const JOscChannel & |           object ) | 
         
       
   | 
  
friend   | 
  
 
Write channel to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | oscillation channel  | 
  
   
- Returns
 - output stream 
 
Definition at line 201 of file JOscChannel.hh.
  202    {
  203      return out << 
object.getProperties();
 
  204    }
 
 
 
◆ operator>>
  
  
      
        
          | std::istream & operator>>  | 
          ( | 
          std::istream & |           in,  | 
         
        
           | 
           | 
          JOscChannel & |           object ) | 
         
       
   | 
  
friend   | 
  
 
Read channel from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | oscillation channel  | 
  
   
- Returns
 - input stream 
 
Definition at line 214 of file JOscChannel.hh.
  215    {
  217 
  219 
  220      object.setProperties(properties);
  221      
  223    }
Utility class to parse parameter values.
 
JProperties getProperties(const JEquationParameters &equation=JOscChannel::getEquationParameters())
Get properties of this class.
 
 
 
 
◆ in
◆ out
◆ Cparity
The documentation for this struct was generated from the following file: