Skip to content

initialise LargeRJetTruthLabel accessor as member of FlavourUncertaintyComponent

Initialise LargeRJetTruthLabel accessor in FlavourUncertaintyComponent constructor rather than as static in member function. This makes it consistent with how m_NjetAccessor and m_BjetAccessor are implemented.

As it is implemented now (as static in a function call) it is not possible to have several instances of FlavourUncertaintyComponent with multiple different definitions of truth labelling as they would overwrite each other.

This is a follow-up of an earlier MR: !70160 (merged)

That MR removed the static which solves the issue with the truth labels overwriting each other but introduces some overhead. This MR removes the overhead.

Merge request reports

Loading