Versions Compared

Key

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

...

Many tools are available for the simulation of ILC detectors and the analysis of results. There are three differents toolchains that can be used. These have been developed separately in the US, European, and Asian (Japanese) regions., corresponding to the LDC, SiD, and GLD detectors. The software suites corresponding to the first two detectors can simulate all 3 detector concepts, so there is no strict division on which tools should be used for a certain detector study.

The ALCPG and SLAC use The system used by SLAC and ALCPG has the SLIC Simulations Package (C++) with the org.lcsim for reconstruction and analysis using Java. This system also uses the JAS3 graphical analysis environment. Much of the functionality within org.lcsim comes from the FreeHep Java Library.

...

How do I find out about the SLIC version I am running??

The command

No Format
slic -v

prints the SLIC version, along with a lot of other information (probably too much).

How do I find out detailed information about the SLIC version I am running?

SLIC prints a splash screen as it starts up with the version, build date, and other information.

No Format

*************************************************************
 App     : Simulator for the Linear Collider (SLIC)
 Version : v1r13p6
 Date    : Tue Apr  4 17:32:07 PDT 2006
 Authors : Jeremy McCormick and Ron Cassell
 Inst    : SLAC
 WWW     : http://www.lcsim.org/software/slic
 Contact : jeremym@slac.stanford.edu
*************************************************************

How do I find out the version of Geant4 that SLIC was built with?

The Geant4 toolkit prints a splash screen that SLIC displays when it starts up.

No Format

*************************************************************
 Geant4 version Name: geant4-08-00-patch-01    (10-February-2006)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

The Geant4 version in the figure above is 8.0.p01.

How do I get help on SLIC's custom Geant4 commands?

...

No Format
/lcio/   LCIO output commands. [SLIC]
. [SLIC]

Type

No Format
help [dir]

or

No Format
help [command]

for information about the user interface directory or command. Of course, this requires that the programmer actually put in some useful help string. Most commands and directories have such information.

How do I run a macro containing UI commands?

You can put Geant4 UI commands into one or more macro files that slic can execute. This is done with the "-m" switch. There can be any number of these switches given to slic at the commandline. For instance, this command will execute the two macros init.mac and run.mac.mac and run.mac.

No Format

slic -m init.mac -m run.mac

The macros are executed in the order given at the command-line.

If macros are interspersed throughout the command switches, then SLIC will also execute each command in order.

No Format
slic -m init.mac -x -o output -p myDir -m run.mac

The macros are executed in the order given at the command-lineFirst init.mac will be executed. Then the three commands corresonding to the "-xop" switches and finally run.mac presumably executes the /run/beamOn command.

How do I run in interactive mode?

SLIC can be started in interactive mode using the "-n" option option or the /control/interactive UI command.

This command will start Geant4 in PreInit mode where the geometry is not loaded.

...

No Format
slic -g myGeom.lcdd -n

The LCDD file will be constructed, so the simulator will start in Idle mode.

What is a typical command to run SLIC in batch mode?

...

The BeginEvent and EndEvent markers are the best indicators of the job's progress.

Most batch systems will provide logging services, and the tail command can be used on these files, too.

How do I run SLIC on the LSF batch system?

The bsub command is used to run SLIC on LSF.

How do I run SLIC on the Condor batch system?

...