Simulation

Configuration related to the simulation phase.

class Gaussino.Simulation.SimPhase(*args, **kwargs)[source]

Bases: ConfigurableUser

Configurable for the Simulation phase in Gaussino. Does not implement a self.__apply_configuration__ itself. Instead, all member functions are explicitly called during the configuration of Gaussino()

General properties

Variables
  • DebugCommunication (bool, optional) – default: False

  • TrackTruth (bool, optional) – default: False

  • G4BeginRunCommand (bool, optional) – default: ["/tracking/verbose 0", "/process/eLoss/verbose 0"]

  • G4EndRunCommand (bool, optional) – default: []

Physics related properties

Variables
  • CutForElectron (float, optional) – default: -1. * km

  • CutForGamma (float, optional) – default: -1. * km

  • CutForPositron (float, optional) – default: -1. * km

  • DumpCutsTable (bool, optional) – default: False

  • PhysicsConstructors (list, optional) – default: [], list of the factories used to attach physics to the main modular list

Geometry related properties

Variables
  • GeometryService (str, optional) – default: "", name of the geometry service, if not provided then some custom geometry must be provided or using the external detector package

  • SensDetMap (dict, optional) – default: {}, additional map of sensitive volumes to volumes added on top of any geometry service

  • ExtraGeoTools (list, optional) – default: [], additional list of tools related to the geometry

  • ExportGDML (dict, optional) – default: {}

  • ExternalDetectorEmbedder (str, optional) – default: "", name of the embedder used when creating external geometry

  • ParallelGeometry (bool, optional) – default: False

__apply_configuration__()

Function to be overridden to convert the high level configuration into a low level one. The default implementation calls applyConf, which is the method defined in some ConfigurableUser implementations.

configure_phase()[source]

Main method that configures the simulation phase

setOtherProp(other, name)[source]

Set the given property in another configurable object

Parameters
  • other – The other configurable to set the property for

  • name – The property name

setOtherProps(other, names)[source]

Set the given properties in another configurable object

Parameters
  • other – The other configurable to set the property for

  • names – The property names