Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3BUU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simulation
KM3BUU
Commits
b3d25b32
Commit
b3d25b32
authored
3 years ago
by
Johannes Schumann
Browse files
Options
Downloads
Patches
Plain Diff
Add a conversion dict from GiBUU to GENIE
parent
14fd9301
No related branches found
No related tags found
1 merge request
!19
Resolve "ICHAN type"
Pipeline
#24576
passed with warnings
3 years ago
Stage: test
Stage: coverage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
km3buu/output.py
+41
-1
41 additions, 1 deletion
km3buu/output.py
with
41 additions
and
1 deletion
km3buu/output.py
+
41
−
1
View file @
b3d25b32
...
...
@@ -79,7 +79,7 @@ FLUX_INFORMATION_DTYPE = np.dtype([("energy", np.float64),
(
"
flux
"
,
np
.
float64
),
(
"
events
"
,
np
.
float64
)])
EVENT
_TYPE
=
{
SCATTERING
_TYPE
=
{
1
:
"
QE
"
,
2
:
"
P33(1232)
"
,
3
:
"
P11(1440)
"
,
...
...
@@ -119,6 +119,46 @@ EVENT_TYPE = {
37
:
"
2pi background
"
,
}
SCATTERING_TYPE_TO_GENIE
=
{
1
:
1
,
# QE -> kScQuasiElastic
2
:
4
,
# P33(1232) -> kScResonant
3
:
4
,
# P11(1440) -> kScResonant
4
:
4
,
# S11(1535) -> kScResonant
5
:
4
,
# S11(1650) -> kScResonant
6
:
4
,
# S11(2090) -> kScResonant
7
:
4
,
# D13(1520) -> kScResonant
8
:
4
,
# D13(1700) -> kScResonant
9
:
4
,
# D13(2080) -> kScResonant
10
:
4
,
# D15(1675) -> kScResonant
11
:
4
,
# G17(2190) -> kScResonant
12
:
4
,
# P11(1710) -> kScResonant
13
:
4
,
# P11(2100) -> kScResonant
14
:
4
,
# P13(1720) -> kScResonant
15
:
4
,
# P13(1900) -> kScResonant
16
:
4
,
# F15(1680) -> kScResonant
17
:
4
,
# F15(2000) -> kScResonant
18
:
4
,
# F17(1990) -> kScResonant
19
:
4
,
# S31(1620) -> kScResonant
20
:
4
,
# S31(1900) -> kScResonant
21
:
4
,
# D33(1700) -> kScResonant
22
:
4
,
# D33(1940) -> kScResonant
23
:
4
,
# D35(1930) -> kScResonant
24
:
4
,
# D35(2350) -> kScResonant
25
:
4
,
# P31(1750) -> kScResonant
26
:
4
,
# P31(1910) -> kScResonant
27
:
4
,
# P33(1600) -> kScResonant
28
:
4
,
# P33(1920) -> kScResonant
29
:
4
,
# F35(1750) -> kScResonant
30
:
4
,
# F35(1905) -> kScResonant
31
:
4
,
# F37(1950) -> kScResonant
32
:
0
,
# pi neutron-background -> kScNull
33
:
0
,
# pi proton-background -> kScNull
34
:
3
,
# DIS -> kScDeepInelastic
35
:
0
,
# 2p2h QE -> kScNull
36
:
0
,
# 2p2h Delta -> kScNull
37
:
0
,
# 2pi background -> kScNull
}
ROOTTUPLE_KEY
=
"
RootTuple
"
EMPTY_KM3NET_HEADER_DICT
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment