From 8c671215fc01054b6491ff8124697247921c2b2c Mon Sep 17 00:00:00 2001
From: Maximilian Goblirsch-Kolb <goblirsc@cern.ch>
Date: Tue, 13 Oct 2020 22:55:44 +0200
Subject: [PATCH] testing cuts

---
 .../share/ConfiguredNewTrackingSiPattern.py               | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py b/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
index 33351b934d4..2e7cb34b105 100644
--- a/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
+++ b/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
@@ -109,6 +109,9 @@ class  ConfiguredNewTrackingSiPattern:
                # limit size of space-point vector, uses auto-grow mechanism 
                # to avoid exceeding bounds (should rarely happen) 
                InDetSiSpacePointsSeedMaker.maxSizeSP  = 200 
+               InDetSiSpacePointsSeedMaker.dImpactCutSlopeUnconfirmedSSS  = 1.25 
+               InDetSiSpacePointsSeedMaker.dImpactCutSlopeUnconfirmedPPP  = 2.0 
+
 
          if NewTrackingCuts.mode() == "R3LargeD0":
             InDetSiSpacePointsSeedMaker.optimisePhiBinning = False
@@ -518,6 +521,10 @@ class  ConfiguredNewTrackingSiPattern:
                                      SplitClusterMapExtension     = NewTrackingCuts.extension(),
                                      ClusterSplitProbabilityName  = 'InDetAmbiguityProcessorSplitProb'+NewTrackingCuts.extension(),
                                      RenounceInputHandles         = ['InDetAmbiguityProcessorSplitProb'+NewTrackingCuts.extension()])
+           if InDetFlags.doHolesInFitter(): 
+               fitter_args=setDefaults(fitter_args,
+                                     BoundaryCheckTool= TrackingCommon.getInDetBoundaryCheckTool(),
+                                     DoHoleSearch                 = True)
            fitter_list=[     CfgGetter.getPublicToolClone('InDetTrackFitter'+'Ambi'+NewTrackingCuts.extension(), 'InDetTrackFitter',**fitter_args)    if not use_low_pt_fitter \
                              else CfgGetter.getPublicToolClone('InDetTrackFitterLowPt'+NewTrackingCuts.extension(), 'InDetTrackFitterLowPt',**fitter_args)]
 
@@ -531,7 +538,6 @@ class  ConfiguredNewTrackingSiPattern:
                  fitter_list.append(CfgGetter.getPublicTool('KalmanFitter'))
                  fitter_list.append(CfgGetter.getPublicTool('ReferenceKalmanFitter'))
 
-
            InDetAmbiguityProcessor = ProcessorTool(name               = 'InDetAmbiguityProcessor'+NewTrackingCuts.extension(),
                                                    Fitter             = fitter_list ,
                                                    AssociationTool    = TrackingCommon.getInDetPRDtoTrackMapToolGangedPixels(),
-- 
GitLab