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

breaking: Less stinky Cov Osc #273

Merged
merged 7 commits into from
Jan 7, 2025
Merged

breaking: Less stinky Cov Osc #273

merged 7 commits into from
Jan 7, 2025

Conversation

KSkwarczynski
Copy link
Member

Pull request description

Plenty of tidy to cov classes

Changes or fixes

  • With NuOsc we no longer need hacks for baseline and desnity
  • Stop with hardcoded checks for Sin for bounds, use actual base check bounds
  • We still have special tramtent from ordering so added warning if these are not defined
  • Removed some other dpecracated stuff from other covs

Examples

@KSkwarczynski KSkwarczynski self-assigned this Jan 7, 2025
@KSkwarczynski KSkwarczynski requested a review from EdAtkin as a code owner January 7, 2025 14:41
Copy link

github-actions bot commented Jan 7, 2025

Hi @KSkwarczynski, thank you for contributing to MaCh3! Please wait for MaCh3 developers to review your PR. If no one answers within a week, please message people from this list: https://github.com/orgs/mach3-software/teams/mach3admin . While waiting, please enjoy this

meme

Use this action on your projects. Use jokes on issues instead.

@github-actions github-actions bot added Plotting plotting related Nu Osc/Xsec Related with neutrino interactions or oscialtions labels Jan 7, 2025
Copy link
Contributor

@ewanwm ewanwm left a comment

Choose a reason for hiding this comment

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

Very minor comments but looks good

@@ -32,7 +32,6 @@ class covarianceBase {
/// @brief Destructor
virtual ~covarianceBase();

// Setters
Copy link
Contributor

Choose a reason for hiding this comment

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

A truly next level nit-pick, but could do a \defgroup Setters here to group the setters and keep the doxygen a little bit tidier https://www.doxygen.nl/manual/grouping.html

@@ -103,7 +106,7 @@ class covarianceBase {
void RandomConfiguration();

/// @brief Check if parameters were proposed outside physical boundary
virtual int CheckBounds();
int CheckBounds();
Copy link
Contributor

Choose a reason for hiding this comment

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

could make this function const?

Comment on lines 317 to 322
void printNominal();
/// @brief Print prior, current and proposed value for each parameter
void printNominalCurrProp();
void printPars();
/// @warning only for backward compatibility
/// @todo remove it
void printPars() {printNominalCurrProp();};
Copy link
Contributor

Choose a reason for hiding this comment

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

These seem const-able too

@KSkwarczynski KSkwarczynski merged commit a76f19a into develop Jan 7, 2025
15 checks passed
@KSkwarczynski KSkwarczynski deleted the feature_CovOscTidy branch January 7, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nu Osc/Xsec Related with neutrino interactions or oscialtions Plotting plotting related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants