Enumerations | Functions
ana::Flavors Namespace Reference

Enumeration of neutrino transition modes. More...

Enumerations

enum  Flavors_t {
  kNuEToNuE = 1<<0, kNuEToNuMu = 1<<1, kNuEToNuTau = 1<<2, kNuMuToNuE = 1<<3,
  kNuMuToNuMu = 1<<4, kNuMuToNuTau = 1<<5, kAllNuE = kNuEToNuE | kNuMuToNuE, kAllNuMu = kNuEToNuMu | kNuMuToNuMu,
  kAllNuTau = kNuEToNuTau | kNuMuToNuTau, kAll = kAllNuE | kAllNuMu | kAllNuTau
}
 

Functions

Flavors_t operator| (Flavors_t a, Flavors_t b)
 

Detailed Description

Enumeration of neutrino transition modes.

Enumeration Type Documentation

Enumerator
kNuEToNuE 

$\nu_e\to\nu_e$ ('beam $\nu_e $')

kNuEToNuMu 

$\nu_e\to\nu_\mu$ (' $\nu_\mu$ appearance')

kNuEToNuTau 

$\nu_e\to\nu_\tau$

kNuMuToNuE 

$\nu_\mu\to\nu_e$ (' $\nu_e$ appearance')

kNuMuToNuMu 

$\nu_\mu\to\nu_\mu$ (' $\nu_\mu$ survival')

kNuMuToNuTau 

$\nu_\mu\to\nu_\tau$

kAllNuE 

All $\nu_e$.

kAllNuMu 

All $\nu_\mu$.

kAllNuTau 

All $\nu_\tau$.

kAll 

All neutrinos, any flavor.

Definition at line 14 of file IPrediction.h.

14  {
15  kNuEToNuE = 1<<0, ///< \f$\nu_e\to\nu_e\f$ ('beam \f$\nu_e \f$')
16  kNuEToNuMu = 1<<1, ///< \f$\nu_e\to\nu_\mu\f$ ('\f$\nu_\mu\f$ appearance')
17  kNuEToNuTau = 1<<2, ///< \f$\nu_e\to\nu_\tau\f$
18  kNuMuToNuE = 1<<3, ///< \f$\nu_\mu\to\nu_e\f$ ('\f$\nu_e\f$ appearance')
19  kNuMuToNuMu = 1<<4, ///< \f$\nu_\mu\to\nu_\mu\f$ ('\f$\nu_\mu\f$ survival')
20  kNuMuToNuTau = 1<<5, ///< \f$\nu_\mu\to\nu_\tau\f$
21 
22  kAllNuE = kNuEToNuE | kNuMuToNuE, ///< All \f$\nu_e\f$
23  kAllNuMu = kNuEToNuMu | kNuMuToNuMu, ///< All \f$\nu_\mu\f$
24  kAllNuTau = kNuEToNuTau | kNuMuToNuTau, ///< All \f$\nu_\tau\f$
25 
26  kAll = kAllNuE | kAllNuMu | kAllNuTau ///< All neutrinos, any flavor
27  };
(&#39; appearance&#39;)
Definition: IPrediction.h:18
(&#39;beam &#39;)
Definition: IPrediction.h:15
(&#39; survival&#39;)
Definition: IPrediction.h:19
All neutrinos, any flavor.
Definition: IPrediction.h:26
(&#39; appearance&#39;)
Definition: IPrediction.h:16

Function Documentation

Flavors_t ana::Flavors::operator| ( Flavors_t  a,
Flavors_t  b 
)
inline

Definition at line 29 of file IPrediction.h.

30  {
31  // The default definition returns an int. We don't want that
32  return Flavors_t(int(a) | int(b));
33  }
const double a
const hit & b
Definition: hits.cxx:21