Skip to content

Add ODIN emulator and encoder

Rosen Matev requested to merge odin-emu-master into master

Two algorithms:

  1. ODINEmulator. Clones an existing LHCb::ODIN object and modifies the properties of the clone based on configuration. Allows for bits set in the event type (the NoBias and Lumi 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
  2. ODINEncoder. Delegates to the ODINEncodeTool to encode an LHCb::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.

  1. The lines filter on the NoBias and Lumi bits. These aren't set in MC so all events are rejected.

Edited by Alex Pearce

Merge request reports