Skip to content

Replace filters on ODIN_TRGTYP with filters on event type

Rosen Matev requested to merge remove-odin-trgtype into master
  1. Filters on ODIN_TRGTYP should not be used. There might be some special cases in which they should remain (TAE, NZS, ...). TBC
  2. jbit(ODIN_EVTTYP, x) is ugly and bit has to be hardcoded. I introduce a new "pseudo" functor ODIN_PASS, which takes a bitmask to filter on. The bitmask should be an or of the masks defined in LHCb::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.

Merge request reports

Loading