|
ATLAS Offline Software
|
|
def | Kernel_GenericSimulatorMTCfg (flags, name="ISF_Kernel_GenericSimulatorMT", **kwargs) |
|
def | Kernel_GenericSimulatorNoG4MTCfg (flags, name="ISF_Kernel_GenericSimulatorNoG4MT", **kwargs) |
|
def | Kernel_GenericG4OnlyMTCfg (flags, name="ISF_Kernel_GenericG4OnlyMT", **kwargs) |
|
def | Kernel_FullG4MTCfg (flags, name="ISF_Kernel_FullG4MT", **kwargs) |
|
def | Kernel_FullG4MT_QSCfg (flags, name="ISF_Kernel_FullG4MT_QS", **kwargs) |
|
def | Kernel_PassBackG4MTCfg (flags, name="ISF_Kernel_PassBackG4MT", **kwargs) |
|
def | Kernel_ATLFAST3MTCfg (flags, name="ISF_Kernel_ATLFAST3MT", **kwargs) |
|
def | Kernel_ATLFAST3MT_QSCfg (flags, name="ISF_Kernel_ATLFAST3MT_QS", **kwargs) |
|
def | Kernel_GenericSimulatorCfg (flags, name="ISF_Kernel_GenericSimulator", **kwargs) |
|
def | Kernel_ATLFAST3F_G4MSCfg (flags, name="ISF_Kernel_ATLFAST3F_G4MS", **kwargs) |
|
def | Kernel_ATLFAST3F_ACTSMTCfg (flags, name="ISF_Kernel_ATLFAST3F_ACTSMT", **kwargs) |
|
def | Kernel_CosmicsG4Cfg (flags, name="ISF_Kernel_CosmicsG4", **kwargs) |
|
def | ISF_KernelCfg (flags) |
|
Main ISF tools configuration with ComponentAccumulator
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
◆ ISF_KernelCfg()
def python.ISF_MainConfig.ISF_KernelCfg |
( |
|
flags | ) |
|
Definition at line 378 of file ISF_MainConfig.py.
385 from SimulationConfig.SimEnums
import SimulationFlavour
386 if flags.Sim.ISF.Simulator
is SimulationFlavour.FullG4MT:
388 elif flags.Sim.ISF.Simulator
is SimulationFlavour.FullG4MT_QS:
390 elif flags.Sim.ISF.Simulator
is SimulationFlavour.PassBackG4MT:
392 elif flags.Sim.ISF.Simulator
is SimulationFlavour.ATLFAST3MT:
394 elif flags.Sim.ISF.Simulator
is SimulationFlavour.ATLFAST3MT_QS:
396 elif flags.Sim.ISF.Simulator
is SimulationFlavour.ATLFAST3F_G4MS:
398 elif flags.Sim.ISF.Simulator
is SimulationFlavour.ATLFAST3F_ACTSMT:
400 elif flags.Sim.ISF.Simulator
is SimulationFlavour.CosmicsG4:
403 raise ValueError(
'Unknown Simulator set, bailing out')
◆ Kernel_ATLFAST3F_ACTSMTCfg()
def python.ISF_MainConfig.Kernel_ATLFAST3F_ACTSMTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_ATLFAST3F_ACTSMT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 317 of file ISF_MainConfig.py.
326 kwargs.setdefault(
"BeamPipeSimulationSelectors", [ defPartKillerSelector ])
328 kwargs.setdefault(
"IDSimulationSelectors", [
330 defPartKillerSelector
333 kwargs.setdefault(
"CaloSimulationSelectors", [
346 kwargs.setdefault(
"CavernSimulationSelectors", [ defPartKillerSelector ])
348 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig
import FastCaloSimV2ToolCfg
349 from ISF_ActsTools.ISF_ActsToolsConfig
import ActsFatrasSimToolCfg
350 kwargs.setdefault(
"SimulationTools", [
◆ Kernel_ATLFAST3F_G4MSCfg()
def python.ISF_MainConfig.Kernel_ATLFAST3F_G4MSCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_ATLFAST3F_G4MS" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 293 of file ISF_MainConfig.py.
298 kwargs.setdefault(
"IDSimulationSelectors", [ acc.addPublicTool(acc.popToolsAndMerge(
DefaultFatrasSelectorCfg(flags))) ])
299 kwargs.setdefault(
"CaloSimulationSelectors", [
◆ Kernel_ATLFAST3MT_QSCfg()
def python.ISF_MainConfig.Kernel_ATLFAST3MT_QSCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_ATLFAST3MT_QS" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 218 of file ISF_MainConfig.py.
226 defaultG4SelectorRegions =
set([
"BeamPipeSimulationSelectors",
"IDSimulationSelectors",
"MSSimulationSelectors"])
227 if defaultG4SelectorRegions - kwargs.keys():
229 kwargs.setdefault(
"BeamPipeSimulationSelectors", [pubTool])
230 kwargs.setdefault(
"IDSimulationSelectors", [pubTool])
231 kwargs.setdefault(
"MSSimulationSelectors", [pubTool])
234 kwargs.setdefault(
"CaloSimulationSelectors", [
246 kwargs.setdefault(
"CavernSimulationSelectors",
249 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig
import FastCaloSimV2ToolCfg
◆ Kernel_ATLFAST3MTCfg()
def python.ISF_MainConfig.Kernel_ATLFAST3MTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_ATLFAST3MT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 177 of file ISF_MainConfig.py.
185 defaultG4SelectorRegions =
set([
"BeamPipeSimulationSelectors",
"IDSimulationSelectors",
"MSSimulationSelectors"])
186 if defaultG4SelectorRegions - kwargs.keys():
188 kwargs.setdefault(
"BeamPipeSimulationSelectors", [pubTool])
189 kwargs.setdefault(
"IDSimulationSelectors", [pubTool])
190 kwargs.setdefault(
"MSSimulationSelectors", [pubTool])
193 kwargs.setdefault(
"CaloSimulationSelectors", [
207 from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig
import FastCaloSimV2ToolCfg
208 kwargs.setdefault(
"SimulationTools", [
◆ Kernel_CosmicsG4Cfg()
def python.ISF_MainConfig.Kernel_CosmicsG4Cfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_CosmicsG4" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 361 of file ISF_MainConfig.py.
363 from ISF_Tools.ISF_ToolsConfig
import CosmicEventFilterToolCfg
364 kwargs.setdefault(
"EventFilterTools" , [ acc.addPublicTool(acc.popToolsAndMerge(
CosmicEventFilterToolCfg(flags))) ] )
366 kwargs.setdefault(
"MaximumParticleVectorSize" , 1000000)
368 kwargs.setdefault(
"BeamPipeSimulationSelectors" , [ pubTool ] )
369 kwargs.setdefault(
"IDSimulationSelectors" , [ pubTool ] )
370 kwargs.setdefault(
"CaloSimulationSelectors" , [ pubTool ] )
371 kwargs.setdefault(
"MSSimulationSelectors" , [ pubTool ] )
372 kwargs.setdefault(
"CavernSimulationSelectors" , [ pubTool ] )
373 kwargs.setdefault(
"DoMemoryMonitoring",
False)
◆ Kernel_FullG4MT_QSCfg()
def python.ISF_MainConfig.Kernel_FullG4MT_QSCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_FullG4MT_QS" , |
|
|
** |
kwargs |
|
) |
| |
◆ Kernel_FullG4MTCfg()
def python.ISF_MainConfig.Kernel_FullG4MTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_FullG4MT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 123 of file ISF_MainConfig.py.
126 if "SimulationTools" not in kwargs:
127 kwargs.setdefault(
"SimulationTools", [
◆ Kernel_GenericG4OnlyMTCfg()
def python.ISF_MainConfig.Kernel_GenericG4OnlyMTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_GenericG4OnlyMT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 102 of file ISF_MainConfig.py.
105 defaultG4SelectorRegions =
set([
"BeamPipeSimulationSelectors",
"IDSimulationSelectors",
"CaloSimulationSelectors",
"MSSimulationSelectors"])
106 if flags.Detector.GeometryCavern:
108 defaultG4SelectorRegions.add(
"CavernSimulationSelectors")
109 if defaultG4SelectorRegions - kwargs.keys():
112 for selectorRegion
in defaultG4SelectorRegions:
113 kwargs.setdefault(selectorRegion, [pubTool])
115 if "CavernSimulationSelectors" not in kwargs:
116 kwargs.setdefault(
"CavernSimulationSelectors",
◆ Kernel_GenericSimulatorCfg()
def python.ISF_MainConfig.Kernel_GenericSimulatorCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_GenericSimulator" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 257 of file ISF_MainConfig.py.
259 kwargs.setdefault(
"UseShadowEvent", flags.Sim.UseShadowEvent)
260 if flags.Sim.UseShadowEvent
and "TruthPreselectionTool" not in kwargs:
261 from ISF_HepMC_Tools.ISF_HepMC_ToolsConfig
import TruthPreselectionToolCfg
264 if "TruthRecordService" not in kwargs:
265 kwargs.setdefault(
"TruthRecordService", acc.getPrimaryAndMerge(
TruthServiceCfg(flags)).name)
267 if "MemoryMonitoringTool" not in kwargs:
268 kwargs.setdefault(
"MemoryMonitoringTool", acc.addPublicTool(acc.popToolsAndMerge(
MemoryMonitorToolCfg(flags))))
270 if "ParticleBroker" not in kwargs:
273 if flags.Sim.ISF.Simulator.isQuasiStable():
274 if "QuasiStablePatcher" not in kwargs:
275 from BeamEffects.BeamEffectsAlgConfig
import ZeroLifetimePositionerCfg
277 if "InputConverter" not in kwargs:
278 kwargs.setdefault(
"InputConverter", acc.getPrimaryAndMerge(
InputConverterCfg(flags)).name)
280 kwargs.setdefault(
"InputHardScatterCollection",
"BeamTruthEvent")
281 kwargs.setdefault(
"OutputHardScatterTruthCollection",
"TruthEvent")
282 kwargs.setdefault(
"DoCPUMonitoring", flags.Sim.ISF.DoTimeMonitoring)
283 kwargs.setdefault(
"DoMemoryMonitoring", flags.Sim.ISF.DoMemoryMonitoring)
285 if flags.Sim.ISF.ReSimulation:
286 acc.addSequence(
AthSequencer(
'SimSequence'), parentName=
'AthAlgSeq')
287 acc.addEventAlgo(CompFactory.ISF.SimKernel(name, **kwargs),
'SimSequence')
289 acc.addEventAlgo(CompFactory.ISF.SimKernel(name, **kwargs))
◆ Kernel_GenericSimulatorMTCfg()
def python.ISF_MainConfig.Kernel_GenericSimulatorMTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_GenericSimulatorMT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 45 of file ISF_MainConfig.py.
47 kwargs.setdefault(
"UseShadowEvent", flags.Sim.UseShadowEvent)
48 if flags.Sim.UseShadowEvent
and "TruthPreselectionTool" not in kwargs:
49 from ISF_HepMC_Tools.ISF_HepMC_ToolsConfig
import TruthPreselectionToolCfg
52 if "GeoIDSvc" not in kwargs:
53 kwargs.setdefault(
"GeoIDSvc", acc.getPrimaryAndMerge(
GeoIDSvcCfg(flags)).name)
55 if "TruthRecordService" not in kwargs:
56 kwargs.setdefault(
"TruthRecordService", acc.getPrimaryAndMerge(
TruthServiceCfg(flags)).name)
58 if "EntryLayerTool" not in kwargs:
59 kwargs.setdefault(
"EntryLayerTool", acc.addPublicTool(acc.popToolsAndMerge(
EntryLayerToolMTCfg(flags))))
61 from AthenaConfiguration.Enums
import ProductionStep
62 if flags.Common.ProductionStep == ProductionStep.FastChain:
63 if flags.Digitization.PileUp:
64 OEsvc = CompFactory.StoreGateSvc(
"OriginalEvent_SG")
66 kwargs.setdefault(
"EvtStore", OEsvc.name)
68 kwargs.setdefault(
"Cardinality", flags.Concurrency.NumThreads)
69 kwargs.setdefault(
"InputEvgenCollection",
"BeamTruthEvent")
70 kwargs.setdefault(
"OutputTruthCollection",
"TruthEvent")
71 from SimulationConfig.SimEnums
import CalibrationRun
72 from G4AtlasTools.G4AtlasToolsConfig
import SimHitContainerListCfg, InputContainerListCfg
74 if flags.Sim.CalibrationRun
in [CalibrationRun.LAr, CalibrationRun.LArTile, CalibrationRun.LArTileZDC]:
77 (
'CaloCalibrationHitContainer',
'StoreGateSvc+LArCalibrationHitActive_DEAD' ),
78 (
'CaloCalibrationHitContainer',
'StoreGateSvc+LArCalibrationHitDeadMaterial_DEAD' ),
79 (
'CaloCalibrationHitContainer',
'StoreGateSvc+LArCalibrationHitInactive_DEAD' )
81 kwargs.setdefault(
"ExtraOutputs", ExtraOutputs )
83 if flags.Sim.ISF.Simulator.isQuasiStable():
84 if "QuasiStablePatcher" not in kwargs:
85 from BeamEffects.BeamEffectsAlgConfig
import ZeroLifetimePositionerCfg
87 if "InputConverter" not in kwargs:
88 kwargs.setdefault(
"InputConverter", acc.getPrimaryAndMerge(
InputConverterCfg(flags)).name)
90 if flags.Sim.ISF.ReSimulation:
91 acc.addSequence(
AthSequencer(
'SimSequence'), parentName=
'AthAlgSeq')
92 acc.addEventAlgo(CompFactory.ISF.SimKernelMT(name, **kwargs),
'SimSequence')
94 acc.addEventAlgo(CompFactory.ISF.SimKernelMT(name, **kwargs))
◆ Kernel_GenericSimulatorNoG4MTCfg()
def python.ISF_MainConfig.Kernel_GenericSimulatorNoG4MTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_GenericSimulatorNoG4MT" , |
|
|
** |
kwargs |
|
) |
| |
◆ Kernel_PassBackG4MTCfg()
def python.ISF_MainConfig.Kernel_PassBackG4MTCfg |
( |
|
flags, |
|
|
|
name = "ISF_Kernel_PassBackG4MT" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 148 of file ISF_MainConfig.py.
152 defaultG4SelectorRegions =
set([
"BeamPipeSimulationSelectors",
"IDSimulationSelectors",
"CaloSimulationSelectors",
"MSSimulationSelectors"])
153 if defaultG4SelectorRegions - kwargs.keys():
155 kwargs.setdefault(
"BeamPipeSimulationSelectors", [passBackG4Selector])
156 kwargs.setdefault(
"IDSimulationSelectors", [passBackG4Selector])
157 kwargs.setdefault(
"CaloSimulationSelectors", [passBackG4Selector])
158 kwargs.setdefault(
"MSSimulationSelectors", [passBackG4Selector])
160 if "CavernSimulationSelectors" not in kwargs:
161 kwargs.setdefault(
"CavernSimulationSelectors",
164 if "SimulationTools" not in kwargs:
165 kwargs.setdefault(
"SimulationTools", [
170 if "ParticleOrderingTool" not in kwargs:
◆ AthSequencer
python.ISF_MainConfig.AthSequencer = CompFactory.AthSequencer |
def Kernel_ATLFAST3MT_QSCfg(flags, name="ISF_Kernel_ATLFAST3MT_QS", **kwargs)
def PassBackGeant4SelectorCfg(flags, name="ISF_PassBackGeant4Selector", **kwargs)
def ATLFAST_ParticleBrokerSvcCfg(flags, name="ISF_ATLFAST_ParticleBrokerSvc", **kwargs)
def Kernel_FullG4MTCfg(flags, name="ISF_Kernel_FullG4MT", **kwargs)
def KLongATLFAST_Geant4SelectorCfg(flags, name="ISF_KLongATLFAST_Geant4Selector", **kwargs)
def NeutronATLFAST_Geant4SelectorCfg(flags, name="ISF_NeutronATLFAST_Geant4Selector", **kwargs)
def Kernel_ATLFAST3F_ACTSMTCfg(flags, name="ISF_Kernel_ATLFAST3F_ACTSMT", **kwargs)
def DefaultActsSelectorCfg(flags, name="ISF_DefaultActsSelector", **kwargs)
def PionATLFAST_Geant4SelectorCfg(flags, name="ISF_PionATLFAST_Geant4Selector", **kwargs)
def Kernel_ATLFAST3MTCfg(flags, name="ISF_Kernel_ATLFAST3MT", **kwargs)
def Kernel_GenericSimulatorNoG4MTCfg(flags, name="ISF_Kernel_GenericSimulatorNoG4MT", **kwargs)
def DefaultFastCaloSimV2SelectorCfg(flags, name="ISF_DefaultFastCaloSimV2Selector", **kwargs)
def ParticleBrokerSvcNoOrderingCfg(flags, name="ISF_ParticleBrokerSvcNoOrdering", **kwargs)
def DefaultFatrasSelectorCfg(flags, name="ISF_DefaultFatrasSelector", **kwargs)
def ChargedKaonATLFAST_Geant4SelectorCfg(flags, name="ISF_ChargedKaonATLFAST_Geant4Selector", **kwargs)
def Kernel_FullG4MT_QSCfg(flags, name="ISF_Kernel_FullG4MT_QS", **kwargs)
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
def Kernel_CosmicsG4Cfg(flags, name="ISF_Kernel_CosmicsG4", **kwargs)
def TruthServiceCfg(flags, **kwargs)
def Kernel_ATLFAST3F_G4MSCfg(flags, name="ISF_Kernel_ATLFAST3F_G4MS", **kwargs)
def Kernel_GenericG4OnlyMTCfg(flags, name="ISF_Kernel_GenericG4OnlyMT", **kwargs)
def ProtonATLFAST_Geant4SelectorCfg(flags, name="ISF_ProtonATLFAST_Geant4Selector", **kwargs)
def MuonATLFAST_Geant4SelectorCfg(flags, name="ISF_MuonATLFAST_Geant4Selector", **kwargs)
def EtaGreater5ParticleKillerSimSelectorCfg(flags, name="ISF_EtaGreater5ParticleKillerSimSelector", **kwargs)
def InputConverterCfg(flags, name="ISF_InputConverter", **kwargs)
def SimHitContainerListCfg(flags)
def Kernel_GenericSimulatorCfg(flags, name="ISF_Kernel_GenericSimulator", **kwargs)
def FastCaloSimV2ToolCfg(flags, name="ISF_FastCaloSimV2Tool", **kwargs)
def GeoIDSvcCfg(flags, name="ISF_GeoIDSvc", **kwargs)
def ZeroLifetimePositionerCfg(flags, name="ZeroLifetimePositioner", **kwargs)
def DefaultParticleKillerSelectorCfg(flags, name="ISF_DefaultParticleKillerSelector", **kwargs)
def FullGeant4SelectorCfg(flags, name="ISF_FullGeant4Selector", **kwargs)
def DefaultATLFAST_Geant4SelectorCfg(flags, name="ISF_DefaultATLFAST_Geant4Selector", **kwargs)
def Kernel_GenericSimulatorMTCfg(flags, name="ISF_Kernel_GenericSimulatorMT", **kwargs)
def Kernel_PassBackG4MTCfg(flags, name="ISF_Kernel_PassBackG4MT", **kwargs)