Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://theory.sinp.msu.ru/comphep_html/tutorial/node50.html
Дата изменения: Wed Aug 9 20:40:47 2000 Дата индексирования: Mon Oct 1 22:44:16 2012 Кодировка: |
We provide the user with a possibility
to attach his own codes to the n_comphep_f(c) and genEvents
programs. In this way you are able to
1) expand the set of phase space functions for cuts and
histograms
2) implement new structure functions.
CompHEP archive file num_f(c).a contains some patch programs. When you create your version of these programs and pass the names of its object files to the linker, they will be embedded into the executable file.
In the case of n_comphep_f(c) command the following
instruction does this job:
$COMPHEP/make__n_comphep f(c) userObjectFiles.o
It is assumed that the above command is started from within the user's directory results which contains sources or their archives.
The genEvents file is disposed in the $COMPHEP directory
and generally cannot be modified by the user. But one could create
his own version of this program. In this case use
f77 -o userEvents $COMPHEP/events.o userObjFile.o $COMPHEP/num_f.a