ATLAS Offline Software
Functions
ISF_HepMC_ToolsConfig Namespace Reference

Functions

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

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

Definition at line 132 of file ISF_HepMC_ToolsConfig.py.

132 def 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()

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

Definition at line 286 of file ISF_HepMC_ToolsConfig.py.

286 def 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()

def ISF_HepMC_ToolsConfig.GenParticleFilterToolsCfg (   flags)

Definition at line 144 of file ISF_HepMC_ToolsConfig.py.

144 def 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()

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

Definition at line 124 of file ISF_HepMC_ToolsConfig.py.

124 def 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()

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

Definition at line 31 of file ISF_HepMC_ToolsConfig.py.

31 def 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()

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

Definition at line 326 of file ISF_HepMC_ToolsConfig.py.

326 def 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()

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

Definition at line 337 of file ISF_HepMC_ToolsConfig.py.

337 def 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()

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

Definition at line 306 of file ISF_HepMC_ToolsConfig.py.

306 def 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()

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

Definition at line 318 of file ISF_HepMC_ToolsConfig.py.

318 def 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()

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

Definition at line 294 of file ISF_HepMC_ToolsConfig.py.

294 def 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()

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

Definition at line 13 of file ISF_HepMC_ToolsConfig.py.

13 def 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()

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

Definition at line 73 of file ISF_HepMC_ToolsConfig.py.

73 def 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()

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

Definition at line 55 of file ISF_HepMC_ToolsConfig.py.

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

◆ ParticlePositionFilterDynamicCfg()

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

Definition at line 111 of file ISF_HepMC_ToolsConfig.py.

111 def 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()

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

Definition at line 63 of file ISF_HepMC_ToolsConfig.py.

63 def 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()

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

Definition at line 85 of file ISF_HepMC_ToolsConfig.py.

85 def 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()

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

Definition at line 98 of file ISF_HepMC_ToolsConfig.py.

98 def 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()

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

Definition at line 38 of file ISF_HepMC_ToolsConfig.py.

38 def 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 

◆ ParticleSimAcceptListCfg()

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

Definition at line 24 of file ISF_HepMC_ToolsConfig.py.

24 def 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()

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

Definition at line 165 of file ISF_HepMC_ToolsConfig.py.

165 def 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()

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

Definition at line 221 of file ISF_HepMC_ToolsConfig.py.

221 def 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()

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

Definition at line 267 of file ISF_HepMC_ToolsConfig.py.

267 def 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()

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

Definition at line 256 of file ISF_HepMC_ToolsConfig.py.

256 def 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()

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

Definition at line 210 of file ISF_HepMC_ToolsConfig.py.

210 def 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()

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

Truth Strategies.

Definition at line 187 of file ISF_HepMC_ToolsConfig.py.

187 def 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()

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

Definition at line 233 of file ISF_HepMC_ToolsConfig.py.

233 def 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()

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

Definition at line 199 of file ISF_HepMC_ToolsConfig.py.

199 def 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()

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

Definition at line 245 of file ISF_HepMC_ToolsConfig.py.

245 def 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()

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

Definition at line 278 of file ISF_HepMC_ToolsConfig.py.

278 def 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 
ISF_HepMC_ToolsConfig.ParticlePositionFilterDynamicCfg
def ParticlePositionFilterDynamicCfg(flags, name="ISF_ParticlePositionFilterDynamic", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:111
PDGHelpers.PDGParser
Definition: PDGHelpers.py:109
ISF_HepMC_ToolsConfig.GenParticleSimQuasiStableFilterCfg
def GenParticleSimQuasiStableFilterCfg(flags, name="ISF_GenParticleSimQuasiStableFilter", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:31
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ISF_HepMC_ToolsConfig.ParticleSimAcceptListCfg
def ParticleSimAcceptListCfg(flags, name="ISF_ParticleSimAcceptList", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:24
ISF_HepMC_ToolsConfig.EtaPhiFilterCfg
def EtaPhiFilterCfg(flags, name="ISF_EtaPhiFilter", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:132
PDGHelpers.getPDGTABLE
def getPDGTABLE(table)
Definition: PDGHelpers.py:37
ISF_HepMC_ToolsConfig.GenParticleFilterToolsCfg
def GenParticleFilterToolsCfg(flags)
Definition: ISF_HepMC_ToolsConfig.py:144
ISF_HepMC_ToolsConfig.FCSParamTruthStrategyCfg
def FCSParamTruthStrategyCfg(flags, name="ISF_ValidationTruthStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:286
ISF_HepMC_ToolsConfig.KeepLLPHadronicInteractionChildrenStrategyCfg
def KeepLLPHadronicInteractionChildrenStrategyCfg(flags, name="ISF_KeepLLPHadronicInteractionChildrenStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:318
ISF_HepMC_ToolsConfig.TruthStrategyGroupID_MC15Cfg
def TruthStrategyGroupID_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupID_MC15", **kwargs)
Truth Strategies.
Definition: ISF_HepMC_ToolsConfig.py:187
ISF_HepMC_ToolsConfig.ParticlePositionFilterCfg
def ParticlePositionFilterCfg(flags, name="ISF_ParticlePositionFilter", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:55
ISF_HepMC_ToolsConfig.GenParticleInteractingFilterCfg
def GenParticleInteractingFilterCfg(flags, name="ISF_GenParticleInteractingFilter", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:124
ISF_HepMC_ToolsConfig.TruthStrategyGroupIDHadInt_MC15Cfg
def TruthStrategyGroupIDHadInt_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupIDHadInt_MC15", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:199
ISF_HepMC_ToolsConfig.TruthPreselectionToolCfg
def TruthPreselectionToolCfg(flags, name="TruthPreselectionTool", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:165
ISF_HepMC_ToolsConfig.ValidationTruthStrategyCfg
def ValidationTruthStrategyCfg(flags, name="ISF_ValidationTruthStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:278
ISF_HepMC_ToolsConfig.KeepHadronicInteractionChildrenStrategyCfg
def KeepHadronicInteractionChildrenStrategyCfg(flags, name="ISF_KeepHadronicInteractionChildrenStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:337
ISF_HepMC_ToolsConfig.KeepLLPDecayChildrenStrategyCfg
def KeepLLPDecayChildrenStrategyCfg(flags, name="ISF_KeepLLPDecayChildrenStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:306
ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloMuBrem_MC15Cfg
def TruthStrategyGroupCaloMuBrem_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupCaloMuBrem_MC15", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:256
ISF_HepMC_ToolsConfig.TruthStrategyGroupIDHadIntCfg
def TruthStrategyGroupIDHadIntCfg(flags, name="ISF_MCTruthStrategyGroupIDHadInt", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:245
ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloDecay_MC15Cfg
def TruthStrategyGroupCaloDecay_MC15Cfg(flags, name="ISF_MCTruthStrategyGroupCaloDecay_MC15", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:221
ISF_HepMC_ToolsConfig.ParticleFinalStateFilterCfg
def ParticleFinalStateFilterCfg(flags, name="ISF_ParticleFinalStateFilter", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:13
ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloMuBremCfg
def TruthStrategyGroupCaloMuBremCfg(flags, name="ISF_MCTruthStrategyGroupCaloMuBrem", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:210
ISF_HepMC_ToolsConfig.ParticlePositionFilterWorldCfg
def ParticlePositionFilterWorldCfg(flags, name="ISF_ParticlePositionFilterWorld", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:98
ISF_HepMC_ToolsConfig.ParticlePositionFilterCaloCfg
def ParticlePositionFilterCaloCfg(flags, name="ISF_ParticlePositionFilterCalo", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:73
ISF_HepMC_ToolsConfig.TruthStrategyGroupCaloDecayCfg
def TruthStrategyGroupCaloDecayCfg(flags, name="ISF_MCTruthStrategyGroupCaloDecay", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:267
ISF_HepMC_ToolsConfig.ParticleSimAcceptList_ExtraParticlesCfg
def ParticleSimAcceptList_ExtraParticlesCfg(flags, name="ISF_ParticleSimAcceptList_ExtraParticles", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:38
ISF_HepMC_ToolsConfig.ParticlePositionFilterMSCfg
def ParticlePositionFilterMSCfg(name="ISF_ParticlePositionFilterMS", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:85
ISF_HepMC_ToolsConfig.LLPTruthStrategyCfg
def LLPTruthStrategyCfg(flags, name="ISF_LLPTruthStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:294
ISF_HepMC_ToolsConfig.TruthStrategyGroupIDCfg
def TruthStrategyGroupIDCfg(flags, name="ISF_MCTruthStrategyGroupID", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:233
ISF_HepMC_ToolsConfig.KeepAllDecayChildrenStrategyCfg
def KeepAllDecayChildrenStrategyCfg(flags, name="ISF_KeepAllDecayChildrenStrategy", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:326
ISF_ServicesCoreConfig.GeoIDSvcCfg
def GeoIDSvcCfg(flags, name="ISF_GeoIDSvc", **kwargs)
Definition: ISF_ServicesCoreConfig.py:22
ISF_HepMC_ToolsConfig.ParticlePositionFilterIDCfg
def ParticlePositionFilterIDCfg(flags, name="ISF_ParticlePositionFilterID", **kwargs)
Definition: ISF_HepMC_ToolsConfig.py:63