Skip to content

Add event skipper to the source.

Huilin Qu requested to merge hqu/hgcal-comm:dev/add-event-skipper into master

Add the standard event skipper from cmssw to the HGCalSlinkFromRawSource.

A simple way to use it is via the firstEventToProcess option in test_raw2reco.py.

More complex selection can be done by adding e.g., the following line, to test_raw2reco.py directly:

process.source.eventsToProcess = cms.untracked.VEventRange('run:lumi:event_start-run:lumi:event_end')

Merge request reports

Loading