Skip to content

New python tool to create a sorted event collection

Marcin Nowak requested to merge mnowak/athena:SortedCollectionTool into master

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"

Merge request reports