Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interference Crash Fix #72

Merged
merged 4 commits into from
Sep 18, 2024
Merged

Interference Crash Fix #72

merged 4 commits into from
Sep 18, 2024

Conversation

jxi24
Copy link
Collaborator

@jxi24 jxi24 commented Sep 17, 2024

Closes #71

@jxi24 jxi24 linked an issue Sep 17, 2024 that may be closed by this pull request
@jxi24 jxi24 changed the base branch from main to dev September 17, 2024 22:35
@jxi24 jxi24 requested a review from nastein September 17, 2024 22:36
@jxi24 jxi24 merged commit d4ea775 into dev Sep 18, 2024
5 checks passed
jxi24 added a commit that referenced this pull request Sep 18, 2024
* fix: The main for NuHepMC_ccputils doesn't compile

* feat: Add InspireHEP ID for intf model

* fix: Correctly select spectator particles

* fix: Have correct event history vertex count
jxi24 added a commit that referenced this pull request Sep 27, 2024
* feat(WIP): Implement pseudocode for abs

* feat: Begin refactoring for pion absorption

* fix: Rename status code

* feat: Add wrapper around Pion cascade handling

* Generate momentum and cross section now take Event and hadron indices. Also added absorption partner

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Filled in details of one step absorption model.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added Oset absorption cross section

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Update to lastest NuHepMC

* feat: Add suggested option if misspelt

* fix: Minor logic update in FindClosest

* fix: Update tests after changes to InteractionHandler

* feat: Add tests for suggestions

* fix: Make edits more expensive for suggestions

* Add start for handling different final states in abs

* fix: Resolve cascade speed bug

* refactor: Reorganize cascade interactions

* Merging speed improvements

* Fixed std::string bug

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed bug in PionInteractions, updated GenMomentum

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* PionAbsorptionOneStep now uses same gen momentum as mesonbaryoninteractions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Set nuclear radius to when rho < 1e-6, would sometimes give negative densities

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Resolve Pauli blocking bug

* Added Oset QE Interactions and fixed bugs in gen momentum for both oset QE and Abs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: Implement ClebschGordan coefficients

* fix: Update 1D integrators to Achilles namespace

* feat: Add N(1440) to particles

* feat: Implement NN<->NDelta based on GiBUU model

* Fixed bug in Adzint, use correct delta momentum in absorption xsec

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Cast to right type

* fix: Change step to be in time instead of MeV^-1

* feat: Add basic handling for decays

* feat: Add basic decays to cascade

* fix: compliation issue

* fix: Rename decays file

* feat: Add isospin to particles

* fix: Correct branching ratios and delta-

* feat: Add branching ratio lookup

* feat: Implement basic delta propagation model

NOTE: This is slow since it involves quite a few integrals. There is the
start to using some interpolation methods to speed this up in this
commit. These will be improved in the near future.

* Added separate proton and neutron densities to nucleus class

* Oset cross sections now use total density (p + n), also turned back on PB for oset abs cross section

* Make eta stable, no decay info yet

* Updated to include neutron density file

* Use delta mode to fix bug

* Remove eroneous factor of two in self energy calcs for delta prop

* Turn on PB for Oset absorption model

* Interference Crash Fix (#72)

* fix: The main for NuHepMC_ccputils doesn't compile

* feat: Add InspireHEP ID for intf model

* fix: Correctly select spectator particles

* fix: Have correct event history vertex count

* feat: Update fmt version

* fix: Ensure unstable particles are decayed

* fix: Make Particle constructor explicit

* feat: Add check is particle is delta

* feat: Add missing delta channels

* fix: Resolve initialization issues for DEintegrator

* feat: Print decay modes for debugging

* fix: Enable tests to compile

* fix: Correct Pauli blocking bug

* fix: Check if interaction is above threshold

* eta-N interactions now work with MB + PionAbsorption

* Added pi0 decay to 2gamma, and made pi0 unstable

* Updated default run card

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Resolve broken CI

---------

Co-authored-by: Noah Steinberg <nastein@umich.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

[Bug]: Code crashes for Interference Calculation
2 participants