How to use Fortran together with Hanna


Here you find the example package Hanna_fortran(V0.3) and a postscript file with a description from Michael Ruh <ruh@hermes.desy.de>.

You should compile the example packages with HERMES_ROOT = /new and HERMES_LIB = /new . You need the /r10 dad lib for a smooth running.
A short description :
0.) set your enviroment to /new
1.) gunzip Hanna_fortran.V0.3.tar.gz
2.) tar xvf Hanna_fortran.V0.3.tar
3.) make
4.) run_hanna ( works only on hermes,if 96b production is still on the hermes disc)
5.) Now you have already your first results in data.rz .
6.) Read the docu from Michael and try to understand what is going on in hepuser.f .
7.) If you understand the simple hepuser.f code , you can adapt your old HEP code to hanna in 3 min. You have only to add 3 arguments to userevent and exchange your code with hepuser.f . Congratulation. You did it. Now you can use all hanna features with your old hep code. Please read carefully Maf's hanna documentation.
Last updated: Today : Holger Ihssen <ihssen@hermes.desy.de>