diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/HbbCommon.py b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/HbbCommon.py index bbcb4b472c05e4fc31eea83e9e950fa53f88fa31..606bccca09a4abfb814a224e9858f5ffa13a550d 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/HbbCommon.py +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkFlavourTag/python/HbbCommon.py @@ -161,6 +161,8 @@ def addExKtCoM(sequence, ToolSvc, JetCollectionExCoM, nSubjets, doTrackSubJet, d from BTagging.BTaggingConfiguration import comTrackAssoc, comMuonAssoc, defaultTrackAssoc, defaultMuonAssoc mods = [defaultTrackAssoc, defaultMuonAssoc, btag_excom] if(subjetAlgName=="CoM"): mods = [comTrackAssoc, comMuonAssoc, btag_excom] + if globalflags.DataSource()!='data': + mods.append(jtm.jetdrlabeler) jetrec_btagging = JetRecTool( name = excomJetRecBTagToolName, InputContainer = SubjetContainerName,