ATLAS Offline Software
Functions
InDetTrackSystematicsToolsConfig Namespace Reference

Functions

def InDetTrackTruthOriginToolCfg (flags, name="InDetTrackTruthOriginTool", **kwargs)
 
def InDetTrackTruthFilterToolCfg (flags, name="InDetTrackTruthFilterTool", **kwargs)
 
def JetTrackFilterToolCfg (flags, name="JetTrackFilterTool", **kwargs)
 
def InclusiveTrackFilterToolCfg (flags, name="InclusiveTrackFilterTool", **kwargs)
 
def TrackSystematicsAlgCfg (flags, name="InDetTrackSystematicsAlg", **kwargs)
 

Function Documentation

◆ InclusiveTrackFilterToolCfg()

def InDetTrackSystematicsToolsConfig.InclusiveTrackFilterToolCfg (   flags,
  name = "InclusiveTrackFilterTool",
**  kwargs 
)

Definition at line 47 of file InDetTrackSystematicsToolsConfig.py.

47 def InclusiveTrackFilterToolCfg(flags, name="InclusiveTrackFilterTool", **kwargs):
48  acc = ComponentAccumulator()
49  acc.setPrivateTools(
50  CompFactory.InDet.InclusiveTrackFilterTool(name, **kwargs))
51  return acc
52 

◆ InDetTrackTruthFilterToolCfg()

def InDetTrackSystematicsToolsConfig.InDetTrackTruthFilterToolCfg (   flags,
  name = "InDetTrackTruthFilterTool",
**  kwargs 
)

Definition at line 18 of file InDetTrackSystematicsToolsConfig.py.

18 def InDetTrackTruthFilterToolCfg(flags, name="InDetTrackTruthFilterTool", **kwargs):
19  acc = ComponentAccumulator()
20 
21  if "trackOriginTool" not in kwargs:
22  kwargs.setdefault("trackOriginTool", acc.popToolsAndMerge(
24 
25  acc.setPrivateTools(
26  CompFactory.InDet.InDetTrackTruthFilterTool(name, **kwargs))
27  return acc
28 

◆ InDetTrackTruthOriginToolCfg()

def InDetTrackSystematicsToolsConfig.InDetTrackTruthOriginToolCfg (   flags,
  name = "InDetTrackTruthOriginTool",
**  kwargs 
)

Definition at line 6 of file InDetTrackSystematicsToolsConfig.py.

6 def InDetTrackTruthOriginToolCfg(flags, name="InDetTrackTruthOriginTool", **kwargs):
8 
9  kwargs.setdefault("isFullPileUpTruth", flags.Digitization.PileUp \
10  and flags.Digitization.DigiSteeringConf in ['StandardPileUpToolsAlg', \
11  'StandardInTimeOnlyTruthPileUpToolsAlg', \
12  'StandardInTimeOnlyGeantinoTruthPileUpToolsAlg'])
13 
14  acc.setPrivateTools(
15  CompFactory.InDet.InDetTrackTruthOriginTool(name, **kwargs))
16  return acc
17 

◆ JetTrackFilterToolCfg()

def InDetTrackSystematicsToolsConfig.JetTrackFilterToolCfg (   flags,
  name = "JetTrackFilterTool",
**  kwargs 
)

Definition at line 29 of file InDetTrackSystematicsToolsConfig.py.

29 def JetTrackFilterToolCfg(flags, name="JetTrackFilterTool", **kwargs):
30  acc = ComponentAccumulator()
31 
32  if "trackOriginTool" not in kwargs:
33  kwargs.setdefault("trackOriginTool", acc.popToolsAndMerge(
35 
36  from AthenaConfiguration.Enums import LHCPeriod
37  # Run 3 recommendations (MC23): https://indico.cern.ch/event/1424738/#20-run-3-recommendations-fake
38  if flags.GeoModel.Run >= LHCPeriod.Run3:
39  kwargs.setdefault("FakeUncertainty", 0.30)
40  # Run 2 recommendations (MC20): https://cds.cern.ch/record/2859907
41  else:
42  kwargs.setdefault("FakeUncertainty", 0.35)
43 
44  acc.setPrivateTools(CompFactory.InDet.JetTrackFilterTool(name, **kwargs))
45  return acc
46 

◆ TrackSystematicsAlgCfg()

def InDetTrackSystematicsToolsConfig.TrackSystematicsAlgCfg (   flags,
  name = "InDetTrackSystematicsAlg",
**  kwargs 
)

Definition at line 53 of file InDetTrackSystematicsToolsConfig.py.

53 def TrackSystematicsAlgCfg(flags, name="InDetTrackSystematicsAlg", **kwargs):
54  acc = ComponentAccumulator()
55 
56  if "TrackFilterToolLRT" not in kwargs:
57  kwargs.setdefault("TrackFilterToolLRT", acc.popToolsAndMerge(
59 
60  if "TrackFilterToolSTD" not in kwargs:
61  kwargs.setdefault("TrackFilterToolSTD", acc.popToolsAndMerge(
63 
64  acc.addEventAlgo(CompFactory.InDet.TrackSystematicsAlg(name, **kwargs))
65  return acc
InDetTrackSystematicsToolsConfig.JetTrackFilterToolCfg
def JetTrackFilterToolCfg(flags, name="JetTrackFilterTool", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:29
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
InDetTrackSystematicsToolsConfig.InDetTrackTruthFilterToolCfg
def InDetTrackTruthFilterToolCfg(flags, name="InDetTrackTruthFilterTool", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:18
InDetTrackSystematicsToolsConfig.TrackSystematicsAlgCfg
def TrackSystematicsAlgCfg(flags, name="InDetTrackSystematicsAlg", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:53
InDetTrackSystematicsToolsConfig.InclusiveTrackFilterToolCfg
def InclusiveTrackFilterToolCfg(flags, name="InclusiveTrackFilterTool", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:47
InDetTrackSystematicsToolsConfig.InDetTrackTruthOriginToolCfg
def InDetTrackTruthOriginToolCfg(flags, name="InDetTrackTruthOriginTool", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:6