GENIEGenerator
Loading...
Searching...
No Matches
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-2025, 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
29using std::string;
30
31namespace 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_
A list of PDG codes.
Definition PDGCodeList.h:32
GHepStatus_t DecayProductStatus(bool in_nucleus, int pdgc)
bool IsValidMode(NNBarOscMode_t ndm)
int AnnihilatingNucleonPdgCode(NNBarOscMode_t ndm)
PDGCodeList DecayProductList(NNBarOscMode_t ndm)
string AsString(NNBarOscMode_t ndm)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
enum genie::ENNBarOscMode NNBarOscMode_t
enum genie::EGHepStatus GHepStatus_t