Jpp
16.0.1
the software that should make you happy
|
Neutrino oscillation channel. More...
#include <JOscChannel.hh>
Classes | |
struct | JOscChannelHelper |
Auxiliary class for I/O of oscillation channel. More... | |
Public Types | |
enum | JFlavour_t { ELECTRON = 12, MUON = 14, TAU = 16, FLAVOUR_UNDEFINED = 0 } |
Neutrino flavours. More... | |
enum | JChargeParity_t { ANTIPARTICLE = -1, PARTICLE = +1, CPARITY_UNDEFINED = 0 } |
Charge parities. More... | |
Public Member Functions | |
JOscChannel () | |
Default constructor. More... | |
JOscChannel (const JFlavour_t in, const JFlavour_t out, const JChargeParity_t Cparity) | |
Constructor. More... | |
bool | less (const JOscChannel &channel) const |
Less-than method. More... | |
JProperties | getProperties (const JEquationParameters &equation=JOscChannel::getEquationParameters()) |
Get properties of this class. More... | |
JProperties | getProperties (const JEquationParameters &equation=JOscChannel::getEquationParameters()) const |
Get properties of this class. More... | |
void | setProperties (const JProperties &properties) |
Set properties of this class. More... | |
Static Public Member Functions | |
static JFlavour_t | getFlavour (const int pdgID) |
Get flavour of neutrino. More... | |
static JFlavour_t | getFlavour (const Trk &neutrino) |
Get flavour of neutrino. More... | |
static JChargeParity_t | getChargeParity (const int Cparity) |
Get charge-parity of given neutrino. More... | |
static JChargeParity_t | getChargeParity (const Trk &neutrino) |
Get charge-parity of given neutrino. More... | |
static int | getIncomingNeutrinoType (const JOscChannel &channel) |
Auxiliary function to retrieve incoming neutrino PDG type. More... | |
static int | getOutgoingNeutrinoType (const JOscChannel &channel) |
Auxiliary function to retrieve outgoing neutrino PDG type. More... | |
static JEquationParameters & | getEquationParameters () |
Get equation parameters. More... | |
static void | setEquationParameters (const JEquationParameters &equation) |
Set equation parameters. More... | |
Public Attributes | |
JFlavour_t | in |
Incoming flavour. More... | |
JFlavour_t | out |
Outcoming flavour. More... | |
JChargeParity_t | Cparity |
Charge-parity. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const JOscChannel &object) |
Write channel to output. More... | |
std::istream & | operator>> (std::istream &in, JOscChannel &object) |
Read channel from input. More... | |
Neutrino oscillation channel.
Definition at line 29 of file JOscChannel.hh.
Neutrino flavours.
Enumerator | |
---|---|
ELECTRON | |
MUON | |
TAU | |
FLAVOUR_UNDEFINED |
Definition at line 35 of file JOscChannel.hh.
Charge parities.
Enumerator | |
---|---|
ANTIPARTICLE | |
PARTICLE | |
CPARITY_UNDEFINED |
Definition at line 43 of file JOscChannel.hh.
|
inline |
|
inline |
Constructor.
in | input flavour |
out | output flavour |
Cparity | charge parity |
Definition at line 65 of file JOscChannel.hh.
|
inline |
Less-than method.
channel | channel |
Definition at line 80 of file JOscChannel.hh.
|
inlinestatic |
Get flavour of neutrino.
pdgID | PDG identifier |
Definition at line 139 of file JOscChannel.hh.
|
inlinestatic |
Get flavour of neutrino.
neutrino | neutrino track |
Definition at line 161 of file JOscChannel.hh.
|
inlinestatic |
Get charge-parity of given neutrino.
Cparity | charge parity (1 for neutrinos; -1 for anti-neutrinos) |
Definition at line 173 of file JOscChannel.hh.
|
inlinestatic |
Get charge-parity of given neutrino.
neutrino | neutrino track |
Definition at line 192 of file JOscChannel.hh.
|
inlinestatic |
Auxiliary function to retrieve incoming neutrino PDG type.
channel | oscillation channel |
Definition at line 204 of file JOscChannel.hh.
|
inlinestatic |
Auxiliary function to retrieve outgoing neutrino PDG type.
channel | oscillation channel |
Definition at line 225 of file JOscChannel.hh.
|
inlinestatic |
Get equation parameters.
Definition at line 245 of file JOscChannel.hh.
|
inlinestatic |
Set equation parameters.
equation | equation parameters |
Definition at line 258 of file JOscChannel.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 269 of file JOscChannel.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 280 of file JOscChannel.hh.
|
inline |
Set properties of this class.
properties | properties |
Definition at line 291 of file JOscChannel.hh.
|
friend |
Write channel to output.
out | output stream |
object | oscillation channel |
Definition at line 107 of file JOscChannel.hh.
|
friend |
Read channel from input.
in | input stream |
object | oscillation channel |
Definition at line 120 of file JOscChannel.hh.
JFlavour_t JOSCPROB::JOscChannel::in |
Incoming flavour.
Definition at line 299 of file JOscChannel.hh.
JFlavour_t JOSCPROB::JOscChannel::out |
Outcoming flavour.
Definition at line 300 of file JOscChannel.hh.
JChargeParity_t JOSCPROB::JOscChannel::Cparity |
Charge-parity.
Definition at line 301 of file JOscChannel.hh.