From f254218fdda6f84f42366ae40046e09323b5ed59 Mon Sep 17 00:00:00 2001
From: agentry <andrew.donald.gentry@cern.ch>
Date: Fri, 9 Jun 2023 18:04:56 +0200
Subject: [PATCH] Add V0 candidate isolation

---
 .../DerivationFrameworkBPhys/python/BPHY24.py         | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkBPhys/python/BPHY24.py b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkBPhys/python/BPHY24.py
index 163788865dca..4a456774a780 100644
--- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkBPhys/python/BPHY24.py
+++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkBPhys/python/BPHY24.py
@@ -358,11 +358,20 @@ def BPHY24Cfg(ConfigFlags):
       FixElecExclusion                = False,
       IncludeV0                       = False)
 
+    BPHY24TrackIsolationDecoratorV0 = CompFactory.DerivationFramework.VertexTrackIsolation(
+      name                            = "BPHY24TrackIsolationDecoratorV0",
+      TrackIsoTool                    = TrackIsoTool,
+      TrackContainer                  = "InDetTrackParticles",
+      InputVertexContainer            = "BPHY24RecoV0Candidates",
+      FixElecExclusion                = False,
+      IncludeV0                       = False)
+
     augsList += [ BPHY24TrackIsolationDecoratorBtoKee,
               BPHY24TrackIsolationDecoratorBtoKmumu,
               BPHY24TrackIsolationDecoratorJpsiee,
               BPHY24TrackIsolationDecoratorJpsimumu,
-              BPHY24TrackIsolationDecoratorKshort]
+              BPHY24TrackIsolationDecoratorKshort,
+              BPHY24TrackIsolationDecoratorV0]
 
     trigger_list = [ # Pure muon triggers
     "HLT_mu11_mu6_bDimu",
-- 
GitLab