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

Event filtering algorithm #24

Merged
merged 6 commits into from
Feb 22, 2024
Merged

Event filtering algorithm #24

merged 6 commits into from
Feb 22, 2024

Conversation

kjvbrt
Copy link
Contributor

@kjvbrt kjvbrt commented Nov 24, 2023

The algorithm should be able to filter out events based on the rules provided by the user.

Skipping of the event is done by firing AbortEvent incident.

Also adding setting of the endpoint in HepMCToEDMConverter.

@kjvbrt kjvbrt changed the title [WIP] Event filtering algorithm Event filtering algorithm Nov 29, 2023
@tmadlener
Copy link
Contributor

How much more work would it be to implement this as a Gaudi::Functional Filter? Because we will probably have to go to that in any case rather soon, I suppose.

@jmcarcell
Copy link
Contributor

This is an example of a filter: https://gitlab.cern.ch/gaudi/Gaudi/-/blob/master/GaudiExamples/src/FunctionalAlgorithms/Prescaler.cpp#L1
In any case Gaudi::Algorithm is not deprecated and the changes are mostly to change GaudiAlg to Gaudi::Algorithm and it will be compatible, but GaudiAlg will be removed at some point

@kjvbrt
Copy link
Contributor Author

kjvbrt commented Feb 22, 2024

Converting at least to the Gaudi::Algorithm.

@BrieucF BrieucF merged commit 5a27107 into HEP-FCC:main Feb 22, 2024
6 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.

4 participants