Skip to content

EventIDBase: allow comparisons with run/lumi info

Enable comparisons of EventIDBase that have just Run/LBN info. Adds SortByRunLumi(), isRunLumi() and setRL() methods. States are no longer unique - can be RunLumi, and LumiEvent (and thus RunEvent), as long as the various data fields are set.

Comparison operator is simplified. Either compare via timestamp, if both objects have it defined, or via Run/LBN/Event in that order using a std::tie. This assumes that both objects have the same set of fields defined, and that a LBN cannot span more than one run.

Merge request reports