Add ODIN emulator and encoder
Two algorithms:
-
ODINEmulator
. Clones an existingLHCb::ODIN
object and modifies the properties of the clone based on configuration. Allows for bits set in the event type (theNoBias
andLumi
bits) to be sampled on a per bunch-crossing basis (empty-empty, beam-beam, etc.). The current principle use-case is in Moore!281 (merged), where we can meaningfully test lumi lines on MC.1 -
ODINEncoder
. Delegates to theODINEncodeTool
to encode anLHCb::ODIN
object to a raw bank.
The emulator uses the deterministic PRNG from DeterministicPrescaler
, which has been moved out of the algorithm in to a header file.
-
The lines filter on the
NoBias
andLumi
bits. These aren't set in MC so all events are rejected.↩
Edited by Alex Pearce