Skip to content

More versatile generation surfaces#25

Merged
kjmeagher merged 3 commits intomainfrom
kjm/any_pdf
Dec 5, 2023
Merged

More versatile generation surfaces#25
kjmeagher merged 3 commits intomainfrom
kjm/any_pdf

Conversation

@kjmeagher
Copy link
Member

Before this commit the generation surface was assumed to have 3
components: an event_weight a spatial pdf and an energy pdf. This mostly
worked but had some problems. There was weirdness caused by the fact
that genie doesn't store the zenith angle so it had to be faked.
This is also hindering future developement for more types of simulation.
This commit changes it so that generation surface is now an arbitrary
length sequence of pdfs, such that any amount of pdfs can be used with
any name columns.

Before this commit the generation surface was assumed to have 3
components: an event_weight a spatial pdf and an energy pdf. This mostly
worked but had some problems. There was weirdness caused by the fact
that genie doesn't store the zenith angle so it had to be faked.
This is also hindering future developement for more types of simulation.
This commit changes it so that generation surface is now an arbitrary
length sequence of pdfs, such that any amount of pdfs can be used with
any name columns.
@codecov
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (82ec3ae) 100.00% compared to head (c5d3068) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          698       739   +41     
=========================================
+ Hits           698       739   +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kjmeagher kjmeagher merged commit 1c3e313 into main Dec 5, 2023
@kjmeagher kjmeagher deleted the kjm/any_pdf branch December 5, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant