TWiki> CLIC Web>Detector>AnalysisSoftware (revision 3)EditAttachPDF

Analysis Software

Setting up Eclipse for org.lcsim

  • Get the latest Eclipse with JDK - 3.4 (Ganymede) has been tested and is working fine
  • install and update the PATH variable, for example
    export PATH=$PATH:/usr/local/sbin/eclipse/
  • Get Maven2 for project management - 2.0.9 has been tested and is working fine
  • install and update the PATH variable, for example
    export PATH=$PATH:/usr/local/sbin/apache-maven-2.0.9/bin/
  • update the MAVEN_HOME variable
    export MAVEN_HOME=:/usr/local/sbin/apache-maven-2.0.9/
  • start eclipse
    • add the Q-plugin to eclipse to allow maven2 project management
      • go to Help->Software Updates->Available Software->Add Site and add the site of the Q-plugin to the list
        http://q4e.googlecode.com/svn/trunk/updatesite/
      • add all the Q-plugin software to your eclipse
    • create a new java project for GeomConverter
      • File->New->Java Project
      • enter a project name (GeomConverter) and choose "create project from existing source" and browse to the location of GeomConverter, for example /usr/local/sbin/GeomConverter
      • finish
    • create a new java project for org.lcsim
      • File->New->Java Project
      • enter a project name (LCSim) and choose "create project from existing source" and browse to the location of org.lcsim, for example /usr/local/sbin/org.lcsim
      • Projects->

Analysis using JAS3

Analysis in batch mode

  • Tutorial for using a java or a jython wrapper instead of JAS3
  • follow the tutorial and remember to set the CLASSPATH variable.
    If you use maven2 these are the required paths for the tutorial to run:
    export CLASSPATH=$CLASSPATH:/usr/local/sbin/lcsim/target/lcsim-1.1.jar
    export CLASSPATH=$CLASSPATH:/usr/local/sbin/GeomConverter/target/GeomConverter-1.1.jar
    export CLASSPATH=$CLASSPATH:~/.m2/repository/hep/aida/aida/3.3/aida-3.3.jar
    export CLASSPATH=$CLASSPATH:~/.m2/repository/org/freehep/freehep-physics/2.1/freehep-physics-2.1.jar
    export CLASSPATH=$CLASSPATH:~/.m2/repository/org/freehep/freehep-record/2.0/freehep-record-2.0.jar
  • It seems, that for (t)csh the path ~/ is not resolved correctly. So you have to put the absolute path instead!!!

-- ChristianGrefe - 16 Sep 2008

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2008-09-16 - 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