GENIEGenerator
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Framework
Interaction
ScatteringType.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::ScatteringType
5
6
\brief Enumeration of scattering types
7
8
\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9
University of Liverpool
10
11
Changes required to implement the GENIE Boosted Dark Matter module
12
were installed by Josh Berger (Univ. of Wisconsin)
13
14
\created May 06, 2004
15
16
\cpright Copyright (c) 2003-2024, The GENIE Collaboration
17
For the full text of the license visit http://copyright.genie-mc.org
18
*/
19
//____________________________________________________________________________
20
21
#ifndef _SCATTERING_TYPE_H_
22
#define _SCATTERING_TYPE_H_
23
24
#include <cassert>
25
#include <string>
26
27
using
std::string;
28
29
namespace
genie {
30
31
// Note: please attach new _neutrino_ scattering modes to the _end_ of the
32
// list of neutrino enums, and new dark matter modes to the end of the list
33
// of dark matter enums, etc. If adding an entirely new set of enums, please
34
// append to the end of the total list and set a new enum counter value.
35
typedef
enum
EScatteringType
{
36
37
kScUnknown
= -100,
38
kScNull
= 0,
39
kScQuasiElastic
,
40
kScSingleKaon
,
41
kScDeepInelastic
,
42
kScResonant
,
43
kScCoherentProduction
,
44
kScDiffractive
,
45
kScNuElectronElastic
,
46
kScInverseMuDecay
,
47
kScAMNuGamma
,
48
kScMEC
,
49
kScCoherentElastic
,
50
kScInverseBetaDecay
,
51
kScGlashowResonance
,
52
kScIMDAnnihilation
,
53
kScPhotonCoherent
,
54
kScPhotonResonance
,
55
kScSinglePion
,
56
kScDarkMatterElastic
= 101,
57
kScDarkMatterDeepInelastic
,
58
kScDarkMatterElectron
,
59
kScNorm
60
}
ScatteringType_t
;
61
62
class
ScatteringType
63
{
64
public
:
65
66
//__________________________________________________________________________
67
static
string
AsString
(
ScatteringType_t
type)
68
{
69
switch
(type) {
70
case
(
kScUnknown
) :
return
"Uknown to GENIE"
;
break
;
71
case
(
kScQuasiElastic
) :
return
"QES"
;
break
;
72
case
(
kScSingleKaon
) :
return
"1Kaon"
;
break
;
73
case
(
kScDeepInelastic
) :
return
"DIS"
;
break
;
74
case
(
kScResonant
) :
return
"RES"
;
break
;
75
case
(
kScCoherentProduction
) :
return
"COH"
;
break
;
76
case
(
kScDiffractive
) :
return
"DFR"
;
break
;
77
case
(
kScNuElectronElastic
) :
return
"NuEEL"
;
break
;
78
case
(
kScInverseMuDecay
) :
return
"IMD"
;
break
;
79
case
(
kScAMNuGamma
) :
return
"AMNuGamma"
;
break
;
80
case
(
kScMEC
) :
return
"MEC"
;
break
;
81
case
(
kScCoherentElastic
) :
return
"CEvNS"
;
break
;
82
case
(
kScInverseBetaDecay
) :
return
"IBD"
;
break
;
83
case
(
kScGlashowResonance
) :
return
"GLR"
;
break
;
84
case
(
kScIMDAnnihilation
) :
return
"IMDAnh"
;
break
;
85
case
(
kScNorm
) :
return
"Norm"
;
break
;
86
case
(
kScPhotonCoherent
) :
return
"PhotonCOH"
;
break
;
87
case
(
kScPhotonResonance
) :
return
"PhotonRES"
;
break
;
88
case
(
kScSinglePion
) :
return
"1Pion"
;
break
;
89
case
(
kScDarkMatterElastic
) :
return
"DMEL"
;
break
;
90
case
(
kScDarkMatterDeepInelastic
) :
return
"DMDIS"
;
break
;
91
case
(
kScDarkMatterElectron
) :
return
"DME"
;
break
;
92
default
:
return
"Unknown"
;
break
;
93
}
94
return
"Unknown"
;
95
}
96
//__________________________________________________________________________
97
};
98
99
}
// genie namespace
100
101
#endif // _SCATTERING_TYPE_H_
genie::kScNorm
Definition:
ScatteringType.h:59
genie::kScNuElectronElastic
Definition:
ScatteringType.h:45
genie::kScDarkMatterElectron
Definition:
ScatteringType.h:58
genie::kScSinglePion
Definition:
ScatteringType.h:55
genie::ScatteringType
Enumeration of scattering types.
Definition:
ScatteringType.h:62
genie::kScInverseBetaDecay
Definition:
ScatteringType.h:50
genie::kScDarkMatterElastic
Definition:
ScatteringType.h:56
genie::kScGlashowResonance
Definition:
ScatteringType.h:51
genie::kScCoherentElastic
Definition:
ScatteringType.h:49
genie::kScMEC
Definition:
ScatteringType.h:48
genie::kScDeepInelastic
Definition:
ScatteringType.h:41
genie::kScCoherentProduction
Definition:
ScatteringType.h:43
genie::kScUnknown
Definition:
ScatteringType.h:37
genie::ScatteringType::AsString
static string AsString(ScatteringType_t type)
Definition:
ScatteringType.h:67
genie::EScatteringType
EScatteringType
Definition:
ScatteringType.h:35
genie::kScPhotonResonance
Definition:
ScatteringType.h:54
genie::kScDarkMatterDeepInelastic
Definition:
ScatteringType.h:57
genie::ScatteringType_t
enum genie::EScatteringType ScatteringType_t
genie::kScInverseMuDecay
Definition:
ScatteringType.h:46
genie::kScDiffractive
Definition:
ScatteringType.h:44
genie::kScIMDAnnihilation
Definition:
ScatteringType.h:52
genie::kScAMNuGamma
Definition:
ScatteringType.h:47
genie::kScNull
Definition:
ScatteringType.h:38
genie::kScResonant
Definition:
ScatteringType.h:42
genie::kScQuasiElastic
Definition:
ScatteringType.h:39
genie::kScPhotonCoherent
Definition:
ScatteringType.h:53
genie::kScSingleKaon
Definition:
ScatteringType.h:40
Generated on Wed Jul 17 2024 14:46:45 for GENIEGenerator by
1.8.5