Skip to content
Snippets Groups Projects

Draft: Update SMOG2 KS trackeff lines in Turcal

Open Oscar Boente Garcia requested to merge updates-ks-smog2-tracking into master

This MR aims to add some updates and improvements to the Ks->pipi tracking efficiency lines using the VELO-Long method with Ks candidates coming from SMOG2. They mostly follow what is already in the equivalent lines for pp (https://gitlab.cern.ch/lhcb/Moore/-/blob/master/Hlt/Hlt2Conf/python/Hlt2Conf/lines/trackeff/KSVeloLong.py?ref_type=heads).

To do:

  • Add tis filter for HLT1 unbiasing
  • Add selective persistency of matched track
  • Remove RAW banks (not needed with selective persistency)
  • Readjust selection to reduce background and improve kinematic converage, update prescales
  • Unifiy code with KSVeloLong (with pp lines, following Sasha and Laurent suggestion)
  • Remove Long track containers (keep only MatchedLongPions and MatchedUpstreamPions)
  • Test new Bandwidht with SMOG2 data, compare with previous one (expect a reduction thanks to moving to Turbo strategy)
  • Check if I need to change the line names, or if further changes are needed in hlt2/sprucing sequence (do lines need Turbo in the name now?)

Local Bandwidth tests results (on a representative pp+pAr sample from Block 1, the same as in !4500 (merged) ). Note that this data is from block 1 (mu pp 4.4), so the SMOG2 bandwidth is representative while the bandwidth of pp lines should be below that one in mu=5.3 conditions.

Before any changes (baseline, as in master)

| | Line | Total Retention (%) | Rate (kHz) | Exclusive Retention(%) | Exclusive Rate (kHz) | Avg Total Event Size (kB) | Total Bandwidth (GB/s) | Avg DstData Size (kB) | DstData Bandwidth (GB/s) |

| 6 | SpruceTurCalTrackEff_SMOG2KshortVeloLong_HighPTDecision | 1.19 | 0.108 | 1.19 | 0.108 | 44.1 | 0.00476 | 1.84 | 0.000199 |

| 9 | SpruceTurCalTrackEff_SMOG2KshortVeloLong_LowPTDecision | 0.927 | 0.084 | 0.927 | 0.084 | 40.4 | 0.00339 | 2.42 | 0.000203

| 11 | SpruceTurCalTrackEff_SMOG2KshortVeloLong_VeryHighPTDecision | 0.662 | 0.06 | 0.662 | 0.06 | 51.9 | 0.00312 | 1.8 | 0.000108 |

 

| | Line | Total Retention (%) | Rate (kHz) | Exclusive Retention(%) | Exclusive Rate (kHz) | Avg Total Event Size (kB) | Total Bandwidth (GB/s) | Avg DstData Size (kB) | DstData Bandwidth (GB/s) |
| 0 | Hlt2TurboVelo2Long_KshortHardDecision | 0.03 | 0.36 | 0.03 | 0.36 | 52.4 | 0.0189 | 51.9 | 0.0187 |
| 1 | Hlt2TurboVelo2Long_KshortVHardDecision | 0.016 | 0.192 | 0.016 | 0.192 | 64.8 | 0.0124 | 64.3 | 0.0123 |
| 2 | Hlt2TurboVelo2Long_KshortDecision | 0.014 | 0.168 | 0.014 | 0.168 | 66 | 0.0111 | 65.6 | 0.011 |
| 3 | Hlt2TurboVelo2Long_KshortSoftDecision | 0.012 | 0.144 | 0.012 | 0.144 | 70.8 | 0.0102 | 70.3 | 0.0101 |
| 4 | Hlt2TurboVelo2Long_KshortVSoftDecision | 0.007 | 0.084 | 0.007 | 0.084 | 61.2 | 0.00514 | 60.8 | 0.00511 |

(note that here Long and Upstream containers were persisted, as changes from

As with the proposed changes

TRACKEFF

Other| | Line | Total Retention (%) | Rate (kHz) | Exclusive Retention(%) | Exclusive Rate (kHz) | Avg Total Event Size (kB) | Total Bandwidth (GB/s) | Avg DstData Size (kB) | DstData Bandwidth (GB/s) |
| 1 | Hlt2TurboVelo2Long_SMOG2KshortSoftDecision | 0.885 | 0.0475 | 0.885 | 0.0475 | 2.58 | 0.000123 | 1.99 | 9.44e-05 |
| 2 | Hlt2TurboVelo2Long_SMOG2KshortHardDecision | 0.295 | 0.0158 | 0.295 | 0.0158 | 2.24 | 3.55e-05 | 1.84 | 2.91e-05 |
| 3 | Hlt2TurboVelo2Long_SMOG2KshortDecision | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |

TrackEff| | Line | Total Retention (%) | Rate (kHz) | Exclusive Retention(%) | Exclusive Rate (kHz) | Avg Total Event Size (kB) | Total Bandwidth (GB/s) | Avg DstData Size (kB) | DstData Bandwidth (GB/s) |
| 0 | Hlt2TurboVelo2Long_KshortHardDecision | 13.3 | 0.713 | 13 | 0.697 | 2.28 | 0.00163 | 1.78 | 0.00127 |
| 1 | Hlt2TurboVelo2Long_KshortSoftDecision | 10.6 | 0.57 | 10.3 | 0.554 | 2.42 | 0.00138 | 1.92 | 0.00109 |
| 2 | Hlt2TurboVelo2Long_KshortVHardDecision | 7.96 | 0.428 | 7.67 | 0.412 | 2.23 | 0.000952 | 1.71 | 0.000733 |
| 4 | Hlt2TurboVelo2Long_KshortDecision | 7.08 | 0.38 | 6.78 | 0.364 | 2.34 | 0.000889 | 1.88 | 0.000715 |
| 5 | Hlt2TurboVelo2Long_KshortVSoftDecision | 4.72 | 0.253 | 4.72 | 0.253 | 2.61 | 0.000661 | 2.07 | 0.000526 |

 

Edited by Oscar Boente Garcia

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
206 MatchTo=make_up_pions(),
207 IncludeVP=True,
208 IncludeFT=False,
209 IncludeUT=False,
210 MinMatchFraction=0.2,
211 ).OutputRelations
212
213 matched_long_pions = SelectionFromWeightedRelationTable(
214 InputRelations=relation_table_match_by_lhcbid_long
215 ).OutputLocation
216 matched_upstream_pions = SelectionFromWeightedRelationTable(
217 InputRelations=relation_table_match_by_lhcbid_upstream
218 ).OutputLocation
150 219
220 particles_to_match = [
221 ("LongPions", make_long_pions()),
  • Oscar Boente Garcia marked the checklist item Add tis filter for HLT1 unbiasing as completed

    marked the checklist item Add tis filter for HLT1 unbiasing as completed

  • Oscar Boente Garcia marked the checklist item Add selective persistency of matched track as completed

    marked the checklist item Add selective persistency of matched track as completed

  • Oscar Boente Garcia marked the checklist item Remove RAW banks (not needed with selective persistency) as completed

    marked the checklist item Remove RAW banks (not needed with selective persistency) as completed

  • Oscar Boente Garcia changed the description

    changed the description

  • Oscar Boente Garcia marked the checklist item Readjust selection to reduce background and improve kinematic converage, update prescales as completed

    marked the checklist item Readjust selection to reduce background and improve kinematic converage, update prescales as completed

  • added 18 commits

    Compare with previous version

  • added 4 commits

    • 36278b2c - Add Tos filter, and selective persistency
    • b8236bbe - Change line names to Turbo convention and fix typos
    • c6915e8f - Unify SMOG2 and pp Ks VeloLong builders
    • d7778b22 - Adjust P requirements for SMOG2

    Compare with previous version

  • added 1 commit

    • bcf4943b - fix bug in fromSMOG2 argument definition

    Compare with previous version

  • Oscar Boente Garcia marked the checklist item Unifiy code with KSVeloLong (with pp lines, following Sasha and Laurent suggestion) as completed

    marked the checklist item Unifiy code with KSVeloLong (with pp lines, following Sasha and Laurent suggestion) as completed

  • Oscar Boente Garcia marked the checklist item Remove Long track containers (keep only MatchedLongPions and MatchedUpstreamPions) as completed

    marked the checklist item Remove Long track containers (keep only MatchedLongPions and MatchedUpstreamPions) as completed

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading