GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created November 20, 2004
12
13\cpright Copyright (c) 2003-2025, 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
25namespace genie {
26
27typedef enum EGHepStatus {
29 kIStInitialState = 0, /* generator-level initial state */
30 kIStStableFinalState = 1, /* generator-level final state: particles to be tracked by detector-level MC */
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}
42
44 public:
45
46 static const char * AsString(GHepStatus_t Ist) {
47 switch (Ist) {
48 case kIStUndefined:
49 return "[undefined status]";
50 break;
52 return "[initial state]";
53 break;
55 return "[stable final state]";
56 break;
58 return "[intermediate state]";
59 break;
61 return "[decayed state]";
62 break;
64 return "[other energetic initial state nucleons]";
65 break;
67 return "[nucleon target]";
68 break;
70 return "[DIS pre-fragm. hadronic state]";
71 break;
73 return "[resonant pre-decayed state]";
74 break;
76 return "[hadron in the nucleus]";
77 break;
79 return "[nuclear remnant]";
80 break;
82 return "[nucleon cluster target]";
83 break;
84 default: break;
85 }
86 return "[-]";
87 }
88};
89
90} // genie
91#endif // _STDHEP_STATUS_H_
GHepParticle Status.
Definition GHepStatus.h:43
static const char * AsString(GHepStatus_t Ist)
Definition GHepStatus.h:46
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
EGHepStatus
Definition GHepStatus.h:27
@ kIStIntermediateState
Definition GHepStatus.h:31
@ kIStCorrelatedNucleon
Definition GHepStatus.h:33
@ kIStHadronInTheNucleus
Definition GHepStatus.h:37
@ kIStFinalStateNuclearRemnant
Definition GHepStatus.h:38
@ kIStDISPreFragmHadronicState
Definition GHepStatus.h:35
@ kIStStableFinalState
Definition GHepStatus.h:30
@ kIStDecayedState
Definition GHepStatus.h:32
@ kIStInitialState
Definition GHepStatus.h:29
@ kIStPreDecayResonantState
Definition GHepStatus.h:36
@ kIStNucleonTarget
Definition GHepStatus.h:34
@ kIStNucleonClusterTarget
Definition GHepStatus.h:39
@ kIStUndefined
Definition GHepStatus.h:28
enum genie::EGHepStatus GHepStatus_t