ATLAS Offline Software
Functions
G4FastSimulationConfig Namespace Reference

Functions

def SimpleFastKillerCfg (flags, **kwargs)
 
def DeadMaterialShowerCfg (flags, **kwargs)
 
def FastCaloSimCfg (flags, **kwargs)
 

Function Documentation

◆ DeadMaterialShowerCfg()

def G4FastSimulationConfig.DeadMaterialShowerCfg (   flags,
**  kwargs 
)

Definition at line 14 of file G4FastSimulationConfig.py.

14 def DeadMaterialShowerCfg(flags, **kwargs):
15  result = ComponentAccumulator()
16  kwargs.setdefault("RegionNames", ["DeadMaterial"])
17  result.setPrivateTools(CompFactory.DeadMaterialShowerTool(name="DeadMaterialShower", **kwargs))
18  return result
19 
20 

◆ FastCaloSimCfg()

def G4FastSimulationConfig.FastCaloSimCfg (   flags,
**  kwargs 
)

Definition at line 21 of file G4FastSimulationConfig.py.

21 def FastCaloSimCfg(flags, **kwargs):
22  result = ComponentAccumulator()
23  # Set the parametrization service
24  from ISF_FastCaloSimServices.ISF_FastCaloSimServicesConfig import FastCaloSimV2ParamSvcCfg
25  kwargs.setdefault("ISF_FastCaloSimV2ParamSvc", result.getPrimaryAndMerge(FastCaloSimV2ParamSvcCfg(flags)).name)
26  # Set the FastCaloSim extrapolation tool
27  from ISF_FastCaloSimParametrization.ISF_FastCaloSimParametrizationConfig import FastCaloSimCaloExtrapolationCfg
28  kwargs.setdefault("FastCaloSimCaloExtrapolation", result.addPublicTool(result.popToolsAndMerge(FastCaloSimCaloExtrapolationCfg(flags))))
29  # Name of region where FastCaloSim will be triggered
30  kwargs.setdefault("RegionNames", ["CALO"])
31  kwargs.setdefault('CaloCellContainerSDName', "ToolSvc.SensitiveDetectorMasterTool.CaloCellContainerSD")
32 
33  if flags.Sim.SimplifiedGeoPath:
34  # Enable Geant4 track transportation only if simplified geometry is provided
35  kwargs.setdefault('doG4Transport', True)
36  else:
37  kwargs.setdefault('doG4Transport', False)
38 
39  # Set the G4CaloTransportTool
40  from G4AtlasTools.G4AtlasToolsConfig import G4CaloTransportToolCfg
41  kwargs.setdefault("G4CaloTransportTool", result.addPublicTool(result.popToolsAndMerge(G4CaloTransportToolCfg(flags))))
42 
43  result.setPrivateTools(CompFactory.FastCaloSimTool(name="FastCaloSim", **kwargs))
44  return result

◆ SimpleFastKillerCfg()

def G4FastSimulationConfig.SimpleFastKillerCfg (   flags,
**  kwargs 
)

Definition at line 7 of file G4FastSimulationConfig.py.

7 def SimpleFastKillerCfg(flags, **kwargs):
8  result = ComponentAccumulator()
9  kwargs.setdefault("RegionNames" , ["BeampipeFwdCut"] )
10  result.setPrivateTools(CompFactory.SimpleFastKillerTool(name="SimpleFastKiller", **kwargs))
11  return result
12 
13 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ISF_FastCaloSimServicesConfig.FastCaloSimV2ParamSvcCfg
def FastCaloSimV2ParamSvcCfg(flags, name="ISF_FastCaloSimV2ParamSvc", **kwargs)
Config.
Definition: ISF_FastCaloSimServicesConfig.py:164
ISF_FastCaloSimParametrizationConfig.FastCaloSimCaloExtrapolationCfg
def FastCaloSimCaloExtrapolationCfg(flags, name="FastCaloSimCaloExtrapolation", **kwargs)
Definition: ISF_FastCaloSimParametrizationConfig.py:64
G4FastSimulationConfig.FastCaloSimCfg
def FastCaloSimCfg(flags, **kwargs)
Definition: G4FastSimulationConfig.py:21
G4FastSimulationConfig.DeadMaterialShowerCfg
def DeadMaterialShowerCfg(flags, **kwargs)
Definition: G4FastSimulationConfig.py:14
G4AtlasToolsConfig.G4CaloTransportToolCfg
def G4CaloTransportToolCfg(flags, name='G4CaloTransportTool', **kwargs)
Definition: G4AtlasToolsConfig.py:68
G4FastSimulationConfig.SimpleFastKillerCfg
def SimpleFastKillerCfg(flags, **kwargs)
Definition: G4FastSimulationConfig.py:7