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

Allow Event-based Input Skim with das-up-to-nevents.py #131

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

AdrianoDee
Copy link
Contributor

With cms-sw/cmssw#45055 we can run data wfs skimming the input based on a maximum number of events (and relying on the golden data certification json). This PR proposes a way to allow the RelVal machine to use this new feature when the InputInfo includes a limit on events (and no limit on lumisections or runs).

@AdrianoDee AdrianoDee marked this pull request as ready for review September 9, 2024 08:50
@AdrianoDee
Copy link
Contributor Author

AdrianoDee commented Sep 9, 2024

Are the checks failures related to the PR? It seems not to me.

@AdrianoDee AdrianoDee force-pushed the events_skim branch 2 times, most recently from 84f3a2f to 18d0a9e Compare September 9, 2024 11:42
@ggonzr ggonzr self-assigned this Sep 9, 2024
@AdrianoDee
Copy link
Contributor Author

Hi Geovanny, I've teste with my local setup (using your instructions) and now everything works as it should.

Copy link
Contributor

@ggonzr ggonzr left a comment

Choose a reason for hiding this comment

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

This patch works as expected. I created this RelVal and the new script is loaded in the cmsDriver.py command as required. I suggest a simple change to avoid potential exceptions

core/model/relval_step.py Outdated Show resolved Hide resolved
Co-authored-by: Geovanny González-Rodríguez <[email protected]>
@ggonzr ggonzr merged commit 3cf5c13 into cms-PdmV:master Oct 21, 2024
1 check passed
@AdrianoDee AdrianoDee deleted the events_skim branch October 24, 2024 15:48
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