Skip to content

Sequential Mixing Update#50

Merged
brownd1978 merged 2 commits into
Mu2e:masterfrom
AndrewEdmonds11:sequential-mixing
Nov 12, 2019
Merged

Sequential Mixing Update#50
brownd1978 merged 2 commits into
Mu2e:masterfrom
AndrewEdmonds11:sequential-mixing

Conversation

@AndrewEdmonds11

Copy link
Copy Markdown
Contributor

I've updated the sequential mixing code so that it will skip a number of background events between 0 and skipFactormeanEventsPBI, rather than between two user-defined fcl parameters. skipFactor is a new fcl parameter that defaults to 1. These changes mean that the skipping will work (i.e. not throw an exception) for all background frames.

I've also double-checked that a background frame with a single file will skip a different number of background events when it wraps around to the beginning again.

@brownd1978 brownd1978 requested a review from gaponenko November 11, 2019 22:02
@brownd1978 brownd1978 self-assigned this Nov 11, 2019
int totalBkgCount_;
int minSkip_;
int maxSkip_;
int skipFactor_;

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.

Why is this an integer and not a real number? Perhaps I do not quite get the "philosophical" meaning of this factor. I understand the technical meaning and see that it is multiplied with real numbers in its use.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was just thinking of it as the number of mean microbunches you want to be able to skip in the background frame. I'm happy to change it to a real number or find a better name :)

@gaponenko

gaponenko commented Nov 12, 2019 via email

Copy link
Copy Markdown
Contributor

@AndrewEdmonds11

Copy link
Copy Markdown
Contributor Author

Done :)

@gaponenko gaponenko 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.

Thanks!

@brownd1978 brownd1978 merged commit 8a79125 into Mu2e:master Nov 12, 2019
@AndrewEdmonds11 AndrewEdmonds11 deleted the sequential-mixing branch June 18, 2021 13:53
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