ATLAS Offline Software
Functions
VrtSecInclusiveConfig Namespace Reference

Functions

def VrtSecInclusiveCfg (flags, name="VrtSecInclusive", **kwargs)
 

Detailed Description

Define method to configure VrtSecInclusive algorithm

Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ VrtSecInclusiveCfg()

def VrtSecInclusiveConfig.VrtSecInclusiveCfg (   flags,
  name = "VrtSecInclusive",
**  kwargs 
)
Return a configured VrtSecInclusive algorithm instance

Definition at line 10 of file VrtSecInclusiveConfig.py.

10 def VrtSecInclusiveCfg(flags, name="VrtSecInclusive", **kwargs):
11 
12  """Return a configured VrtSecInclusive algorithm instance"""
13  acc = ComponentAccumulator()
14 
15  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
16  from TrkConfig.TrkVertexFitterUtilsConfig import TrackToVertexIPEstimatorCfg
17  from TrackToVertex.TrackToVertexConfig import TrackToVertexCfg
18  from TrkConfig.TrkVKalVrtFitterConfig import TrkVKalVrtFitterCfg
19 
20  kwargs.setdefault("Extrapolator" , acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags)))
21  kwargs.setdefault("VertexFitterTool" , acc.popToolsAndMerge(TrkVKalVrtFitterCfg(flags, IterationNumber = 30)))
22 
23  if flags.Detector.GeometryPixel:
24  from PixelConditionsTools.PixelConditionsSummaryConfig import (
25  PixelConditionsSummaryCfg)
26  kwargs.setdefault("PixelConditionsSummaryTool", acc.popToolsAndMerge(
28  UseByteStreamFEI4 = False,
29  UseByteStreamFEI3 = False)))
30  elif flags.Detector.GeometryITkPixel:
31  from PixelConditionsTools.ITkPixelConditionsSummaryConfig import (
32  ITkPixelConditionsSummaryCfg)
33  kwargs.setdefault("PixelConditionsSummaryTool", acc.popToolsAndMerge(
35  UseByteStreamFEI4 = False,
36  UseByteStreamFEI3 = False)))
37 
38  TrackToVertexTool = acc.popToolsAndMerge(TrackToVertexCfg(flags))
39  acc.addPublicTool(TrackToVertexTool)
40  kwargs.setdefault("TrackToVertexTool" , TrackToVertexTool)
41 
42  TrackToVertexIPEstimatorTool = acc.popToolsAndMerge(TrackToVertexIPEstimatorCfg(flags))
43  acc.addPublicTool(TrackToVertexIPEstimatorTool)
44  kwargs.setdefault("TrackToVertexIPEstimatorTool" , TrackToVertexIPEstimatorTool)
45 
46  kwargs.setdefault("AugmentingVersionString" , "")
47  kwargs.setdefault("TrackLocation" , "InDetTrackParticles")
48  kwargs.setdefault("OutputLevel" , Lvl.INFO)
49  kwargs.setdefault("do_PVvetoCut" , True)
50  kwargs.setdefault("do_d0Cut" , False)
51  kwargs.setdefault("do_z0Cut" , False)
52  kwargs.setdefault("do_d0errCut" , False)
53  kwargs.setdefault("do_z0errCut" , False)
54  kwargs.setdefault("do_d0signifCut" , False)
55  kwargs.setdefault("do_z0signifCut" , False)
56  kwargs.setdefault("doTRTPixCut" , True)
57  kwargs.setdefault("DoSAloneTRT" , False)
58  kwargs.setdefault("ImpactWrtBL" , True)
59  kwargs.setdefault("DoPVcompatibility" , True)
60  kwargs.setdefault("DoTightPVcompatibility" , False)
61  kwargs.setdefault("RemoveFake2TrkVrt" , True)
62  kwargs.setdefault("CheckHitPatternStrategy" , 'ExtrapolationAssist') # Either 'Classical', 'Extrapolation' or 'ExtrapolationAssist'
63  kwargs.setdefault("doReassembleVertices" , True)
64  kwargs.setdefault("doMergeByShuffling" , True)
65  kwargs.setdefault("doMergeFinalVerticesDistance" , True)
66  kwargs.setdefault("doAssociateNonSelectedTracks" , True)
67  kwargs.setdefault("doFinalImproveChi2" , False)
68  kwargs.setdefault("DoTruth" , flags.Input.isMC)
69  kwargs.setdefault("FillHist" , True)
70  kwargs.setdefault("FillNtuple" , False)
71  kwargs.setdefault("TruthParticleFilter" , "Higgs")
72  kwargs.setdefault("FillIntermediateVertices" , False)
73  kwargs.setdefault("CutPixelHits" , 0)
74  kwargs.setdefault("CutSctHits" , 2)
75  kwargs.setdefault("TrkA0ErrCut" , 200000)
76  kwargs.setdefault("TrkZErrCut" , 200000)
77  kwargs.setdefault("a0TrkPVDstMinCut" , 2.0) # track d0 min
78  kwargs.setdefault("a0TrkPVDstMaxCut" , 300.0) # track d0 max: default is 1000.0
79  kwargs.setdefault("zTrkPVDstMinCut" , 0.0) # track z0 min: default is 0.0, just for clarification
80  kwargs.setdefault("zTrkPVDstMaxCut" , 1500.0) # track z0 max: default is 1000.0
81  kwargs.setdefault("twoTrkVtxFormingD0Cut" , 2.0)
82  kwargs.setdefault("TrkPtCut" , 1000)
83  kwargs.setdefault("SelVrtChi2Cut" , 5.)
84  kwargs.setdefault("CutSharedHits" , 2)
85  kwargs.setdefault("TrkChi2Cut" , 50)
86  kwargs.setdefault("TruthTrkLen" , 1)
87  kwargs.setdefault("SelTrkMaxCutoff" , 2000)
88  kwargs.setdefault("mergeByShufflingAllowance" , 10.)
89  kwargs.setdefault("associatePtCut" , 1000.)
90  kwargs.setdefault("associateMinDistanceToPV" , 2.)
91  kwargs.setdefault("associateMaxD0Signif" , 5.)
92  kwargs.setdefault("associateMaxZ0Signif" , 5.)
93  kwargs.setdefault("VertexMergeFinalDistCut" , 1.)
94  kwargs.setdefault("VertexMergeFinalDistScaling" , 0.)
95  kwargs.setdefault("improveChi2ProbThreshold" , 0.0001)
96  kwargs.setdefault("doRemoveNonLeptonVertices" , False)
97  kwargs.setdefault("doAugmentDVimpactParametersToMuons" , False)
98  kwargs.setdefault("doAugmentDVimpactParametersToElectrons" , False)
99 
100  acc.addEventAlgo(CompFactory.VKalVrtAthena.VrtSecInclusive(name, **kwargs))
101  return acc
102 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
PixelConditionsSummaryConfig.PixelConditionsSummaryCfg
def PixelConditionsSummaryCfg(flags, name="PixelConditionsSummary", **kwargs)
Definition: PixelConditionsSummaryConfig.py:17
VrtSecInclusiveConfig.VrtSecInclusiveCfg
def VrtSecInclusiveCfg(flags, name="VrtSecInclusive", **kwargs)
Definition: VrtSecInclusiveConfig.py:10
python.TrkVertexFitterUtilsConfig.TrackToVertexIPEstimatorCfg
def TrackToVertexIPEstimatorCfg(flags, name='TrackToVertexIPEstimator', **kwargs)
Definition: TrkVertexFitterUtilsConfig.py:48
ITkPixelConditionsSummaryConfig.ITkPixelConditionsSummaryCfg
def ITkPixelConditionsSummaryCfg(flags, name="ITkPixelConditionsSummary", **kwargs)
Definition: ITkPixelConditionsSummaryConfig.py:12
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.TrkVKalVrtFitterConfig.TrkVKalVrtFitterCfg
def TrkVKalVrtFitterCfg(flags, name="TrkVKalVrtFitter", **kwargs)
Definition: TrkVKalVrtFitterConfig.py:7
TrackToVertexConfig.TrackToVertexCfg
def TrackToVertexCfg(flags, name="AtlasTrackToVertexTool", **kwargs)
Definition: TrackToVertexConfig.py:6