Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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

Info
titleAccess to NFS

If you need access Access to SLAC NFS , contact unix-admin@slac.stanford.edu. can be requested from the Unix Administration List. (Of course, you should only do this if you already must already
have a SLAC account!Unix account to get NFS access.)

Open a connection to a SLAC Unix machineFrom a Unix terminal, open a connection to noric-new and login.

No Format
ssh noric-new
[YOURACCOUNT]@iris.slac.stanford.edu

Replace YOURACCOUNT with your actual SLAC Unix account.

Now, switch to the bash shell.

...

Tip
titleSLIC Command Line Interface

Unlike most other packages, the The SLIC command line interface to
SLIC simply maps directly to Geant4 commands. This keeps the interface
consistent. This also means that the order of the switches matters,
because it can affect Geant4's current statemacro commands.

To see available command line options, invoke the help command.

...

No Format
slic -g $PRJ_DIST/slic/current/examples/sdjan03/SDJan03.lcdd -z -n
Tip
titleLCDD files for Common Detectors

The LCDD files for common detectors such as SiD are kept at /nfs/slac/g/lcd/mc/prj/data/detectors,
which should be accessible from the SLAC Linux machines.

Now, in order to have a work area for your SLIC usage, checkout the
package from CVS.

...

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

...

No Format
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.

...

titleSLIC Initialization

...

.

Alternately, you may start up in interactive mode and manually input
all required commands.

No Format
slic -n
Idle>/lcdd/setURI examples/sdjan03/SDJan03.lcdd
Idle>/run/initialize

...

Tip
titleBatch job submission

Here is a set of commands that may be useful for batch submission.

No Format
slic -g geom_file -i input_file -p path_for_output_file -o output_file -zs -r #_events_to_skip -sr #_events_to_skip