From cf4c043b0105d85f7dbfd12eab3c460e9cf773ec Mon Sep 17 00:00:00 2001
From: Robin Newhouse <robin.newhouse@cern.ch>
Date: Fri, 4 Dec 2020 17:23:42 -0800
Subject: [PATCH] Turn off large radius tracking in special runs (cosmics etc.)

---
 .../InDetRecExample/python/InDetJobProperties.py          | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/InnerDetector/InDetExample/InDetRecExample/python/InDetJobProperties.py b/InnerDetector/InDetExample/InDetRecExample/python/InDetJobProperties.py
index bde48a9e830..e945c5532be 100644
--- a/InnerDetector/InDetExample/InDetRecExample/python/InDetJobProperties.py
+++ b/InnerDetector/InDetExample/InDetRecExample/python/InDetJobProperties.py
@@ -1261,6 +1261,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doTRTPhaseCalculation  , False)
        self.checkThenSet(self.doTRTStandalone        , True)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doVertexFinding        , False)
        self.checkThenSet(self.doV0Finder             , False)
@@ -1281,6 +1282,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doBeamHalo             , False)
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doTRTStandalone        , True ) # *ME* this is different than 15.4.0 and before
        self.checkThenSet(self.doTRTPhaseCalculation  , True )
        self.checkThenSet(self.doParticleCreation     , True )
@@ -1315,6 +1317,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doTrackSegmentsSCT     , False)
        self.checkThenSet(self.doTrackSegmentsTRT     , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doBeamGas              , False)
        self.checkThenSet(self.doBeamHalo             , False)
        self.checkThenSet(self.doVertexFinding        , True)
@@ -1347,6 +1350,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doTRTStandalone        , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doVertexFinding        , True)
        self.checkThenSet(self.primaryVertexSetup     , "IterativeFinding")
        self.checkThenSet(self.primaryVertexCutSetup  , "SLHC")
@@ -1403,6 +1407,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doTRTStandalone        , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doVertexFinding        , True)
        self.checkThenSet(self.primaryVertexSetup     , "IterativeFinding") 
        self.checkThenSet(self.primaryVertexCutSetup  , "Offline") 
@@ -1430,6 +1435,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doTRTStandalone        , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doVertexFinding        , True)
        self.checkThenSet(self.primaryVertexSetup     , "IterativeFinding") 
        self.checkThenSet(self.primaryVertexCutSetup  , "Offline") 
@@ -1468,6 +1474,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doBackTracking         , False)
        self.checkThenSet(self.doTRTStandalone        , False)
        self.checkThenSet(self.doForwardTracks        , False)
+       self.checkThenSet(self.doR3LargeD0            , False)
        self.checkThenSet(self.doVertexFinding        , True)
        self.checkThenSet(self.primaryVertexSetup     , "IterativeFinding")
        self.checkThenSet(self.primaryVertexCutSetup  , "Offline")
@@ -1501,6 +1508,7 @@ class InDetJobProperties(JobPropertyContainer):
        self.checkThenSet(self.doVeryLowPt            , False )
        self.checkThenSet(self.doSLHCConversionFinding, False)
        self.checkThenSet(self.doForwardTracks        , False )
+       self.checkThenSet(self.doR3LargeD0            , False )
        self.checkThenSet(self.doBeamGas              , False )
        self.checkThenSet(self.doBeamHalo             , False )
        self.checkThenSet(self.doBackTracking         , False )
-- 
GitLab