TWiki> TOTEM Web>WebLeftBar>CompOfflineSw>CompElegent (revision 9)EditAttachPDF

Elegent (ELastic Event GENeraTor)

Elegent (Elastic Event GENeraTor) is a Monte-Carlo generator of (anti-)proton-proton elastic collisions, based on a number of theoretical/phenomenological models.

Up to CMSSW verion 4.2.4, Elegent was developped within the TOTEM offline software. This old version is described here. Since CMSSW version 6.2.0, Elegent became a standalone project, see its web page. Although it has forked off, it can still be seamlessly used in TOTEM offline software - see the IOMC/Elegent module.

The recommended usage of ElegentSource

As for every energy there is one preferred/default ROOT file with CDFs, the ElegentSource_cfi.py includes function ElegentDefaultFileName(energy) which returns the default filename for the given energy (string parameter). Hence a recommended usage is a follows

energy = "3500"
...
import IOMC.Elegent.ElegentSource_cfi
process.generator = IOMC.Elegent.ElegentSource_cfi.generator
process.generator.fileName = IOMC.Elegent.ElegentSource_cfi.ElegentDefaultFileName(energy)
process.generator.verbosity = ...
...

Physics models

The physics model can be set by

process.generator.model = cms.string('<your choice here>')

The list of available models and their description can be found in Elegent documentation.

-- JanKaspar - 19-Sep-2013

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2013-09-19 - JanKaspar
 
    • 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