Version 19 (modified by 11 years ago) (diff) | ,
---|
Elegent
Elegent (Elastic Event GENeraTor) is a Monte-Carlo generator of (anti-)proton-proton collisions, based on a number of theoretical/phenomenological models.
The project is maintained by Jan Kašpar (contact info at the home page).
Physics
- models of hadronic/strong interaction
- description of Coulomb interaction
- models of Coulomb-hadronic interference
Elegent package
The package consists of the following components.
- C++ implementation of the models described above. For more details, please refer to the API description.
- A program (
ElegentDistributionSampler
) to build a number of distributions of interest (differential and cumulative cross-sections, etc.) at a given collision energy. The output is a ROOT file called datasheet (for details, please refer to the datasheet description). - A class (
Generator
) that loads a specified cumulative distribution function from a datasheet and generates random events in the HepMC format. This class can easily be embedded in any program. As an example, you can have a look at theTestElegent
program.
Users' guide
Download and compilation
- Either download an Elegent release or checkout the code from Subversion:
svn co svn+ssh://svn.hepforge.org/hepforge/svn/elegent/trunk
- Edit the
makefile
such thatROOTDIR
andHepMCDIR
point to your ROOT and HepMC installations. - Run
make
.
Generation of datasheets
NB: you might want to skip this step as there are ready-made datasheets available for download.
Run bin/ElegentDistributionSampler -h
to get help on running this program. Alternatively, look in trunk/scripts/generate_datasheets for a usage example.
Testing the event generator
The Generator
class and a datasheet can be tested with program bin/ElegentTest
, which would print the generated HepMC events on screen. Run bin/ElegentTest -h
for usage help.