close
Warning:
Can't synchronize with repository "(default)" (/hepforge/svn/elegent does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 26, 2013, 4:37:26 PM (11 years ago)
- Author:
-
jkaspar
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v19
|
v20
|
|
26 | 26 | |
27 | 27 | 1. Either download an [[http://www.hepforge.org/downloads/elegent|Elegent release]] or checkout the code from Subversion: |
28 | | `svn co svn+ssh://svn.hepforge.org/hepforge/svn/elegent/trunk` |
| 28 | {{{ |
| 29 | svn co svn+ssh://svn.hepforge.org/hepforge/svn/elegent/trunk |
| 30 | }}} |
29 | 31 | 1. Edit the `makefile` such that `ROOTDIR` and `HepMCDIR` point to your ROOT and HepMC installations. |
30 | | 1. Run `make`. |
| 32 | 1. Run |
| 33 | {{{ |
| 34 | make |
| 35 | }}} |
31 | 36 | |
32 | 37 | |
… |
… |
|
36 | 41 | NB: you might want to skip this step as there are ready-made datasheets available for [[http://www.hepforge.org/downloads/elegent|download]]. |
37 | 42 | |
38 | | Run `bin/ElegentDistributionSampler -h` to get help on running this program. Alternatively, look in [[source:/trunk/scripts/generate_datasheets]] for a usage example. |
| 43 | Run |
| 44 | {{{ |
| 45 | bin/ElegentDistributionSampler -h |
| 46 | }}} |
| 47 | to get help on running this program. Alternatively, look in [[source:/trunk/scripts/generate_datasheets]] for a usage example. |
39 | 48 | |
40 | 49 | |
41 | 50 | === Testing the event generator === |
42 | 51 | |
43 | | 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. |
| 52 | The `Generator` class and a datasheet can be tested with program `bin/ElegentTest`, which would print the generated HepMC events on screen. Run |
| 53 | {{{ |
| 54 | bin/ElegentTest -h |
| 55 | }}} |
| 56 | for usage help. |