New python tool to create a sorted event collection
All threads resolved!
All threads resolved!
Compare changes
Files
3+ 121
− 0
GitLab service scheduled maintenance on Friday, March 21st 2025 as of 08h00 Geneva time for an estimated period of 1 hour. Further information under OTG0154918.
This is event sorter as requested for RDO premixing - to read events in the LumiBlock order
To use it in a transform, add --poestExec step like this:
from CollectionUtilities.SortedCollectionCreator import *
sorter = SortedCollectionCreator(name="SortEvents")
sorter.execute(runArgs.inputRDOFile, outputCollection="sortedRDORefs", sortAttribute="LumiBlockN")
ServiceMgr.EventSelector.InputCollections = ["sortedRDORefs.root"]
ServiceMgr.EventSelector.CollectionType = "ExplicitROOT"