You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Overview

The SLIC simulator package uses a low-level XML data format while the reconstruction uses a smaller, more targetted format called the "compact description". Using a compact geometry in the simulator requires converting it to LCDD first.

Building and Running GeomConverter

  1. Follow the instructions in Building org.lcsim software to build the GeomConverter package.
  2. Run the application
    maven run
    
    This command displays a simple GUI for running the application where the target format can be selected along with the Input and Output files.

Building and Running a GeomConverter distribution

  1. Go to the GeomConverter directory and build a distribution in place.
    maven -Drun.install=`pwd` run:install
    
  2. Run the compact to LCDD converter using the script.
    ./target/bin/GeomConverter -o lcdd compact.xml det.lcdd
    

Windows Users

Windows users need to run GeomConverter.bat from the Windows command prompt instead of the GeomConverter script.

Command Syntax

The full syntax for running GeomConverter is

GeomConverter [-o format] [<infile> [<outfile>]]

If no output file is specified the GUI will be displayed. If no format is given the format will be guessed based on the output file.

Running in SLIC

The output LCDD file det.lcdd can be used as input to SLIC, which might look like this.

slic -g det.lcdd -z -n
  • No labels