TWiki> CLIC Web>Detector>CompactXml (revision 2)EditAttachPDF

Creating a Detector from compact.xml

Setting up GeomConverter

  • a detailed tutorial can be found here
  • go to your GeomConverter directory, for example /usr/sbin/local/GeomConverter/
  • build it using maven
    maven -D maven.test.skip=true -Drun.install=`pwd` run:install
  • add the bin to your PATH variable
    export PATH=$PATH:/usr/local/sbin/GeomConverter/bin
  • typing `GeomConverter` will now open a GUI to convert a compact.xml file either to an *.lcdd or a *.heprep file
  • as an alternative one can use
    GeomConverter [-o format] [<infile> [<outfile>]]

Making the detector known to org.lcsim

  • a detailed tutorial can be found here
  • create the file ~/.lcsim/alias.properties
  • add the path of your detector definition files (*.lcdd and *.heprep) to alias.properties
    DETECTORNAME: file:///pathtodetectorfiles/
  • remember to name your files `DETECTORNAME.heprep`
  • sample file for the clic000 detector on the common afs space

-- ChristianGrefe - 25 Sep 2008

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2008-09-25 - ChristianGrefe
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback