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.
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.
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.
178 if (this->
in == channel.
in) {
180 return this->
out < channel.
out;
184 return this->
in < channel.
in;
◆ getEquationParameters()
Get equation parameters.
- Returns
- equation parameters
Definition at line 231 of file JOscChannel.hh.
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.
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.
257 return JOscChannelHelper(*
this, equation);
◆ getProperties() [2/2]
Get properties of this class.
- Parameters
-
equation | equation parameters |
Definition at line 266 of file JOscChannel.hh.
268 return JOscChannelHelper(*
this, equation);
◆ setProperties()
void JOSCPROB::JOscChannel::setProperties |
( |
const JProperties & |
properties | ) |
|
|
inline |
Set properties of this class.
- Parameters
-
Definition at line 277 of file JOscChannel.hh.
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.
203 return out <<
object.getProperties();
◆ 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.
220 object.setProperties(properties);
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: