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, 3:35:11 PM (11 years ago)
- Author:
-
jkaspar
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v17
|
v18
|
|
25 | 25 | === Download and compilation === |
26 | 26 | |
27 | | Either download an [[http://www.hepforge.org/downloads/elegent|Elegent release]] or checkout the code from Subversion: |
28 | | |
29 | | `svn co svn+ssh://svn.hepforge.org/hepforge/svn/elegent/trunk` |
30 | | |
31 | | Edit the `makefile` such that `ROOTDIR` and `HepMCDIR` point to your ROOT and HepMC installations. |
32 | | |
33 | | Run `make`. |
| 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` |
| 29 | 1. Edit the `makefile` such that `ROOTDIR` and `HepMCDIR` point to your ROOT and HepMC installations. |
| 30 | 1. Run `make`. |
34 | 31 | |
35 | 32 | |
… |
… |
|
39 | 36 | NB: you might want to skip this step as there are ready-made datasheets available for [[http://www.hepforge.org/downloads/elegent|download]]. |
40 | 37 | |
41 | | `bin/ElegentDistributionSampler` |
42 | | |
43 | | * datasheet structure, ROOT file, 2 types of sampling |
| 38 | Run `bin/ElegentDistributionSampler -h` to get help on running this program. Alternatively, look in `scripts/generate_datasheets` for a usage example. |
44 | 39 | |
45 | 40 | |
46 | 41 | === Testing the event generator === |
47 | 42 | |
48 | | `bin/ElegentTest <file name> <model path> <t_min> <t_max> <number of events>` |
| 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. |