GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NNBarOscUtils.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 Jeremy Hewes, Georgia Karagiorgi
9  University of Manchester
10 
11  Adapted from the NucleonDecay package (Author: Costas Andreopoulos).
12 
13 \created November, 2016
14 
15 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
16  For the full text of the license visit http://copyright.genie-mc.org
17 */
18 //____________________________________________________________________________
19 
20 #ifndef _NNBAR_OSC_UTILS_H_
21 #define _NNBAR_OSC_UTILS_H_
22 
23 #include <string>
24 
28 
29 using std::string;
30 
31 namespace genie {
32  namespace utils {
33  namespace nnbar_osc {
34 
35  string AsString (NNBarOscMode_t ndm);
36  bool IsValidMode (NNBarOscMode_t ndm);
39  GHepStatus_t DecayProductStatus (bool in_nucleus, int pdgc);
40 
41  } // nnbar_osc namespace
42  } // utils namespace
43 } // genie namespace
44 
45 #endif // _NNBAR_OSC_UTILS_H_
int AnnihilatingNucleonPdgCode(NNBarOscMode_t ndm)
GHepStatus_t DecayProductStatus(bool in_nucleus, int pdgc)
A list of PDG codes.
Definition: PDGCodeList.h:32
enum genie::ENNBarOscMode NNBarOscMode_t
string AsString(NNBarOscMode_t ndm)
PDGCodeList DecayProductList(NNBarOscMode_t ndm)
bool IsValidMode(NNBarOscMode_t ndm)
enum genie::EGHepStatus GHepStatus_t