Skip to content
Snippets Groups Projects
Commit 43d37bea authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'master-fix-vr-decorations' into 'master'

FlavorTagDiscriminants: do not bail out in VRJetOverlapDecorator for events with less than 2 track jets

See merge request !49966
parents 4f5f87e0 57064ed7
No related branches found
No related tags found
4 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!49966FlavorTagDiscriminants: do not bail out in VRJetOverlapDecorator for events with less than 2 track jets
...@@ -76,7 +76,9 @@ VRJetOverlapDecorator::VRJetOverlapDecorator(const VRJetOverlapConfig& cfg): ...@@ -76,7 +76,9 @@ VRJetOverlapDecorator::VRJetOverlapDecorator(const VRJetOverlapConfig& cfg):
} }
void VRJetOverlapDecorator::decorate(const xAOD::JetContainer& jets) const { void VRJetOverlapDecorator::decorate(const xAOD::JetContainer& jets) const {
if (jets.size() < 2) return; // if no jet is present, do nothing
if (jets.empty() && m_param_source == VRJetParameters::EDM) return;
VRConfig cfg; VRConfig cfg;
if (m_param_source == VRJetParameters::EDM) { if (m_param_source == VRJetParameters::EDM) {
// we'll assume all the jets have the same parameters, I don't // we'll assume all the jets have the same parameters, I don't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment