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

Compare with Current View Page History

« Previous Version 2 Next »

Running GeomConverter

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.

  1. Follow the instructions in Building+org.lcsim+software to build the GeomConverter package.
  2. Run the application
    maven run
    
    which will display a simple GUI for running the application.

Building a distribution

  1. Go to the GeomConverter directory and build a distribution.
    maven dist
    
  2. Unzip the distribution one directory below the current one. (This example has a hardcoded version number.)
    cd ..
    tar -zxvf GeomConverter/target/GeomConverter-0.3.tar.gz
    
  3. Run the compact to LCDD converter.
    GeomConverter-0.3/bin/GeomConverter compact.xml det.lcdd
    
    The output LCDD file can be used as input to SLIC, which might look like this.
    slic -g det.lcdd -z -n
    
    The full syntax for running GeomConverter is
    GeomConverter-0.3/bin/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.
  • No labels