TWiki> TOTEM Web>WebLeftBar>CompOfflineSw>Sherpa (revision 2)EditAttachPDF

To use the Sherpa event generator (information and manuals: http://www.sherpa-mc.de/)

  • version 1.2.2
  • version 1.3

Standard installation

  • CMSSW_4_2_4 comes with Sherpa 1.2.2 installed by default. To use it, see configuration file stored in Configuration/TotemStandardSequences/test/RPT1T2/SherpaInelastic.py and Configuration/TotemCommon/python/SherpaInelastic_cfi.py
  • sample session (remember to create Sherpa tmp directory):
cd Configuration/TotemStandardSequences/test/RPT1T2/
mkdir SherpaTmp
cmsRun SherpaInelastic.py

Custom installation

  • Update your CMSSW from SVN to get cfi-file for Sherpa.
  • Download updated version of SherpaInterface into your CMSSW source tree (this is not included in the cmssw SVN repository because the code does not compile without an updated local installation of Sherpa). This is done by running svn co svn+ssh://svn.cern.ch/reps/totem/trunk/offline/user/jan/GeneratorInterface in your CMSSW src-directory.
  • Download compiled recent version of Sherpa (compiling takes A LOT of adjusting environment variables etc., but this is compiled on lxplus and should work at least on the lxplus nodes) where you want to install it: wget http://www.helsinki.fi/~jwelti/Sherpa-1.3.0.zip
  • Extract zip file where you want to put your Sherpa installation: unzip Sherpa-1.3.0.zip
  • Edit SHERPA_BASE path in sherpa.xml to point to your Sherpa installation
  • Copy SCRAM setup file sherpa.xml to config/toolbox/slc4_ia32_gcc345/tools/available/sherpa.xml
  • Run scram setup sherpa
  • Compile SherpaInterface by running scram build in src/GeneratorInterface
  • Test Sherpa by running cmsRun SherpaInelastic.py in your src/GeneratorInterface/SherpaInterface/test directory!
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2012-02-18 - LeszekGrzanka
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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