Skip to content

Small tweaks to prepare BY2021 updates for merging - #509

Merged
sjgardiner merged 2 commits into
GENIE-MC:develop/BYUpdate2021from
sjgardiner:gardiner/BY2021-tweaks
Jul 22, 2026
Merged

Small tweaks to prepare BY2021 updates for merging#509
sjgardiner merged 2 commits into
GENIE-MC:develop/BYUpdate2021from
sjgardiner:gardiner/BY2021-tweaks

Conversation

@sjgardiner

Copy link
Copy Markdown
Member

I resolved a few merge conflicts and removed some trivial, unneeded changes. I also moved the DISNuclearModelI class and its derived classes into a new area (Physics/DeepInelastic/NuclearModel) to avoid confusion with the existing nuclear models (that play a different role) in Physics/NuclearState.

@sjgardiner sjgardiner self-assigned this Jul 14, 2026
@jtenavidal

jtenavidal commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Can you confirm that we have not yet moved to pythia8 in the latest version and that is why we need to change the xml files to pythia6?

The current installation we have is with pythia8, so we need to re-change this locally. Freddy noticed the installation with pythia6 is now rather complicated with the latest root versions available.

@sjgardiner

Copy link
Copy Markdown
Member Author

@jtenavidal We haven't yet switched to Pythia 8 as default on the master branch. We have an active PR #430 that makes the change. I removed the references to Pythia 8 here to avoid merge conflicts with #430, which is more complete. For testing, I recommend checking out a local copy of master, merging the branch from #430 into it (https://github.com/nusense/Generator/tree/rhatcher/pythia8_xml_config_update), and then merging this branch (https://github.com/sjgardiner/Generator/tree/gardiner/BY2021-tweaks) on top of it. This avoids any merge conflicts when I tried it on my system, and the Pythia 8 changes seemed to work fine.

@jtenavidal

Copy link
Copy Markdown
Contributor

@sjgardiner The changes look good. We managed to compile with Pythia 8 following your instructions.

<param type="alg" name="XSecModel@genie::EventGenerator/DIS-CC"> genie::KNOTunedQPMDISPXSec/BY2021 </param>
<param type="alg" name="XSecModel@genie::EventGenerator/DIS-NC"> genie::KNOTunedQPMDISPXSec/BY2021 </param>
<param type="alg" name="XSecModel@genie::EventGenerator/DIS-EM"> genie::KNOTunedQPMDISPXSec/BY2021 </param>
-->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep the comment here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I've restored this comment and updated the PR.

@AndersenFred AndersenFred left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please keep our change to the ModelConfiguration?

conflicts with code already committed to the master branch. This is
intended as minor cleanup for getting the BY2021 updates ready for merging
ahead of tagging Generator v3.8.
…area

Physics/DeepInelastic/NuclearModel. This change is intended to prevent
confusion between code that manages initial-state nucleon kinematic
distributions (stored in Physics/NuclearState) and code that provides
nuclear corrections to DIS cross sections (stored in
Physics/DeepInelastic/NuclearModel).
@sjgardiner
sjgardiner force-pushed the gardiner/BY2021-tweaks branch from c897d9f to d2eecaa Compare July 22, 2026 14:06
@sjgardiner

Copy link
Copy Markdown
Member Author

Done. I've restored the comment and will merge my PR into yours now. Thanks!

@sjgardiner
sjgardiner merged commit ef121ca into GENIE-MC:develop/BYUpdate2021 Jul 22, 2026
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.

3 participants