Lumi counters in HLT2
Add the machinery for a an HLT2 line that produces lumi counters.
- A lumi summary schema is generated using the same generation algorithm already used by Allen, and is saved to the metadata repository.
- The
Hlt2LumiCountersLine
line type is added, which similarly to the nanofication line typeHlt2LuminosityLine
selects events based on the Hlt1ODINLumi decision. The line should output the view to the encoded RawBank. - The
lumi_counters_line
builder roduces anHltLumiSummary
object containing two example counters (the total energy (after zero-suppression) in the ECal and HCal). The builder adds a LumiSummary monitor and the HltLumiWriter encoder.- For now, some RICH and basic Calo lumi counters are defined.
- Note: the names, sizes, and shift/scale factors for lumi counters (used at configuration time to define the LumiSummary bank format) are in otherwise unused properties of the Rec algorithms responsible for producing them.
- A test is added to verify the streamed output contents in the presence of lumi lines (for nanofication and counters).
Includes !2346 (closed) and depends on LHCb!4130 (merged), Rec!3472 (merged) and MooreOnline!248 (merged)
Needs lhcb-conddb/file-content-metadata!39 (merged) for the test to pass
Edited by Rosen Matev