Helper method for HLT / primary dataset selection
It is currently possible to generate a selection to veto events that should be processed from another primary dataset if the have been triggered by lines in both, but this is something general enough to make a helper method for (thanks @kjaffel for bringing this up).
The input argument could be a dictionary like
{
primaryDataset1Name : [ pd1trigger1, pd1trigger2, ... ],
primaryDataset2Name : [ pd2trigger1, pd1trigger2, ... ],
...
}
(in python3 dictionaries maintain their order, so this is reproducible, and some optimisation based on that is possible)