ATLAS Offline Software
Loading...
Searching...
No Matches
ISF_HepMC_ToolsConfig Namespace Reference

Functions

 ParticleFinalStateFilterCfg (flags, name="ISF_ParticleFinalStateFilter", **kwargs)
 ParticleSimAcceptListCfg (flags, name="ISF_ParticleSimAcceptList", **kwargs)
 GenParticleSimQuasiStableFilterCfg (flags, name="ISF_GenParticleSimQuasiStableFilter", **kwargs)
 ParticleSimAcceptList_ExtraParticlesCfg (flags, name="ISF_ParticleSimAcceptList_ExtraParticles", **kwargs)
 ParticlePositionFilterCfg (flags, name="ISF_ParticlePositionFilter", **kwargs)
 ParticlePositionFilterIDCfg (flags, name="ISF_ParticlePositionFilterID", **kwargs)
 ParticlePositionFilterCaloCfg (flags, name="ISF_ParticlePositionFilterCalo", **kwargs)
 ParticlePositionFilterMSCfg (name="ISF_ParticlePositionFilterMS", **kwargs)
 ParticlePositionFilterWorldCfg (flags, name="ISF_ParticlePositionFilterWorld", **kwargs)
 ParticlePositionFilterDynamicCfg (flags, name="ISF_ParticlePositionFilterDynamic", **kwargs)
 GenParticleInteractingFilterCfg (flags, name="ISF_GenParticleInteractingFilter", **kwargs)
 EtaPhiFilterCfg (flags, name="ISF_EtaPhiFilter", **kwargs)
 GenParticleFilterToolsCfg (flags)
 TruthPreselectionToolCfg (flags, name="TruthPreselectionTool", **kwargs)
 TruthStrategyGroupID_MC15Cfg (flags, name="ISF_MCTruthStrategyGroupID_MC15", **kwargs)
 Truth Strategies.
 TruthStrategyGroupIDHadInt_MC15Cfg (flags, name="ISF_MCTruthStrategyGroupIDHadInt_MC15", **kwargs)
 TruthStrategyGroupCaloMuBremCfg (flags, name="ISF_MCTruthStrategyGroupCaloMuBrem", **kwargs)
 TruthStrategyGroupCaloDecay_MC15Cfg (flags, name="ISF_MCTruthStrategyGroupCaloDecay_MC15", **kwargs)
 TruthStrategyGroupIDCfg (flags, name="ISF_MCTruthStrategyGroupID", **kwargs)
 TruthStrategyGroupIDHadIntCfg (flags, name="ISF_MCTruthStrategyGroupIDHadInt", **kwargs)
 TruthStrategyGroupCaloMuBrem_MC15Cfg (flags, name="ISF_MCTruthStrategyGroupCaloMuBrem_MC15", **kwargs)
 TruthStrategyGroupCaloDecayCfg (flags, name="ISF_MCTruthStrategyGroupCaloDecay", **kwargs)
 ValidationTruthStrategyCfg (flags, name="ISF_ValidationTruthStrategy", **kwargs)
 FCSParamTruthStrategyCfg (flags, name="ISF_ValidationTruthStrategy", **kwargs)
 LLPTruthStrategyCfg (flags, name="ISF_LLPTruthStrategy", **kwargs)
 KeepLLPDecayChildrenStrategyCfg (flags, name="ISF_KeepLLPDecayChildrenStrategy", **kwargs)
 KeepLLPHadronicInteractionChildrenStrategyCfg (flags, name="ISF_KeepLLPHadronicInteractionChildrenStrategy", **kwargs)
 KeepAllDecayChildrenStrategyCfg (flags, name="ISF_KeepAllDecayChildrenStrategy", **kwargs)
 KeepHadronicInteractionChildrenStrategyCfg (flags, name="ISF_KeepHadronicInteractionChildrenStrategy", **kwargs)

Detailed Description

ComponentAccumulator HepMC tools configurations for ISF

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

Function Documentation

◆ EtaPhiFilterCfg()

ISF_HepMC_ToolsConfig.EtaPhiFilterCfg ( flags,
name = "ISF_EtaPhiFilter",
** kwargs )

Definition at line 132 of file ISF_HepMC_ToolsConfig.py.

132def EtaPhiFilterCfg(flags, name="ISF_EtaPhiFilter", **kwargs):
133 result = ComponentAccumulator()
134 # EtaPhiFilter
135 EtaRange = 7.0 if flags.Detector.EnableLucid else 6.0
136 kwargs.setdefault("MinEta" , -EtaRange)
137 kwargs.setdefault("MaxEta" , EtaRange)
138 kwargs.setdefault("MaxApplicableRadius", 30*mm)
139
140 result.setPrivateTools(CompFactory.ISF.GenParticleGenericFilter(name, **kwargs))
141 return result
142
143

◆ FCSParamTruthStrategyCfg()

ISF_HepMC_ToolsConfig.FCSParamTruthStrategyCfg ( flags,
name = "ISF_ValidationTruthStrategy",
** kwargs )

Definition at line 286 of file ISF_HepMC_ToolsConfig.py.

286def FCSParamTruthStrategyCfg(flags, name="ISF_ValidationTruthStrategy", **kwargs):
287 result = ComponentAccumulator()
288 kwargs.setdefault("ParentMinP", 150.*MeV)
289 kwargs.setdefault("Regions", [3])
290 result.setPrivateTools(CompFactory.ISF.ValidationTruthStrategy(name, **kwargs))
291 return result
292
293

◆ GenParticleFilterToolsCfg()

ISF_HepMC_ToolsConfig.GenParticleFilterToolsCfg ( flags)

Definition at line 144 of file ISF_HepMC_ToolsConfig.py.

144def GenParticleFilterToolsCfg(flags):
145 result = ComponentAccumulator()
146 genParticleFilterList = []
147 if flags.Sim.ISF.Simulator.isQuasiStable():
148 genParticleFilterList += [result.popToolsAndMerge(ParticleSimAcceptList_ExtraParticlesCfg(flags))]
149 else:
150 genParticleFilterList += [result.popToolsAndMerge(ParticleFinalStateFilterCfg(flags))]
151 if "ATLAS" in flags.GeoModel.Layout or "atlas" in flags.GeoModel.Layout:
152 from AthenaConfiguration.Enums import BeamType
153 if flags.Beam.Type not in [BeamType.Cosmics, BeamType.TestBeam]:
154 genParticleFilterList += [result.popToolsAndMerge(ParticlePositionFilterDynamicCfg(flags))]
155 from SimulationConfig.SimEnums import CavernBackground
156 if not (flags.Detector.GeometryAFP or flags.Detector.GeometryALFA or flags.Detector.GeometryFwdRegion) \
157 and not flags.Detector.GeometryCavern \
158 and flags.Sim.CavernBackground in [CavernBackground.Off, CavernBackground.Signal]:
159 genParticleFilterList += [result.popToolsAndMerge(EtaPhiFilterCfg(flags))]
160 genParticleFilterList += [result.popToolsAndMerge(GenParticleInteractingFilterCfg(flags))]
161 result.setPrivateTools(genParticleFilterList)
162 return result
163
164

◆ GenParticleInteractingFilterCfg()

ISF_HepMC_ToolsConfig.GenParticleInteractingFilterCfg ( flags,
name = "ISF_GenParticleInteractingFilter",
** kwargs )

Definition at line 124 of file ISF_HepMC_ToolsConfig.py.

124def GenParticleInteractingFilterCfg(flags, name="ISF_GenParticleInteractingFilter", **kwargs):
125 result = ComponentAccumulator()
126 kwargs.setdefault("AdditionalInteractingParticleTypes", eval(flags.Input.SpecialConfiguration.get("InteractingPDGCodes", "[]")))
127 kwargs.setdefault("AdditionalNonInteractingParticleTypes", eval(flags.Input.SpecialConfiguration.get("NonInteractingPDGCodes", "[]")))
128 result.setPrivateTools(CompFactory.ISF.GenParticleInteractingFilter(name, **kwargs))
129 return result
130
131

◆ GenParticleSimQuasiStableFilterCfg()

ISF_HepMC_ToolsConfig.GenParticleSimQuasiStableFilterCfg ( flags,
name = "ISF_GenParticleSimQuasiStableFilter",
** kwargs )

Definition at line 31 of file ISF_HepMC_ToolsConfig.py.

31def GenParticleSimQuasiStableFilterCfg(flags, name="ISF_GenParticleSimQuasiStableFilter", **kwargs):
32 result = ComponentAccumulator()
33 result.setPrivateTools(CompFactory.ISF.GenParticleSimQuasiStableFilter(name, **kwargs))
34 return result
35
36
37@AccumulatorCache

◆ KeepAllDecayChildrenStrategyCfg()

ISF_HepMC_ToolsConfig.KeepAllDecayChildrenStrategyCfg ( flags,
name = "ISF_KeepAllDecayChildrenStrategy",
** kwargs )

Definition at line 326 of file ISF_HepMC_ToolsConfig.py.

326def KeepAllDecayChildrenStrategyCfg(flags, name="ISF_KeepAllDecayChildrenStrategy", **kwargs):
327 result = ComponentAccumulator()
328 # ProcessCategory==9 corresponds to the "fUserDefined" G4ProcessType:
329 # http://www-geant4.kek.jp/lxr/source//processes/management/include/G4ProcessType.hh
330 kwargs.setdefault("PassProcessCategory", 9) # ==
331 kwargs.setdefault("VertexTypeRangeLow" , 200) # All kinds of decay processes
332 kwargs.setdefault("VertexTypeRangeHigh", 299) # ...
333 result.setPrivateTools(CompFactory.ISF.KeepChildrenTruthStrategy(name, **kwargs))
334 return result
335
336

◆ KeepHadronicInteractionChildrenStrategyCfg()

ISF_HepMC_ToolsConfig.KeepHadronicInteractionChildrenStrategyCfg ( flags,
name = "ISF_KeepHadronicInteractionChildrenStrategy",
** kwargs )

Definition at line 337 of file ISF_HepMC_ToolsConfig.py.

337def KeepHadronicInteractionChildrenStrategyCfg(flags, name="ISF_KeepHadronicInteractionChildrenStrategy", **kwargs):
338 result = ComponentAccumulator()
339 kwargs.setdefault("VertexTypes", [111, 121, 131, 141, 151, 161, 210])
340 result.setPrivateTools(CompFactory.ISF.KeepChildrenTruthStrategy(name, **kwargs))
341 return result

◆ KeepLLPDecayChildrenStrategyCfg()

ISF_HepMC_ToolsConfig.KeepLLPDecayChildrenStrategyCfg ( flags,
name = "ISF_KeepLLPDecayChildrenStrategy",
** kwargs )

Definition at line 306 of file ISF_HepMC_ToolsConfig.py.

306def KeepLLPDecayChildrenStrategyCfg(flags, name="ISF_KeepLLPDecayChildrenStrategy", **kwargs):
307 result = ComponentAccumulator()
308 # ProcessCategory==9 corresponds to the "fUserDefined" G4ProcessType:
309 # http://www-geant4.kek.jp/lxr/source//processes/management/include/G4ProcessType.hh
310 kwargs.setdefault("PassProcessCategory", 9) # ==
311 kwargs.setdefault("VertexTypeRangeLow" , 200) # All kinds of decay processes
312 kwargs.setdefault("VertexTypeRangeHigh", 299) # ...
313 kwargs.setdefault("BSMParent" , True)
314 result.setPrivateTools(CompFactory.ISF.KeepChildrenTruthStrategy(name, **kwargs))
315 return result
316
317

◆ KeepLLPHadronicInteractionChildrenStrategyCfg()

ISF_HepMC_ToolsConfig.KeepLLPHadronicInteractionChildrenStrategyCfg ( flags,
name = "ISF_KeepLLPHadronicInteractionChildrenStrategy",
** kwargs )

Definition at line 318 of file ISF_HepMC_ToolsConfig.py.

318def KeepLLPHadronicInteractionChildrenStrategyCfg(flags, name="ISF_KeepLLPHadronicInteractionChildrenStrategy", **kwargs):
319 result = ComponentAccumulator()
320 kwargs.setdefault("VertexTypes", [111, 121, 131, 141, 151, 161, 210])
321 kwargs.setdefault("BSMParent" , True)
322 result.setPrivateTools(CompFactory.ISF.KeepChildrenTruthStrategy(name, **kwargs))
323 return result
324
325

◆ LLPTruthStrategyCfg()

ISF_HepMC_ToolsConfig.LLPTruthStrategyCfg ( flags,
name = "ISF_LLPTruthStrategy",
** kwargs )

Definition at line 294 of file ISF_HepMC_ToolsConfig.py.

294def LLPTruthStrategyCfg(flags, name="ISF_LLPTruthStrategy", **kwargs):
295 result = ComponentAccumulator()
296 kwargs.setdefault("PassProcessCodeRangeLow", 200)
297 kwargs.setdefault("PassProcessCodeRangeHigh", 299)
298 # ProcessCategory==9 corresponds to the "fUserDefined" G4ProcessType:
299 # http://www-geant4.kek.jp/lxr/source//processes/management/include/G4ProcessType.hh
300 kwargs.setdefault("PassProcessCategory", 9) # ==
301 kwargs.setdefault("Regions", [1,2,3,4])
302 result.setPrivateTools(CompFactory.ISF.LLPTruthStrategy(name, **kwargs))
303 return result
304
305

◆ ParticleFinalStateFilterCfg()

ISF_HepMC_ToolsConfig.ParticleFinalStateFilterCfg ( flags,
name = "ISF_ParticleFinalStateFilter",
** kwargs )

Definition at line 13 of file ISF_HepMC_ToolsConfig.py.

13def ParticleFinalStateFilterCfg(flags, name="ISF_ParticleFinalStateFilter", **kwargs):
14 result = ComponentAccumulator()
15 G4NotInUse = not flags.Sim.UsingGeant4
16 G4NotInUse = G4NotInUse and flags.Sim.ISFRun
17 # use CheckGenInteracting==False to allow GenEvent neutrinos to propagate into the simulation
18 kwargs.setdefault("CheckGenSimStable", G4NotInUse)
19 kwargs.setdefault("CheckGenInteracting", G4NotInUse)
20 result.setPrivateTools(CompFactory.ISF.GenParticleFinalStateFilter(name, **kwargs))
21 return result
22
23

◆ ParticlePositionFilterCaloCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterCaloCfg ( flags,
name = "ISF_ParticlePositionFilterCalo",
** kwargs )

Definition at line 73 of file ISF_HepMC_ToolsConfig.py.

73def ParticlePositionFilterCaloCfg(flags, name="ISF_ParticlePositionFilterCalo", **kwargs):
74 # importing Reflex dictionary to access AtlasDetDescr::AtlasRegion enum
75 import ROOT, cppyy
76 cppyy.load_library("libAtlasDetDescrDict")
77 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
78
79 kwargs.setdefault("CheckRegion" , [ AtlasRegion.fAtlasID,
80 AtlasRegion.fAtlasForward,
81 AtlasRegion.fAtlasCalo ] )
82 return ParticlePositionFilterCfg(flags, name, **kwargs)
83
84

◆ ParticlePositionFilterCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterCfg ( flags,
name = "ISF_ParticlePositionFilter",
** kwargs )

Definition at line 55 of file ISF_HepMC_ToolsConfig.py.

55def ParticlePositionFilterCfg(flags, name="ISF_ParticlePositionFilter", **kwargs):
56 result = ComponentAccumulator()
57 # ParticlePositionFilter
58 kwargs.setdefault("GeoIDService", result.getPrimaryAndMerge(GeoIDSvcCfg(flags)))
59 result.setPrivateTools(CompFactory.ISF.GenParticlePositionFilter(name, **kwargs))
60 return result
61
62

◆ ParticlePositionFilterDynamicCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterDynamicCfg ( flags,
name = "ISF_ParticlePositionFilterDynamic",
** kwargs )

Definition at line 111 of file ISF_HepMC_ToolsConfig.py.

111def ParticlePositionFilterDynamicCfg(flags, name="ISF_ParticlePositionFilterDynamic", **kwargs):
112 # automatically choose the best fitting filter region
113
114 if flags.Detector.EnableMuon:
115 return ParticlePositionFilterWorldCfg(flags, name, **kwargs)
116 elif flags.Detector.EnableCalo:
117 return ParticlePositionFilterCaloCfg(flags, name, **kwargs)
118 elif flags.Detector.EnableID:
119 return ParticlePositionFilterIDCfg(flags, name, **kwargs)
120 else:
121 return ParticlePositionFilterWorldCfg(flags, name, **kwargs)
122
123

◆ ParticlePositionFilterIDCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterIDCfg ( flags,
name = "ISF_ParticlePositionFilterID",
** kwargs )

Definition at line 63 of file ISF_HepMC_ToolsConfig.py.

63def ParticlePositionFilterIDCfg(flags, name="ISF_ParticlePositionFilterID", **kwargs):
64 # importing Reflex dictionary to access AtlasDetDescr::AtlasRegion enum
65 import ROOT, cppyy
66 cppyy.load_library("libAtlasDetDescrDict")
67 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
68
69 kwargs.setdefault("CheckRegion" , [ AtlasRegion.fAtlasID ] )
70 return ParticlePositionFilterCfg(flags, name, **kwargs)
71
72

◆ ParticlePositionFilterMSCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterMSCfg ( name = "ISF_ParticlePositionFilterMS",
** kwargs )

Definition at line 85 of file ISF_HepMC_ToolsConfig.py.

85def ParticlePositionFilterMSCfg(name="ISF_ParticlePositionFilterMS", **kwargs):
86 # importing Reflex dictionary to access AtlasDetDescr::AtlasRegion enum
87 import ROOT, cppyy
88 cppyy.load_library("libAtlasDetDescrDict")
89 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
90
91 kwargs.setdefault("CheckRegion" , [ AtlasRegion.fAtlasID,
92 AtlasRegion.fAtlasForward,
93 AtlasRegion.fAtlasCalo,
94 AtlasRegion.fAtlasMS ] )
95 return ParticlePositionFilterCfg(name, **kwargs)
96
97

◆ ParticlePositionFilterWorldCfg()

ISF_HepMC_ToolsConfig.ParticlePositionFilterWorldCfg ( flags,
name = "ISF_ParticlePositionFilterWorld",
** kwargs )

Definition at line 98 of file ISF_HepMC_ToolsConfig.py.

98def ParticlePositionFilterWorldCfg(flags, name="ISF_ParticlePositionFilterWorld", **kwargs):
99 # importing Reflex dictionary to access AtlasDetDescr::AtlasRegion enum
100 import ROOT, cppyy
101 cppyy.load_library("libAtlasDetDescrDict")
102 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
103 kwargs.setdefault("CheckRegion" , [ AtlasRegion.fAtlasID,
104 AtlasRegion.fAtlasForward,
105 AtlasRegion.fAtlasCalo,
106 AtlasRegion.fAtlasMS,
107 AtlasRegion.fAtlasCavern ] )
108 return ParticlePositionFilterCfg(flags, name, **kwargs)
109
110

◆ ParticleSimAcceptList_ExtraParticlesCfg()

ISF_HepMC_ToolsConfig.ParticleSimAcceptList_ExtraParticlesCfg ( flags,
name = "ISF_ParticleSimAcceptList_ExtraParticles",
** kwargs )

Definition at line 38 of file ISF_HepMC_ToolsConfig.py.

38def ParticleSimAcceptList_ExtraParticlesCfg(flags, name="ISF_ParticleSimAcceptList_ExtraParticles", **kwargs):
39 result = ComponentAccumulator()
40 acceptLists = ["G4particle_acceptlist.txt"]
41 # Basically a copy of code from ExtraParticles.ExtraParticlesConfig for now.
42 from ExtraParticles import PDGHelpers
43 if PDGHelpers.getPDGTABLE('PDGTABLE.MeV'):
44 parser = PDGHelpers.PDGParser('PDGTABLE.MeV', '111-556,1112-9090226')
45 parser.createList() # NB ignore output here
46 acceptLists += ["G4particle_acceptlist_ExtraParticles.txt"]
47 else:
48 print ('ERROR Failed to find PDGTABLE.MeV file')
49 kwargs.setdefault("AcceptLists" , acceptLists )
50 kwargs.setdefault("UseShadowEvent", flags.Sim.UseShadowEvent)
51 result.setPrivateTools(CompFactory.ISF.GenParticleSimAcceptList(name, **kwargs))
52 return result
53
54
getPDGTABLE(table)
Definition PDGHelpers.py:37

◆ ParticleSimAcceptListCfg()

ISF_HepMC_ToolsConfig.ParticleSimAcceptListCfg ( flags,
name = "ISF_ParticleSimAcceptList",
** kwargs )

Definition at line 24 of file ISF_HepMC_ToolsConfig.py.

24def ParticleSimAcceptListCfg(flags, name="ISF_ParticleSimAcceptList", **kwargs):
25 result = ComponentAccumulator()
26 kwargs.setdefault("UseShadowEvent", flags.Sim.UseShadowEvent)
27 result.setPrivateTools(CompFactory.ISF.GenParticleSimAcceptList(name, **kwargs))
28 return result
29
30

◆ TruthPreselectionToolCfg()

ISF_HepMC_ToolsConfig.TruthPreselectionToolCfg ( flags,
name = "TruthPreselectionTool",
** kwargs )

Definition at line 165 of file ISF_HepMC_ToolsConfig.py.

165def TruthPreselectionToolCfg(flags, name="TruthPreselectionTool", **kwargs):
166 result = ComponentAccumulator()
167 kwargs.setdefault( "GenParticleFilters", result.popToolsAndMerge(GenParticleFilterToolsCfg(flags)) )
168 kwargs.setdefault("QuasiStableParticleFilter", result.popToolsAndMerge(GenParticleSimQuasiStableFilterCfg(flags)))
169 result.setPrivateTools(CompFactory.ISF.TruthPreselectionTool(name, **kwargs))
170 return result
171
172#--------------------------------------------------------------------------------------------------

◆ TruthStrategyGroupCaloDecay_MC15Cfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloDecay_MC15Cfg ( flags,
name = "ISF_MCTruthStrategyGroupCaloDecay_MC15",
** kwargs )

Definition at line 221 of file ISF_HepMC_ToolsConfig.py.

221def TruthStrategyGroupCaloDecay_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupCaloDecay_MC15", **kwargs):
222 result = ComponentAccumulator()
223 kwargs.setdefault("ParentMinEkin", 1000.*MeV)
224 kwargs.setdefault("ChildMinEkin" , 500.*MeV)
225 kwargs.setdefault("VertexTypes" , [5, 6, 7])
226 kwargs.setdefault("VertexTypeRangeLow" , 201) # All kinds of decay processes
227 kwargs.setdefault("VertexTypeRangeHigh", 298) # ...
228 kwargs.setdefault("Regions", [3])
229 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
230 return result
231
232

◆ TruthStrategyGroupCaloDecayCfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloDecayCfg ( flags,
name = "ISF_MCTruthStrategyGroupCaloDecay",
** kwargs )

Definition at line 267 of file ISF_HepMC_ToolsConfig.py.

267def TruthStrategyGroupCaloDecayCfg(flags, name="ISF_MCTruthStrategyGroupCaloDecay", **kwargs):
268 result = ComponentAccumulator()
269 kwargs.setdefault("ParentMinPt", 1000.*MeV)
270 kwargs.setdefault("ChildMinPt" , 500.*MeV)
271 kwargs.setdefault("VertexTypes", [5, 6, 7])
272 kwargs.setdefault("VertexTypeRangeLow" , 201) # All kinds of decay processes
273 kwargs.setdefault("VertexTypeRangeHigh", 298) # ...
274 kwargs.setdefault("Regions", [3])
275 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
276 return result
277

◆ TruthStrategyGroupCaloMuBrem_MC15Cfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloMuBrem_MC15Cfg ( flags,
name = "ISF_MCTruthStrategyGroupCaloMuBrem_MC15",
** kwargs )

Definition at line 256 of file ISF_HepMC_ToolsConfig.py.

256def TruthStrategyGroupCaloMuBrem_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupCaloMuBrem_MC15", **kwargs):
257 result = ComponentAccumulator()
258 kwargs.setdefault("ParentMinEkin", 500.*MeV)
259 kwargs.setdefault("ChildMinEkin" , 300.*MeV)
260 kwargs.setdefault("VertexTypes" , [3])
261 kwargs.setdefault("ParentPDGCodes", [13, -13])
262 kwargs.setdefault("Regions", [3])
263 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
264 return result
265
266

◆ TruthStrategyGroupCaloMuBremCfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloMuBremCfg ( flags,
name = "ISF_MCTruthStrategyGroupCaloMuBrem",
** kwargs )

Definition at line 210 of file ISF_HepMC_ToolsConfig.py.

210def TruthStrategyGroupCaloMuBremCfg(flags, name="ISF_MCTruthStrategyGroupCaloMuBrem", **kwargs):
211 result = ComponentAccumulator()
212 kwargs.setdefault("ParentMinEkin", 500.*MeV)
213 kwargs.setdefault("ChildMinEkin" , 100.*MeV)
214 kwargs.setdefault("VertexTypes" , [3])
215 kwargs.setdefault("ParentPDGCodes", [13, -13])
216 kwargs.setdefault("Regions", [3])
217 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
218 return result
219
220

◆ TruthStrategyGroupID_MC15Cfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupID_MC15Cfg ( flags,
name = "ISF_MCTruthStrategyGroupID_MC15",
** kwargs )

Truth Strategies.

Definition at line 187 of file ISF_HepMC_ToolsConfig.py.

187def TruthStrategyGroupID_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupID_MC15", **kwargs):
188 result = ComponentAccumulator()
189 kwargs.setdefault("ParentMinPt", 100.*MeV)
190 kwargs.setdefault("ChildMinPt" , 300.*MeV)
191 kwargs.setdefault("VertexTypes", [3, 14, 15, 4, 5, 6, 7, 2, 12, 13])
192 kwargs.setdefault("VertexTypeRangeLow", 201) # All kinds of decay processes
193 kwargs.setdefault("VertexTypeRangeHigh", 298) # ...
194 kwargs.setdefault("Regions", [1,2]) # Could import AtlasDetDescr::AtlasRegion enum as in TruthService Cfg methods here
195 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
196 return result
197
198

◆ TruthStrategyGroupIDCfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupIDCfg ( flags,
name = "ISF_MCTruthStrategyGroupID",
** kwargs )

Definition at line 233 of file ISF_HepMC_ToolsConfig.py.

233def TruthStrategyGroupIDCfg(flags, name="ISF_MCTruthStrategyGroupID", **kwargs):
234 result = ComponentAccumulator()
235 kwargs.setdefault("ParentMinPt", 100.*MeV)
236 kwargs.setdefault("ChildMinPt" , 100.*MeV)
237 kwargs.setdefault("VertexTypes", [3, 14, 15, 4, 5, 6, 7, 2, 12, 13])
238 kwargs.setdefault("VertexTypeRangeLow" , 201) # All kinds of decay processes
239 kwargs.setdefault("VertexTypeRangeHigh" , 298) # ...
240 kwargs.setdefault("Regions", [1,2])
241 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
242 return result
243
244

◆ TruthStrategyGroupIDHadInt_MC15Cfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupIDHadInt_MC15Cfg ( flags,
name = "ISF_MCTruthStrategyGroupIDHadInt_MC15",
** kwargs )

Definition at line 199 of file ISF_HepMC_ToolsConfig.py.

199def TruthStrategyGroupIDHadInt_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupIDHadInt_MC15", **kwargs):
200 result = ComponentAccumulator()
201 kwargs.setdefault("ParentMinPt", 100.*MeV)
202 kwargs.setdefault("ChildMinPt" , 300.*MeV)
203 kwargs.setdefault("VertexTypes", [111, 121, 131, 141, 151, 161, 210])
204 kwargs.setdefault("AllowChildrenOrParentPassKineticCuts", True)
205 kwargs.setdefault("Regions", [1])
206 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
207 return result
208
209

◆ TruthStrategyGroupIDHadIntCfg()

ISF_HepMC_ToolsConfig.TruthStrategyGroupIDHadIntCfg ( flags,
name = "ISF_MCTruthStrategyGroupIDHadInt",
** kwargs )

Definition at line 245 of file ISF_HepMC_ToolsConfig.py.

245def TruthStrategyGroupIDHadIntCfg(flags, name="ISF_MCTruthStrategyGroupIDHadInt", **kwargs):
246 result = ComponentAccumulator()
247 kwargs.setdefault("ParentMinPt", 100.*MeV)
248 kwargs.setdefault("ChildMinPt" , 100.*MeV)
249 kwargs.setdefault("VertexTypes", [111, 121, 131, 141, 151, 161, 210])
250 kwargs.setdefault("AllowChildrenOrParentPassKineticCuts", True)
251 kwargs.setdefault("Regions", [1])
252 result.setPrivateTools(CompFactory.ISF.GenericTruthStrategy(name, **kwargs))
253 return result
254
255

◆ ValidationTruthStrategyCfg()

ISF_HepMC_ToolsConfig.ValidationTruthStrategyCfg ( flags,
name = "ISF_ValidationTruthStrategy",
** kwargs )

Definition at line 278 of file ISF_HepMC_ToolsConfig.py.

278def ValidationTruthStrategyCfg(flags, name="ISF_ValidationTruthStrategy", **kwargs):
279 result = ComponentAccumulator()
280 kwargs.setdefault("ParentMinP", 50.*MeV)
281 kwargs.setdefault("Regions", [1,2,3,4])
282 result.setPrivateTools(CompFactory.ISF.ValidationTruthStrategy(name, **kwargs))
283 return result
284
285