Versions Compared

Key

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

Along with other software for LCD research, a common distribution of the
SLIC simulator package is available for SLAC NFS users.

...

You need to setup the project environment to access the common software
distribution.

source /nfs/slac/g/lcd/mc/prj/bin/prj.sh

...

Within this directory, you will be able to write LCIO files.

This is an example of visualizing a single muon event in the SDJan03 test
detector using GPS. From your slic directory, execute the following
commands.

slic -g examples/sdjan03/SDJan03.lcdd -z -n
Idle>/control/execute macros/vis_gl.mac
Idle>/control/execute macros/gps.mac
Idle>/run/beamOn

You could also dump a heprep.

Idle>/control/execute macros/heprep2.mac

Or you may want to check for overlaps in the detector.

Idle>/geometry/test/recursive_test

A purely macro-driven job can be executed from the slic directory like so.

slic macros/sdjan03_dbg.mac

In general, a minimalist SLIC session will be started as follows.

slic -g /path/to/geometry/file -z -n

The -z option tells SLIC to initialize the simulator at that
point and -n will start an interactive session.

If you need access to SLAC NFS, contact unix-admin@slac.stanford.edu.