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

Make CVUniverse take parameters from json config #1

Open
hschellman opened this issue Oct 15, 2021 · 0 comments
Open

Make CVUniverse take parameters from json config #1

hschellman opened this issue Oct 15, 2021 · 0 comments
Assignees

Comments

@hschellman
Copy link
Collaborator

Some calculations in CVUniverse use parameters that are currently hardwired.
Suggest coding a way to set them analogous to the way we set.

Main program
PlotUtils::MinervaUniverse::SetAnalysisNuPDG(config["pdg"])

In MinervaUniverse:
PlotUtils/MinervaUniverse.h: static int GetAnalysisNuPDG();
PlotUtils/MinervaUniverse.h: static bool SetAnalysisNuPDG(int nu_pdg);

Look at the logic for setting and getting pdg (or other variables) and use those to set a paraemter you want.

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

No branches or pull requests

2 participants