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

Add SelectNthEventsProcessor #45

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Add SelectNthEventsProcessor #45

merged 1 commit into from
Jun 19, 2024

Conversation

ueinhaus
Copy link
Contributor

BEGINRELEASENOTES

  • Adds SelectNthEventsProcessor.
  • This sets its own processor ReturnValue to true or false, depending on chosen parameters, which can be used in the Marlin steering file to use a particular sub-set of a sample.
  • Via the InvertSelection parameter this can be easily inverted, which is convenient for training vs. inference of ML models.
    ENDRELEASENOTES

Copy link
Contributor

@tmadlener tmadlener left a comment

Choose a reason for hiding this comment

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

Will such a regular selection of events potentially run into any statistical issues? E.g. compared to a random sampling?

@ueinhaus
Copy link
Contributor Author

I would rather make a regular selection than make sure that a random selection is reliably repeatable. In addition, the event samples are intrinsically randomised, so it should not have an effect on the physics.

@tmadlener tmadlener merged commit 1e518b6 into iLCSoft:master Jun 19, 2024
8 checks passed
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