Simulation

Configuration related to the simulation phase.

Main Simulation Configuration

class Gauss.Simulation.GaussSimulation(*args, **kwargs)[source]

Bases: GaussinoConfigurable

__apply_configuration__()[source]

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.

_add_constructor(sim, template, name)[source]
_add_em_physics(sim)[source]
_add_gen_physics(sim)[source]
_add_hadron_physics(sim)[source]
_add_lhcb_physics(sim)[source]
_add_other_physics(sim)[source]
_add_tracking_cuts(sim)[source]
_em_physics_options = {'NoCuts': ('G4EmStandardPhysics_option1NoApplyCuts', 'EmOpt1NoCutsPhysics'), 'Opt1': ('G4EmStandardPhysics_option1', 'EmOpt1Physics'), 'Opt2': ('G4EmStandardPhysics_option2', 'EmOpt2Physics'), 'Opt3': ('G4EmStandardPhysics_option3', 'EmOpt3Physics'), 'Std': ('G4EmStandardPhysics', 'EmPhysics')}
_hadron_physics_options = {'FTFP_BERT': [('G4HadronElasticPhysics', 'ElasticPhysics'), ('G4HadronPhysicsFTFP_BERT', 'FTFP_BERTPhysics'), ('G4StoppingPhysics', 'StoppingPhysics'), ('G4NeutronTrackingCut', 'NeutronTrkCut')], 'FTFP_BERT_HP': [('G4HadronElasticPhysicsHP', 'ElasticPhysicsHP'), ('G4HadronPhysicsFTFP_BERT_HP', 'FTFP_BERT_HPPhysics'), ('G4StoppingPhysics', 'StoppingPhysics')], 'QGSP_BERT': [('G4HadronElasticPhysics', 'ElasticPhysics'), ('G4HadronPhysicsQGSP_BERT', 'QGSP_BERTPhysics'), ('G4StoppingPhysics', 'StoppingPhysics'), ('G4NeutronTrackingCut', 'NeutronTrkCut')], 'QGSP_BERT_HP': [('G4HadronElasticPhysicsHP', 'ElasticPhysicsHP'), ('G4HadronPhysicsQGSP_BERT_HP', 'QGSP_BERT_HPPhysics'), ('G4StoppingPhysics', 'StoppingPhysics')], 'QGSP_FTFP_BERT': [('G4HadronElasticPhysics', 'ElasticPhysics'), ('G4HadronPhysicsQGSP_FTFP_BERT', 'QGSP_FTFP_BERTPhysics'), ('G4StoppingPhysics', 'StoppingPhysics'), ('G4NeutronTrackingCut', 'NeutronTrkCut')]}
_set_production_cuts(sim)[source]
_update_truth_flagging()[source]
only_generation_phase = False
run1or2 = False