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

Functions

 DefaultParticleKillerSelectorCfg (flags, name="ISF_DefaultParticleKillerSelector", **kwargs)
 DefaultGeant4SelectorCfg (flags, name="ISF_DefaultGeant4Selector", **kwargs)
 DefaultATLFAST_Geant4SelectorCfg (flags, name="ISF_DefaultATLFAST_Geant4Selector", **kwargs)
 FullGeant4SelectorCfg (flags, name="ISF_FullGeant4Selector", **kwargs)
 PassBackGeant4SelectorCfg (flags, name="ISF_PassBackGeant4Selector", **kwargs)
 DefaultFastCaloSimSelectorCfg (flags, name="ISF_DefaultFastCaloSimSelector", **kwargs)
 DefaultFastCaloSimV2SelectorCfg (flags, name="ISF_DefaultFastCaloSimV2Selector", **kwargs)
 DefaultDNNCaloSimSelectorCfg (flags, name="ISF_DefaultDNNCaloSimSelector", **kwargs)
 FastHitConvAlgFastCaloSimSelectorCfg (flags, name="ISF_FastHitConvAlgFastCaloSimSelector", **kwargs)
 DefaultFatrasSelectorCfg (flags, name="ISF_DefaultFatrasSelector", **kwargs)
 DefaultActsSelectorCfg (flags, name="ISF_DefaultActsSelector", **kwargs)
 BaseKinematicGeant4SelectorCfg (flags, name="DONOTUSEDIRECTLY", **kwargs)
 KinematicSimSelector Configurations.
 BaseKinematicATLFAST_Geant4SelectorCfg (flags, name="DONOTUSEDIRECTLY", **kwargs)
 BaseKinematicFatrasSelectorCfg (flags, name="DONOTUSEDIRECTLY", **kwargs)
 BaseKinematicFastCaloSimSelectorCfg (flags, name="DONOTUSEDIRECTLY", **kwargs)
 BaseKinematicParticleKillerSimSelectorCfg (flags, name="DONOTUSEDIRECTLY", **kwargs)
 ProtonATLFAST_Geant4SelectorCfg (flags, name="ISF_ProtonATLFAST_Geant4Selector", **kwargs)
 PionATLFAST_Geant4SelectorCfg (flags, name="ISF_PionATLFAST_Geant4Selector", **kwargs)
 NeutronATLFAST_Geant4SelectorCfg (flags, name="ISF_NeutronATLFAST_Geant4Selector", **kwargs)
 ChargedKaonATLFAST_Geant4SelectorCfg (flags, name="ISF_ChargedKaonATLFAST_Geant4Selector", **kwargs)
 KLongATLFAST_Geant4SelectorCfg (flags, name="ISF_KLongATLFAST_Geant4Selector", **kwargs)
 MuonATLFAST_Geant4SelectorCfg (flags, name="ISF_MuonATLFAST_Geant4Selector", **kwargs)
 WithinEta5FastCaloSimSelectorCfg (flags, name="ISF_WithinEta5FastCaloSimSelector", **kwargs)
 EtaGreater5ParticleKillerSimSelectorCfg (flags, name="ISF_EtaGreater5ParticleKillerSimSelector", **kwargs)

Detailed Description

ISF_SimulationSelectors for ComponentAccumulator configuration

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

Function Documentation

◆ BaseKinematicATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.BaseKinematicATLFAST_Geant4SelectorCfg ( flags,
name = "DONOTUSEDIRECTLY",
** kwargs )

Definition at line 134 of file ISF_SimulationSelectorsConfig.py.

134def BaseKinematicATLFAST_Geant4SelectorCfg(flags, name="DONOTUSEDIRECTLY", **kwargs):
135 acc = ComponentAccumulator()
136 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
137 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(ATLFAST_Geant4SimCfg(flags)))
138 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Geant4)
139 acc.setPrivateTools(CompFactory.ISF.KinematicSimSelector(name, **kwargs))
140 return acc
141
142

◆ BaseKinematicFastCaloSimSelectorCfg()

ISF_SimulationSelectorsConfig.BaseKinematicFastCaloSimSelectorCfg ( flags,
name = "DONOTUSEDIRECTLY",
** kwargs )

Definition at line 153 of file ISF_SimulationSelectorsConfig.py.

153def BaseKinematicFastCaloSimSelectorCfg(flags, name="DONOTUSEDIRECTLY", **kwargs):
154 acc = ComponentAccumulator()
155 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
156 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import FastCaloSimSvcCfg
157 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(FastCaloSimSvcCfg(flags)))
158 kwargs.setdefault("SimulationFlavor", SimulationFlavor.FastCaloSim)
159 acc.setPrivateTools(CompFactory.ISF.KinematicSimSelector(name, **kwargs))
160 return acc
161
162

◆ BaseKinematicFatrasSelectorCfg()

ISF_SimulationSelectorsConfig.BaseKinematicFatrasSelectorCfg ( flags,
name = "DONOTUSEDIRECTLY",
** kwargs )

Definition at line 143 of file ISF_SimulationSelectorsConfig.py.

143def BaseKinematicFatrasSelectorCfg(flags, name="DONOTUSEDIRECTLY", **kwargs):
144 acc = ComponentAccumulator()
145 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
146 from ISF_FatrasServices.ISF_FatrasConfig import fatrasSimServiceIDCfg
147 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(fatrasSimServiceIDCfg(flags)))
148 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Fatras)
149 acc.setPrivateTools(CompFactory.ISF.KinematicSimSelector(name, **kwargs))
150 return acc
151
152

◆ BaseKinematicGeant4SelectorCfg()

ISF_SimulationSelectorsConfig.BaseKinematicGeant4SelectorCfg ( flags,
name = "DONOTUSEDIRECTLY",
** kwargs )

KinematicSimSelector Configurations.

Definition at line 124 of file ISF_SimulationSelectorsConfig.py.

124def BaseKinematicGeant4SelectorCfg(flags, name="DONOTUSEDIRECTLY", **kwargs):
125 acc = ComponentAccumulator()
126 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
127 acc.merge(Geant4SimCfg(flags))
128 kwargs.setdefault("Simulator", acc.getService("ISFG4SimSvc"))
129 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Geant4)
130 acc.setPrivateTools(CompFactory.ISF.KinematicSimSelector(name, **kwargs))
131 return acc
132
133

◆ BaseKinematicParticleKillerSimSelectorCfg()

ISF_SimulationSelectorsConfig.BaseKinematicParticleKillerSimSelectorCfg ( flags,
name = "DONOTUSEDIRECTLY",
** kwargs )

Definition at line 163 of file ISF_SimulationSelectorsConfig.py.

163def BaseKinematicParticleKillerSimSelectorCfg(flags, name="DONOTUSEDIRECTLY", **kwargs):
164 acc = ComponentAccumulator()
165 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
166 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(ParticleKillerSvcCfg(flags)))
167 kwargs.setdefault("SimulationFlavor", SimulationFlavor.ParticleKiller)
168 acc.setPrivateTools(CompFactory.ISF.KinematicSimSelector(name, **kwargs))
169 return acc
170
171
172#Protons

◆ ChargedKaonATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.ChargedKaonATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_ChargedKaonATLFAST_Geant4Selector",
** kwargs )

Definition at line 194 of file ISF_SimulationSelectorsConfig.py.

194def ChargedKaonATLFAST_Geant4SelectorCfg(flags, name="ISF_ChargedKaonATLFAST_Geant4Selector", **kwargs):
195 kwargs.setdefault("MaxEkin", 400)
196 kwargs.setdefault("ParticlePDG", 321)
197 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
198
199
200# KLongs

◆ DefaultActsSelectorCfg()

ISF_SimulationSelectorsConfig.DefaultActsSelectorCfg ( flags,
name = "ISF_DefaultActsSelector",
** kwargs )

Definition at line 112 of file ISF_SimulationSelectorsConfig.py.

112def DefaultActsSelectorCfg(flags, name="ISF_DefaultActsSelector", **kwargs):
113 acc = ComponentAccumulator()
114 if not flags.Sim.ISF.Simulator.isMT():
115 raise RuntimeError("SimulationSelector '%s' does not support running with SimKernel." % name)
116 kwargs.setdefault('SimulationFlavor', SimulationFlavor.Fatras)
117 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
118 return acc
119
120

◆ DefaultATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.DefaultATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_DefaultATLFAST_Geant4Selector",
** kwargs )

Definition at line 35 of file ISF_SimulationSelectorsConfig.py.

35def DefaultATLFAST_Geant4SelectorCfg(flags, name="ISF_DefaultATLFAST_Geant4Selector", **kwargs):
36 acc = ComponentAccumulator()
37 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
38 acc.merge(ATLFAST_Geant4SimCfg(flags))
39 kwargs.setdefault("Simulator", acc.getService("ISF_ATLFAST_Geant4SimSvc"))
40 tool = acc.popToolsAndMerge(DefaultGeant4SelectorCfg(flags, name, **kwargs))
41 acc.setPrivateTools(tool)
42 return acc
43
44

◆ DefaultDNNCaloSimSelectorCfg()

ISF_SimulationSelectorsConfig.DefaultDNNCaloSimSelectorCfg ( flags,
name = "ISF_DefaultDNNCaloSimSelector",
** kwargs )

Definition at line 83 of file ISF_SimulationSelectorsConfig.py.

83def DefaultDNNCaloSimSelectorCfg(flags, name="ISF_DefaultDNNCaloSimSelector", **kwargs):
84 acc = ComponentAccumulator()
85 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
86 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import DNNCaloSimSvcCfg
87 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(DNNCaloSimSvcCfg(flags)))
88 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
89 return acc
90
91

◆ DefaultFastCaloSimSelectorCfg()

ISF_SimulationSelectorsConfig.DefaultFastCaloSimSelectorCfg ( flags,
name = "ISF_DefaultFastCaloSimSelector",
** kwargs )

Definition at line 63 of file ISF_SimulationSelectorsConfig.py.

63def DefaultFastCaloSimSelectorCfg(flags, name="ISF_DefaultFastCaloSimSelector", **kwargs):
64 acc = ComponentAccumulator()
65 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
66 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import FastCaloSimSvcCfg
67 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(FastCaloSimSvcCfg(flags)))
68 kwargs.setdefault("SimulationFlavor", SimulationFlavor.FastCaloSim)
69 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
70 return acc
71
72

◆ DefaultFastCaloSimV2SelectorCfg()

ISF_SimulationSelectorsConfig.DefaultFastCaloSimV2SelectorCfg ( flags,
name = "ISF_DefaultFastCaloSimV2Selector",
** kwargs )

Definition at line 73 of file ISF_SimulationSelectorsConfig.py.

73def DefaultFastCaloSimV2SelectorCfg(flags, name="ISF_DefaultFastCaloSimV2Selector", **kwargs):
74 acc = ComponentAccumulator()
75 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
76 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import FastCaloSimV2SvcCfg
77 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(FastCaloSimV2SvcCfg(flags)))
78 kwargs.setdefault("SimulationFlavor", SimulationFlavor.FastCaloSimV2)
79 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
80 return acc
81
82

◆ DefaultFatrasSelectorCfg()

ISF_SimulationSelectorsConfig.DefaultFatrasSelectorCfg ( flags,
name = "ISF_DefaultFatrasSelector",
** kwargs )

Definition at line 102 of file ISF_SimulationSelectorsConfig.py.

102def DefaultFatrasSelectorCfg(flags, name="ISF_DefaultFatrasSelector", **kwargs):
103 acc = ComponentAccumulator()
104 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
105 from ISF_FatrasServices.ISF_FatrasConfig import fatrasSimServiceIDCfg
106 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(fatrasSimServiceIDCfg(flags)))
107 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Fatras)
108 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
109 return acc
110
111

◆ DefaultGeant4SelectorCfg()

ISF_SimulationSelectorsConfig.DefaultGeant4SelectorCfg ( flags,
name = "ISF_DefaultGeant4Selector",
** kwargs )

Definition at line 25 of file ISF_SimulationSelectorsConfig.py.

25def DefaultGeant4SelectorCfg(flags, name="ISF_DefaultGeant4Selector", **kwargs):
26 acc = ComponentAccumulator()
27 if "Simulator" not in kwargs:
28 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
29 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(Geant4SimCfg(flags)))
30 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Geant4)
31 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
32 return acc
33
34

◆ DefaultParticleKillerSelectorCfg()

ISF_SimulationSelectorsConfig.DefaultParticleKillerSelectorCfg ( flags,
name = "ISF_DefaultParticleKillerSelector",
** kwargs )

Definition at line 16 of file ISF_SimulationSelectorsConfig.py.

16def DefaultParticleKillerSelectorCfg(flags, name="ISF_DefaultParticleKillerSelector", **kwargs):
17 acc = ComponentAccumulator()
18 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
19 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(ParticleKillerSvcCfg(flags)))
20 kwargs.setdefault("SimulationFlavor", SimulationFlavor.ParticleKiller)
21 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
22 return acc
23
24

◆ EtaGreater5ParticleKillerSimSelectorCfg()

ISF_SimulationSelectorsConfig.EtaGreater5ParticleKillerSimSelectorCfg ( flags,
name = "ISF_EtaGreater5ParticleKillerSimSelector",
** kwargs )

Definition at line 220 of file ISF_SimulationSelectorsConfig.py.

220def EtaGreater5ParticleKillerSimSelectorCfg(flags, name="ISF_EtaGreater5ParticleKillerSimSelector", **kwargs):
221 kwargs.setdefault("MinPosEta", -5.0)
222 kwargs.setdefault("MaxPosEta", 5.0)
223 kwargs.setdefault("InvertCuts", True)
224 return BaseKinematicParticleKillerSimSelectorCfg(flags, name, **kwargs)

◆ FastHitConvAlgFastCaloSimSelectorCfg()

ISF_SimulationSelectorsConfig.FastHitConvAlgFastCaloSimSelectorCfg ( flags,
name = "ISF_FastHitConvAlgFastCaloSimSelector",
** kwargs )

Definition at line 92 of file ISF_SimulationSelectorsConfig.py.

92def FastHitConvAlgFastCaloSimSelectorCfg(flags, name="ISF_FastHitConvAlgFastCaloSimSelector", **kwargs):
93 acc = ComponentAccumulator()
94 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
95 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import FastHitConvAlgFastCaloSimSvcCfg
96 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(FastHitConvAlgFastCaloSimSvcCfg(flags)))
97 kwargs.setdefault("SimulationFlavor", SimulationFlavor.FastCaloSim)
98 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
99 return acc
100
101

◆ FullGeant4SelectorCfg()

ISF_SimulationSelectorsConfig.FullGeant4SelectorCfg ( flags,
name = "ISF_FullGeant4Selector",
** kwargs )

Definition at line 45 of file ISF_SimulationSelectorsConfig.py.

45def FullGeant4SelectorCfg(flags, name="ISF_FullGeant4Selector", **kwargs):
46 acc = ComponentAccumulator()
47 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
48 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(FullGeant4SimCfg(flags)))
49 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Geant4)
50 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
51 return acc
52
53

◆ KLongATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.KLongATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_KLongATLFAST_Geant4Selector",
** kwargs )

Definition at line 201 of file ISF_SimulationSelectorsConfig.py.

201def KLongATLFAST_Geant4SelectorCfg(flags, name="ISF_KLongATLFAST_Geant4Selector", **kwargs):
202 kwargs.setdefault("MaxEkin", 400)
203 kwargs.setdefault("ParticlePDG", 130)
204 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
205
206
207#Muons

◆ MuonATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.MuonATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_MuonATLFAST_Geant4Selector",
** kwargs )

Definition at line 208 of file ISF_SimulationSelectorsConfig.py.

208def MuonATLFAST_Geant4SelectorCfg(flags, name="ISF_MuonATLFAST_Geant4Selector", **kwargs):
209 kwargs.setdefault("ParticlePDG", 13)
210 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
211
212
213# General Eta-based selectors

◆ NeutronATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.NeutronATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_NeutronATLFAST_Geant4Selector",
** kwargs )

Definition at line 187 of file ISF_SimulationSelectorsConfig.py.

187def NeutronATLFAST_Geant4SelectorCfg(flags, name="ISF_NeutronATLFAST_Geant4Selector", **kwargs):
188 kwargs.setdefault("MaxEkin", 400)
189 kwargs.setdefault("ParticlePDG", 2112)
190 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
191
192
193# Charged Kaons

◆ PassBackGeant4SelectorCfg()

ISF_SimulationSelectorsConfig.PassBackGeant4SelectorCfg ( flags,
name = "ISF_PassBackGeant4Selector",
** kwargs )

Definition at line 54 of file ISF_SimulationSelectorsConfig.py.

54def PassBackGeant4SelectorCfg(flags, name="ISF_PassBackGeant4Selector", **kwargs):
55 acc = ComponentAccumulator()
56 if flags.Concurrency.NumThreads == 0 and not flags.Sim.ISF.Simulator.isMT():
57 kwargs.setdefault("Simulator", acc.getPrimaryAndMerge(PassBackGeant4SimCfg(flags)))
58 kwargs.setdefault("SimulationFlavor", SimulationFlavor.Geant4)
59 acc.setPrivateTools(CompFactory.ISF.DefaultSimSelector(name, **kwargs))
60 return acc
61
62

◆ PionATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.PionATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_PionATLFAST_Geant4Selector",
** kwargs )

Definition at line 180 of file ISF_SimulationSelectorsConfig.py.

180def PionATLFAST_Geant4SelectorCfg(flags, name="ISF_PionATLFAST_Geant4Selector", **kwargs):
181 kwargs.setdefault("MaxEkin", 200)
182 kwargs.setdefault("ParticlePDG", 211)
183 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
184
185
186# Neutrons

◆ ProtonATLFAST_Geant4SelectorCfg()

ISF_SimulationSelectorsConfig.ProtonATLFAST_Geant4SelectorCfg ( flags,
name = "ISF_ProtonATLFAST_Geant4Selector",
** kwargs )

Definition at line 173 of file ISF_SimulationSelectorsConfig.py.

173def ProtonATLFAST_Geant4SelectorCfg(flags, name="ISF_ProtonATLFAST_Geant4Selector", **kwargs):
174 kwargs.setdefault("MaxEkin", 400)
175 kwargs.setdefault("ParticlePDG", 2212)
176 return BaseKinematicATLFAST_Geant4SelectorCfg(flags, name, **kwargs)
177
178
179#Pions

◆ WithinEta5FastCaloSimSelectorCfg()

ISF_SimulationSelectorsConfig.WithinEta5FastCaloSimSelectorCfg ( flags,
name = "ISF_WithinEta5FastCaloSimSelector",
** kwargs )

Definition at line 214 of file ISF_SimulationSelectorsConfig.py.

214def WithinEta5FastCaloSimSelectorCfg(flags, name="ISF_WithinEta5FastCaloSimSelector", **kwargs):
215 kwargs.setdefault('MinPosEta' , -5.0 )
216 kwargs.setdefault('MaxPosEta' , 5.0 )
217 return BaseKinematicFastCaloSimSelectorCfg(flags, name, **kwargs)
218
219