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
Merge requests
!17
Weights update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Weights update
weights
into
master
Overview
0
Commits
12
Pipelines
13
Changes
1
Merged
Johannes Schumann
requested to merge
weights
into
master
3 years ago
Overview
0
Commits
12
Pipelines
13
Changes
1
Expand
0
0
Merge request reports
Viewing commit
028cc536
Prev
Next
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
028cc536
Change weight gen time to 1 sec
· 028cc536
Johannes Schumann
authored
3 years ago
km3buu/output.py
+
2
−
1
Options
@@ -49,6 +49,7 @@ FLUXDESCR_FILENAME = "neutrino_initialized_energyFlux.dat"
XSECTION_FILENAMES
=
{
"
all
"
:
"
neutrino_absorption_cross_section_ALL.dat
"
}
SECONDS_PER_YEAR
=
365.25
*
24
*
60
*
60
SECONDS_WEIGHT_TIMESPAN
=
1
PARTICLE_COLUMNS
=
[
"
E
"
,
"
Px
"
,
"
Py
"
,
"
Pz
"
,
"
barcode
"
]
EVENTINFO_COLUMNS
=
[
@@ -378,7 +379,7 @@ class GiBUUOutput:
energy_factor
=
energy_phase_space
*
inv_gen_flux
else
:
energy_factor
=
1
env_factor
=
volume
*
SECONDS_
PER_YEAR
env_factor
=
volume
*
SECONDS_
WEIGHT_TIMESPAN
retval
=
env_factor
*
solid_angle
*
energy_factor
*
xsec
*
10
**-
42
*
target_density
return
retval
Loading