Replace filters on ODIN_TRGTYP with filters on event type
- Filters on
ODIN_TRGTYP
should not be used. There might be some special cases in which they should remain (TAE, NZS, ...). TBC -
jbit(ODIN_EVTTYP, x)
is ugly and bit has to be hardcoded. I introduce a new "pseudo" functorODIN_PASS
, which takes a bitmask to filter on. The bitmask should be an or of the masks defined inLHCb::ODIN::EventTypes
. For example:
ODIN_PASS(LHCb.ODIN.NoBias)
ODIN_PASS(LHCb.ODIN.Beam1Gas | LHCb.ODIN.Beam1Gas)
I added a qmtest. Once we have a proper functor, the pseudo functor should be removed.