Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
GHEP
GHepStatus.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::GHepStatus
5
6
\brief GHepParticle Status
7
8
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9
University of Liverpool & STFC Rutherford Appleton Laboratory
10
11
\created November 20, 2004
12
13
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
14
For the full text of the license visit http://copyright.genie-mc.org
15
*/
16
//____________________________________________________________________________
17
18
#ifndef _STDHEP_STATUS_H_
19
#define _STDHEP_STATUS_H_
20
21
#ifndef ROOT_Rtypes
22
#include "Rtypes.h"
23
#endif
24
25
namespace
genie
{
26
27
typedef
enum
EGHepStatus
{
28
kIStUndefined
= -1,
29
kIStInitialState
= 0,
/* generator-level initial state */
30
kIStStableFinalState
= 1,
/* generator-level final state: particles to be tracked by detector-level MC */
31
kIStIntermediateState
= 2,
32
kIStDecayedState
= 3,
33
kIStCorrelatedNucleon
= 10,
34
kIStNucleonTarget
= 11,
35
kIStDISPreFragmHadronicState
= 12,
36
kIStPreDecayResonantState
= 13,
37
kIStHadronInTheNucleus
= 14,
/* hadrons inside the nucleus: marked for hadron transport modules to act on */
38
kIStFinalStateNuclearRemnant
= 15,
/* low energy nuclear fragments entering the record collectively as a 'hadronic blob' pseudo-particle */
39
kIStNucleonClusterTarget
= 16
// for composite nucleons before phase space decay
40
}
41
GHepStatus_t
;
42
43
class
GHepStatus
{
44
public
:
45
46
static
const
char
*
AsString
(
GHepStatus_t
Ist) {
47
switch
(Ist) {
48
case
kIStUndefined
:
49
return
"[undefined status]"
;
50
break
;
51
case
kIStInitialState
:
52
return
"[initial state]"
;
53
break
;
54
case
kIStStableFinalState
:
55
return
"[stable final state]"
;
56
break
;
57
case
kIStIntermediateState
:
58
return
"[intermediate state]"
;
59
break
;
60
case
kIStDecayedState
:
61
return
"[decayed state]"
;
62
break
;
63
case
kIStCorrelatedNucleon
:
64
return
"[other energetic initial state nucleons]"
;
65
break
;
66
case
kIStNucleonTarget
:
67
return
"[nucleon target]"
;
68
break
;
69
case
kIStDISPreFragmHadronicState
:
70
return
"[DIS pre-fragm. hadronic state]"
;
71
break
;
72
case
kIStPreDecayResonantState
:
73
return
"[resonant pre-decayed state]"
;
74
break
;
75
case
kIStHadronInTheNucleus
:
76
return
"[hadron in the nucleus]"
;
77
break
;
78
case
kIStFinalStateNuclearRemnant
:
79
return
"[nuclear remnant]"
;
80
break
;
81
case
kIStNucleonClusterTarget
:
82
return
"[nucleon cluster target]"
;
83
break
;
84
default
:
break
;
85
}
86
return
"[-]"
;
87
}
88
};
89
90
}
// genie
91
#endif // _STDHEP_STATUS_H_
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::kIStNucleonTarget
Definition:
GHepStatus.h:34
genie::GHepStatus
GHepParticle Status.
Definition:
GHepStatus.h:43
genie::GHepStatus::AsString
static const char * AsString(GHepStatus_t Ist)
Definition:
GHepStatus.h:46
genie::kIStDISPreFragmHadronicState
Definition:
GHepStatus.h:35
genie::kIStInitialState
Definition:
GHepStatus.h:29
genie::kIStFinalStateNuclearRemnant
Definition:
GHepStatus.h:38
genie::kIStCorrelatedNucleon
Definition:
GHepStatus.h:33
genie::kIStNucleonClusterTarget
Definition:
GHepStatus.h:39
genie::kIStStableFinalState
Definition:
GHepStatus.h:30
genie::kIStIntermediateState
Definition:
GHepStatus.h:31
genie::kIStHadronInTheNucleus
Definition:
GHepStatus.h:37
genie::kIStPreDecayResonantState
Definition:
GHepStatus.h:36
genie::kIStDecayedState
Definition:
GHepStatus.h:32
genie::EGHepStatus
EGHepStatus
Definition:
GHepStatus.h:27
genie::GHepStatus_t
enum genie::EGHepStatus GHepStatus_t
genie::kIStUndefined
Definition:
GHepStatus.h:28
Generated by
1.8.11