Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A number of options are available for tweaking the handling of transportation through the magnetic field in the /field command directory.

The command selectStepper sets the integrator, where the argument can be one of the following.

No Format

G4ClassicalRK4
G4ExplicitEuler
G4HelixExplicitEuler
G4HelixHeum
G4HelixImplicitEuler
G4HelixSimpleRunge
G4ImplicitEuler
G4CashKarpRKF45
G4SimpleHeum
G4SimpleRunge

The command setDeltaOneStep sets the maximum stepsize that will be taken in the field.

The command setDeltaIntersection sets the maximum distance from the chord line.

Refer to the Electromagnetic Fields Chapter of the Geant4 Application Guide for more details on these settings.

How do I set the maximum number of events?

The -r switch sets the number of events to run, and it corresponds to Geant4's built-in /run/beamOn command.

What event generators are available from within SLIC?

SLIC can read StdHep files using Willy Langeveld's lightweight XDR interface from Lelaps.

An MCParticles collection of an LCIO file can also be used as a source of events, which is useful for repeating events run in other simulation frameworks.

How do I

...

use a StdHep file?

To select a StdHep file with physics events, use the -i switch or /generator/filename command followed by an absolute or relative path to the file. Any file with an extension of .stdhep or .xdr will be automatically interpretted as a StdHep file.

What event generators are available from within SLIC?

...

How do I use an LCIO file as an event source?

SLIC also accepts LCIO files as event sources. Use the commands as if the file were a StdHep source, and the LCIO generator will be automatically selected if the file has the extension of .slcio.

Warning

The LCIO event generator feature is an experimental feature that has not undergone much testing (e.g. There be bugs here!).

How do I use the General Particle Source (GPS)?

...