All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 13 of file IPrediction.h.

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

Function Documentation

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

Definition at line 28 of file IPrediction.h.

29  {
30  // The default definition returns an int. We don't want that
31  return Flavors_t(int(a) | int(b));
32  }
process_name gaushit a