 |
ATLAS Offline Software
|
|
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 | InDetTrackSmearingToolCfg (flags, name="InDetTrackSmearingTool", **kwargs) |
|
def | TrackSystematicsAlgCfg (flags, name="InDetTrackSystematicsAlg", **kwargs) |
|
◆ InclusiveTrackFilterToolCfg()
def InDetTrackSystematicsToolsConfig.InclusiveTrackFilterToolCfg |
( |
|
flags, |
|
|
|
name = "InclusiveTrackFilterTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 70 of file InDetTrackSystematicsToolsConfig.py.
73 from AthenaConfiguration.Enums
import LHCPeriod
75 if flags.Input.MCCampaign
is Campaign.MC23a:
76 kwargs.setdefault(
"calibFileLRTEff",
"InDetTrackSystematicsTools/CalibData_25.2_2025-v00/LargeD0TrackingRecommendations_mc23a.root")
77 elif flags.Input.MCCampaign
is Campaign.MC23d:
78 kwargs.setdefault(
"calibFileLRTEff",
"InDetTrackSystematicsTools/CalibData_25.2_2025-v00/LargeD0TrackingRecommendations_mc23d.root")
80 elif flags.GeoModel.Run
is LHCPeriod.Run2:
81 kwargs.setdefault(
"calibFileLRTEff",
"InDetTrackSystematicsTools/CalibData_24.0_2023-v00/LargeD0TrackingRecommendations_20230824.root")
83 raise ValueError(f
"InclusiveTrackFilterTool: Recommendations not yet available for campaign {flags.Input.MCCampaign}! Please check the configuration and contact Tracking CP if you believe this message is in error.")
86 CompFactory.InDet.InclusiveTrackFilterTool(name, **kwargs))
◆ InDetTrackSmearingToolCfg()
def InDetTrackSystematicsToolsConfig.InDetTrackSmearingToolCfg |
( |
|
flags, |
|
|
|
name = "InDetTrackSmearingTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 89 of file InDetTrackSystematicsToolsConfig.py.
92 from AthenaConfiguration.Enums
import LHCPeriod
94 if flags.Input.MCCampaign
is Campaign.MC23a:
95 kwargs.setdefault(
"calibFileIP_CTIDE",
"InDetTrackSystematicsTools/CalibData_25.2_2025-v00/2022_d0z0_smearing_factors_v2.root")
97 elif flags.Input.MCCampaign
is Campaign.MC23d:
98 kwargs.setdefault(
"calibFileIP_CTIDE",
"InDetTrackSystematicsTools/CalibData_25.2_2025-v00/2023_d0z0_smearing_factors_v2.root")
100 elif flags.Input.MCCampaign
is Campaign.MC23e:
101 kwargs.setdefault(
"calibFileIP_CTIDE",
"InDetTrackSystematicsTools/CalibData_25.2_2025-v00/2024_d0z0_smearing_factors.root")
103 elif flags.GeoModel.Run
is LHCPeriod.Run2:
104 kwargs.setdefault(
"calibFileIP_CTIDE",
"InDetTrackSystematicsTools/CalibData_22.0_2022-v00/d0z0_smearing_factors_Run2_v2.root")
105 elif "calibFileIP_CTIDE" not in kwargs:
106 raise ValueError(f
"InDetTrackSmearingTool: Recommendations not yet available for campaign {flags.Input.MCCampaign}! Please check the configuration and contact Tracking CP if you believe this message is in error.")
109 CompFactory.InDet.InDetTrackSmearingTool(name, **kwargs))
◆ InDetTrackTruthFilterToolCfg()
def InDetTrackSystematicsToolsConfig.InDetTrackTruthFilterToolCfg |
( |
|
flags, |
|
|
|
name = "InDetTrackTruthFilterTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 27 of file InDetTrackSystematicsToolsConfig.py.
30 if "trackOriginTool" not in kwargs:
31 kwargs.setdefault(
"trackOriginTool", acc.popToolsAndMerge(
34 from AthenaConfiguration.Enums
import LHCPeriod
36 if flags.Input.MCCampaign
in [Campaign.MC23a, Campaign.MC23d]:
37 kwargs.setdefault(
"calibFileNomEff",
"InDetTrackSystematicsTools/CalibData_22.0_2022-v00/TrackingRecommendations_prelim_rel22.root")
38 kwargs.setdefault(
"fFakeLoose", 0.40)
39 kwargs.setdefault(
"fFakeTight", 1.00)
41 elif flags.GeoModel.Run
is LHCPeriod.Run2:
42 kwargs.setdefault(
"calibFileNomEff",
"InDetTrackSystematicsTools/CalibData_22.0_2022-v00/TrackingRecommendations_prelim_rel22.root")
43 kwargs.setdefault(
"fFakeLoose", 0.10)
44 kwargs.setdefault(
"fFakeTight", 1.00)
46 raise ValueError(f
"InDetTrackTruthFilterTool: Recommendations not yet available for campaign {flags.Input.MCCampaign}! Please check the configuration and contact Tracking CP if you believe this message is in error.")
49 CompFactory.InDet.InDetTrackTruthFilterTool(name, **kwargs))
◆ InDetTrackTruthOriginToolCfg()
def InDetTrackSystematicsToolsConfig.InDetTrackTruthOriginToolCfg |
( |
|
flags, |
|
|
|
name = "InDetTrackTruthOriginTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 8 of file InDetTrackSystematicsToolsConfig.py.
11 log = logging.getLogger(
"InDetTrackTruthOriginTool")
14 kwargs.setdefault(
"isFullPileUpTruth", flags.Digitization.PileUp
15 and flags.Digitization.DigiSteeringConf
in [
'StandardPileUpToolsAlg',
16 'StandardInTimeOnlyTruthPileUpToolsAlg',
17 'StandardInTimeOnlyGeantinoTruthPileUpToolsAlg'])
18 except AttributeError:
20 kwargs.setdefault(
"isFullPileUpTruth",
False)
21 log.warning(
"Unable to load digi flags, assuming isFullPileUpTruth=False. Normal if you're in AthAnalysis.")
24 CompFactory.InDet.InDetTrackTruthOriginTool(name, **kwargs))
◆ JetTrackFilterToolCfg()
def InDetTrackSystematicsToolsConfig.JetTrackFilterToolCfg |
( |
|
flags, |
|
|
|
name = "JetTrackFilterTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 52 of file InDetTrackSystematicsToolsConfig.py.
55 if "trackOriginTool" not in kwargs:
56 kwargs.setdefault(
"trackOriginTool", acc.popToolsAndMerge(
59 from AthenaConfiguration.Enums
import LHCPeriod
61 if flags.GeoModel.Run >= LHCPeriod.Run3:
62 kwargs.setdefault(
"FakeUncertainty", 0.30)
65 kwargs.setdefault(
"FakeUncertainty", 0.35)
67 acc.setPrivateTools(CompFactory.InDet.JetTrackFilterTool(name, **kwargs))
◆ TrackSystematicsAlgCfg()
def InDetTrackSystematicsToolsConfig.TrackSystematicsAlgCfg |
( |
|
flags, |
|
|
|
name = "InDetTrackSystematicsAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 112 of file InDetTrackSystematicsToolsConfig.py.
115 if "TrackFilterToolLRT" not in kwargs:
116 kwargs.setdefault(
"TrackFilterToolLRT", acc.popToolsAndMerge(
119 if "TrackFilterToolSTD" not in kwargs:
120 kwargs.setdefault(
"TrackFilterToolSTD", acc.popToolsAndMerge(
123 acc.addEventAlgo(CompFactory.InDet.TrackSystematicsAlg(name, **kwargs))