|
ATLAS Offline Software
|
◆ disableBeamPipeKill()
def python.G4Optimizations.disableBeamPipeKill |
( |
|
flags | ) |
|
Definition at line 21 of file G4Optimizations.py.
22 flags.Sim.BeamPipeCut = 100.0
23 flags.Sim.BeamPipeSimMode = BeamPipeSimMode.Normal
◆ disableEMRangeCuts()
def python.G4Optimizations.disableEMRangeCuts |
( |
|
flags | ) |
|
Definition at line 71 of file G4Optimizations.py.
72 commands = flags.Sim.G4Commands
73 commands.remove(
"/process/em/applyCuts true")
74 flags.Sim.G4Commands = commands
◆ disableFrozenShowersFCalOnly()
def python.G4Optimizations.disableFrozenShowersFCalOnly |
( |
|
flags | ) |
|
Turns off GFlash shower parametrization for FCAL
Definition at line 11 of file G4Optimizations.py.
12 """Turns off GFlash shower parametrization for FCAL"""
13 flags.Sim.LArParameterization = LArParameterization.NoFrozenShowers
◆ disableG4GammaGeneralProcess()
def python.G4Optimizations.disableG4GammaGeneralProcess |
( |
|
flags | ) |
|
Disables G4GammaGeneralProcess AND Woodcock tracking
Definition at line 83 of file G4Optimizations.py.
84 """Disables G4GammaGeneralProcess AND Woodcock tracking"""
85 commands = flags.Sim.G4Commands
86 commands.remove(
"/process/em/UseGeneralProcess true")
87 commands.remove(
"/process/em/useWoodcockTracking EMEC")
88 flags.Sim.G4Commands = commands
89 optionalUserActions = flags.Sim.OptionalUserActionList
90 optionalUserActions.remove(
"G4UserActions.G4UserActionsConfig.FixG4CreatorProcessToolCfg")
91 flags.Sim.OptionalUserActionList = optionalUserActions
◆ disableG4Optimizations()
def python.G4Optimizations.disableG4Optimizations |
( |
|
flags | ) |
|
Ensure all G4Optimizations are disabled - useful for debugging
Definition at line 157 of file G4Optimizations.py.
158 """ Ensure all G4Optimizations are disabled - useful for debugging """
◆ disableMuonFieldOnlyInCalo()
def python.G4Optimizations.disableMuonFieldOnlyInCalo |
( |
|
flags | ) |
|
◆ disableNeutronRussianRoulette()
def python.G4Optimizations.disableNeutronRussianRoulette |
( |
|
flags | ) |
|
Definition at line 61 of file G4Optimizations.py.
62 flags.Sim.NRRThreshold =
False
63 flags.Sim.NRRWeight =
False
◆ disablePhotonRussianRoulette()
def python.G4Optimizations.disablePhotonRussianRoulette |
( |
|
flags | ) |
|
Definition at line 49 of file G4Optimizations.py.
50 flags.Sim.PRRThreshold =
False
51 flags.Sim.PRRWeight =
False
◆ disableTightMuonStepping()
def python.G4Optimizations.disableTightMuonStepping |
( |
|
flags | ) |
|
◆ disableWoodcockTracking()
def python.G4Optimizations.disableWoodcockTracking |
( |
|
flags | ) |
|
Definition at line 104 of file G4Optimizations.py.
105 commands = flags.Sim.G4Commands
106 commands.remove(
"/process/em/useWoodcockTracking EMEC")
107 flags.Sim.G4Commands = commands
108 if "/process/em/UseGeneralProcess true" not in flags.Sim.G4Commands:
109 optionalUserActions = flags.Sim.OptionalUserActionList
110 optionalUserActions.remove(
"G4UserActions.G4UserActionsConfig.FixG4CreatorProcessToolCfg")
111 flags.Sim.OptionalUserActionList = optionalUserActions
◆ enableBeamPipeKill()
def python.G4Optimizations.enableBeamPipeKill |
( |
|
flags | ) |
|
Definition at line 16 of file G4Optimizations.py.
17 flags.Sim.BeamPipeCut = 0.
18 flags.Sim.BeamPipeSimMode = BeamPipeSimMode.FastSim
◆ enableEMRangeCuts()
def python.G4Optimizations.enableEMRangeCuts |
( |
|
flags | ) |
|
Turn on range cuts for gamma processes (conv, phot, compt)
Definition at line 66 of file G4Optimizations.py.
67 """Turn on range cuts for gamma processes (conv, phot, compt)"""
68 flags.Sim.G4Commands += [
'/process/em/applyCuts true']
◆ enableFrozenShowersFCalOnly()
def python.G4Optimizations.enableFrozenShowersFCalOnly |
( |
|
flags | ) |
|
Turns on GFlash shower parametrization for FCAL
Definition at line 5 of file G4Optimizations.py.
6 """Turns on GFlash shower parametrization for FCAL"""
7 flags.Sim.LArParameterization = LArParameterization.FrozenShowersFCalOnly
8 flags.Sim.CalibrationRun = CalibrationRun.Off
◆ enableG4GammaGeneralProcess()
def python.G4Optimizations.enableG4GammaGeneralProcess |
( |
|
flags | ) |
|
Activate the G4GammaGeneralProcess and the UserAction required
Definition at line 77 of file G4Optimizations.py.
78 """Activate the G4GammaGeneralProcess and the UserAction required"""
79 flags.Sim.G4Commands+=[
"/process/em/UseGeneralProcess true"]
80 flags.Sim.OptionalUserActionList += [
'G4UserActions.G4UserActionsConfig.FixG4CreatorProcessToolCfg']
◆ enableG4Optimizations()
def python.G4Optimizations.enableG4Optimizations |
( |
|
flags | ) |
|
Enable G4 optimizations
Definition at line 114 of file G4Optimizations.py.
115 """Enable G4 optimizations"""
◆ enableMuonFieldOnlyInCalo()
def python.G4Optimizations.enableMuonFieldOnlyInCalo |
( |
|
flags | ) |
|
Activate magnetic field switch off in central LAr calorimeter
Definition at line 34 of file G4Optimizations.py.
35 """Activate magnetic field switch off in central LAr calorimeter"""
36 flags.Sim.MuonFieldOnlyInCalo =
True
◆ enableNeutronRussianRoulette()
def python.G4Optimizations.enableNeutronRussianRoulette |
( |
|
flags | ) |
|
Activate Neutron Russian Roulette: Fast simulation" killing low energy neutrons with some probability.
Definition at line 54 of file G4Optimizations.py.
55 """Activate Neutron Russian Roulette: Fast simulation" killing low energy neutrons with some probability."""
56 flags.Sim.NRRThreshold = 2.
57 flags.Sim.NRRWeight = 10.
58 flags.Sim.CalibrationRun = CalibrationRun.Off
◆ enablePhotonRussianRoulette()
def python.G4Optimizations.enablePhotonRussianRoulette |
( |
|
flags | ) |
|
Activate Photon Russian Roulette: Fast simulation" killing low energy photons with some probability.
Definition at line 43 of file G4Optimizations.py.
44 """Activate Photon Russian Roulette: Fast simulation" killing low energy photons with some probability."""
45 flags.Sim.PRRThreshold = 0.5
46 flags.Sim.PRRWeight = 10.
◆ enableTightMuonStepping()
def python.G4Optimizations.enableTightMuonStepping |
( |
|
flags | ) |
|
◆ enableWoodcockTracking()
def python.G4Optimizations.enableWoodcockTracking |
( |
|
flags | ) |
|
Activate the Woodcock Tracking in the EMEC
Definition at line 94 of file G4Optimizations.py.
95 """Activate the Woodcock Tracking in the EMEC"""
96 flags.Sim.G4Commands += [
'/process/em/useWoodcockTracking EMEC']
100 if "G4UserActions.G4UserActionsConfig.FixG4CreatorProcessToolCfg" not in flags.Sim.OptionalUserActionList:
101 flags.Sim.OptionalUserActionList += [
'G4UserActions.G4UserActionsConfig.FixG4CreatorProcessToolCfg']
◆ PostIncludeTweakPhysicsRegionsCfg()
def python.G4Optimizations.PostIncludeTweakPhysicsRegionsCfg |
( |
|
flags, |
|
|
|
cfg |
|
) |
| |
Definition at line 187 of file G4Optimizations.py.
191 from AthenaConfiguration.ComponentAccumulator
import ConfigurationError
194 detConTool = cfg.getPublicTool(
'G4AtlasDetectorConstructionTool')
195 except ConfigurationError:
197 if detConTool
is None:
199 detConTool.RegionCreators[
'DeadMaterialPhysicsRegionTool'].VolumeList.remove(
'BeamPipe::SectionF198')
200 detConTool.RegionCreators[
'DeadMaterialPhysicsRegionTool'].VolumeList.remove(
'BeamPipe::SectionF199')
◆ WoodcockTrackingInEMEC()
def python.G4Optimizations.WoodcockTrackingInEMEC |
( |
|
flags | ) |
|
Definition at line 169 of file G4Optimizations.py.
173 commands = flags.Sim.G4Commands
174 commands.remove(
"/process/em/useWoodcockTracking EMECPara")
175 flags.Sim.G4Commands = commands + [
"/process/em/useWoodcockTracking EMEC"]
◆ WoodcockTrackingInEMECPara()
def python.G4Optimizations.WoodcockTrackingInEMECPara |
( |
|
flags | ) |
|
Definition at line 178 of file G4Optimizations.py.
182 commands = flags.Sim.G4Commands
183 commands.remove(
"/process/em/useWoodcockTracking EMEC")
184 flags.Sim.G4Commands = commands + [
"/process/em/useWoodcockTracking EMECPara"]
def enableBeamPipeKill(flags)
def disablePhotonRussianRoulette(flags)
def enableG4Optimizations(flags)
def enableG4GammaGeneralProcess(flags)
def disableG4Optimizations(flags)
def disableWoodcockTracking(flags)
def disableBeamPipeKill(flags)
def enablePhotonRussianRoulette(flags)
def enableWoodcockTracking(flags)
def enableTightMuonStepping(flags)
def PostIncludeTweakPhysicsRegionsCfg(flags, cfg)
def disableMuonFieldOnlyInCalo(flags)
def disableFrozenShowersFCalOnly(flags)
def disableNeutronRussianRoulette(flags)
def enableMuonFieldOnlyInCalo(flags)
def disableTightMuonStepping(flags)
def WoodcockTrackingInEMECPara(flags)
def enableFrozenShowersFCalOnly(flags)
def WoodcockTrackingInEMEC(flags)
def disableEMRangeCuts(flags)
def disableG4GammaGeneralProcess(flags)
def enableNeutronRussianRoulette(flags)
def enableEMRangeCuts(flags)