NeutronOscUtils.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::utils::neutron_osc
5 
6 \brief Utilities for simulating neutron oscillation
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created November 03, 2011
12 
13 \cpright Copyright (c) 2003-2017, GENIE Neutrino MC Generator Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _NEUTRON_OSC_UTILS_H_
20 #define _NEUTRON_OSC_UTILS_H_
21 
22 #include <string>
23 
24 #include "GHEP/GHepStatus.h"
26 #include "PDG/PDGCodeList.h"
27 
28 using std::string;
29 
30 namespace genie {
31  namespace utils {
32  namespace neutron_osc {
33 
34  string AsString (NeutronOscMode_t ndm);
35  bool IsValidMode (NeutronOscMode_t ndm);
38  GHepStatus_t DecayProductStatus (bool in_nucleus, int pdgc);
39 
40  } // neutron_osc namespace
41  } // utils namespace
42 } // genie namespace
43 
44 #endif // _NEUTRON_OSC_UTILS_H_
#include "Numerical/GSFunc.h"
Definition: AlgCmp.h:26
std::string string
Definition: nybbler.cc:12
enum genie::EGHepStatus GHepStatus_t
A list of PDG codes.
Definition: PDGCodeList.h:33
bool IsValidMode(NeutronOscMode_t ndm)
PDGCodeList DecayProductList(NeutronOscMode_t ndm)
string AsString(NeutronOscMode_t ndm)
GHepStatus_t DecayProductStatus(bool in_nucleus, int pdgc)
int AnnihilatingNucleonPdgCode(NeutronOscMode_t ndm)
Definition: utils.py:1
enum genie::ENeutronOscMode NeutronOscMode_t
Utilities for simulating neutron oscillation.