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

Patch: Adding horn current and nupdg to cov yaml files #48

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

hank-hua
Copy link
Contributor

Pull request description:

Adding horn current and nupdg info to xsec yaml files and modified xml2yaml.py.

Changes or fixes:

  • Modified xml2yaml.py to account for horn current and nupdg.
  • Added the xml file used for TDR studies and the converted tdr_covs_grouped.yaml. I manually added ParameterGroup info to the yaml file.
  • Added a script to split tdr_covs_grouped.yaml to various combinations of [ND, FD, ND+FD] and [Flux, Xsec, DetSys]. The location of the script might be better moved to /utils.
  • Added flux yaml files used for adaptive MCMC studies.

… to convert xml files properly. Added cov xml file used by Liban. Added a python script to split the cov yaml files by parameter groups and detectors.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This is your first PR, thank you for contributing to MaCh3 DUNE!

Copy link
Member

@dbarrow257 dbarrow257 left a comment

Choose a reason for hiding this comment

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

LGTM - Just a couple of file moves.

Shouldn't

XsecCovFile: ["configs/CovObjs/xsec_covariance_DUNE_systs_2022a_FD_v3_xsec.yaml"]
be updated to point at the corrected YAML file?

Copy link
Member

Choose a reason for hiding this comment

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

Could you move this to utils/xsecMatrixMaker to avoid cluttering the configs directory with scripts

Copy link
Member

Choose a reason for hiding this comment

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

Should this be moved under tdr_covs?

…ify input file and output folder; edited xsec cov file specified in EventRates_Beam.yaml and changed global step scale to match TDR value.
Copy link
Member

@dbarrow257 dbarrow257 left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks for the fix

@dbarrow257 dbarrow257 merged commit 53b4f5c into develop Feb 19, 2025
3 checks passed
@dbarrow257 dbarrow257 deleted the hhua/feature/tdr_yaml branch February 19, 2025 17:11
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.

2 participants