Skip to content

[QEE] Improving hlt2/sprucing scripts to create testfiles for ew-tuples/analyses

Luke Grazette requested to merge lugrazet-ewAP-muID into ew-analyses-productions

Shifters: please ignore (Part of the Run3 ew-analyses framework development: see Wiki ).

Rebased ontop of Moore/v54r10.

To allow preparation of muID efficiency implementation in ew-tuples/ew-analyses, need to change the testfile script and make use of the SingleNoMuID line (!2309 (merged)).
While here, also updating handling of the quarkonia. Previously was using bandq's lines and had an ad-hoc set of passthrough sprucing lines as a stand-in. Since then, we have properly implemented qee/quarkonia lines (!2255 (merged)) and have decided for them to go to TURBO. Thus also need to accomodate the TURBO/FULL split in ew and propogate it into the ew-projects.

Also added changes to the data.sh script that generates all the appropriate files, improving clarity of messages and preventing bloated output to cmdline using a set of logs.

Also, due to upstream choices, Jpsi is preferred over JPsi, so implemented that here too.

The outputs of the sprucing (*.dst and *spruce.tck.json files) will be moved to /eos/lhcb/wg/QEE/ew_analyses/test_files_from_sprucing/04/ and supersede all previous iterations.

Changes:

high_mass_dimuon.py:

  • Removed the prescaling in Hlt2QEE_ZToMuMu_SingleNoMuID to mirror !2467 (merged)

ew_hlt2.py:

  • Move from BandQ to QEE for q-Onia.

ew_spruce_FULL.py:

  • sprucing lines were [Z, W, Jpsi, U1S], now [Z + variants, single_muon + variants]
  • options haven't changed much, just being explicit about input_process and input_raw_format.

ew_spruce_TURBO.py:

  • Shares the same options as ew_Spruce_FULL.py, but make_lines uses a PassLine from the Sprucing passthrough examples.

data.sh:

  • some minor aesthetic cleanups and including the streaming-information

configs/*:

  • JPsi -> Jpsi to better align with ew_analyses
  • the input_raw_format for MDFs is suggested to be 0.3 by the newer sprucing examples, so that has been propogated here. Decided to revert back to the Moore/documentation suggested of 0.5. Not too sure of the difference either way.

spruce_qee.py:

  • Previously, had some extra sprucing lines only in ew-anaprod, to put the Jpsi and Upsilons through Sprucing. Now removed due to Turbo/Full split for the quarkonia lines.

ToDo:

  • Add QEE_ZToMuMu_SingleNoMuID to hlt2 and sprucing
  • Swap from bandq to qee/quarkonia
  • Implement full vs turbo split
  • JPsi -> Jpsi
  • upload to /eos/lhcb/wg/QEE/ew_analyses/test_files_from_sprucing/04/
Edited by Luke Grazette

Merge request reports

Loading