Confusing Behavior in B2OC Definitions
An issue was raised by @alupato about how the different line definitions are working within B2OC modules. Looking specifically at the LB2XBuilder, the intention was to edit the AM_MIN
values. The relevant selector in the config dictionaries is the B2X
one [1].
Here you can see for Stripping34 this value was set to 4750 and 7000 MeV, with a comment saying that the Lb2X builder overwrites the min value to 5200 [2].
However, within the make functions of the Lb2XBuilder, there are what seems to be users trying to redefine these values [3,4,5], but this does not seem to be being propagated correctly [6].
Multiple questions arise from this:
- How is a new analyser supposed to define selections for these lines hidden within these makers, when the lineconfig dictionary only carries some top level selection?
- Are the intended selections by analysers (3-5 below) being intentionally overwritten (and if so, why do these lines still exist) or were these ran with the incorrect intended values?
- What is the correct (intended?) way for an analyser to edit this
AM_MIN
value for the specific lines housed in this module?
[1] https://gitlab.cern.ch/lhcb/Stripping/-/blob/2018-patches/Phys/StrippingSettings/python/StrippingSettings/Stripping34/LineConfigDictionaries_B2OC.py#L185 [2] https://gitlab.cern.ch/lhcb/Stripping/-/blob/2018-patches/Phys/StrippingSelections/python/StrippingSelections/StrippingB2OC/Beauty2Charm_Lb2XBuilder.py#L804 [3] https://gitlab.cern.ch/lhcb/Stripping/-/blob/2018-patches/Phys/StrippingSelections/python/StrippingSelections/StrippingB2OC/Beauty2Charm_Lb2XBuilder.py#L1503 [4] https://gitlab.cern.ch/lhcb/Stripping/-/blob/2018-patches/Phys/StrippingSelections/python/StrippingSelections/StrippingB2OC/Beauty2Charm_Lb2XBuilder.py#L1517 [5] https://gitlab.cern.ch/lhcb/Stripping/-/blob/2018-patches/Phys/StrippingSelections/python/StrippingSelections/StrippingB2OC/Beauty2Charm_Lb2XBuilder.py#L1529 [6]https://lhcbdoc.web.cern.ch/lhcbdoc/stripping/config/stripping34/bhadron/strippinglb2lcdstkstbeauty2charmline.html