Hi BRAT's I've made a small wrapper class for HIJING, so that one may use ROOT to inspect the output from HIJING. The class is THijing (I hope the ROOT team will adopt it), which ofcourse inherits from TGenerator from the EG library. This class is put in the library EGHijing, which depends on the (shared) library Hijing, containing the original Fortran77 (when will that ghost die?) implmentation. A gzipped tar-ball containg the sources for THijing, the original source files for HIJING, source file for a random number generator based on the ANSI C rand() function, the documentation, two examples and a README (yes - read that first) are avaliable from: http://www.fys.ku.dk/~cholm/pub/thijing.tar.gz In principel, the sources for the HIJING library should seperatly distributed, but for the convinence of those who don't know how to make a shared library from Fortran77 sources, I bundled everything together. On an update of HIJING, one should in prinicpel just copy the new source files into the distribution, edit the Makefile to reflect the new source file names, build it, and then your ready to go with version what-ever of HIJING. On a side note: Similar classes could be made for neXus, RQMD, UrQMD, and so on, but most of the documentation for these EGs are so lausy that it'll take a major effort (at least for me). Also, we could do away with the ZEBRA (the dynamic memory allocater of obsulete(?) CERNLIB) files completly, by making an interface from ROOT TTrees to GEANTs input common blocks, promoting _one_ file format. In a similar vain, the output from gbrahms could be put into ROOT TTree's or BRAT BrEvents, via a conversion from GEANT output common blocks to ROOT based objects. Anyway, these are just ideas. Any comments, suggestions, bugs reports, etc. will be greatly appriciated. Hope you'll find this usefull. Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Fri Oct 27 2000 - 16:40:40 EDT