Along with other software for LCD research, a common distribution of the
SLIC simulator package is available for SLAC NFS Unix users.
Info | ||
---|---|---|
| ||
If you need access Access to SLAC NFS , contact unix-admin@slac.stanford.edu. |
From a Unix terminal, open Open a connection to noric-new and logina SLAC Unix machine.
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 | ||
---|---|---|
| ||
Unlike most other packages, the The SLIC command line interface to |
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 | ||
---|---|---|
| ||
The LCDD files for common detectors such as SiD are kept at /nfs/slac/g/lcd/mc/prj/data/detectors, |
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
|
...
You can dump this event using an LCIO utility.
No Format |
---|
lcio-dumpevent outfile.slcio 0 0
|
...
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.
...
title | SLIC 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 |
An input file in StdHep file or LCIO format can be specified with the -i
option or
using the /stdhepgenerator/setFilefilename
command from the PreInit>
prompt.
When you call /run/beamOn
, the events from this file will
be used as input to the simulator.
Tip | ||
---|---|---|
| ||
A minimalist Here is a set of commands that may be useful for batch submission is:.
|