Hi all, Perhaps you'll find this interesting: http://cern.ch/cholm/root/#brag It's a ROOT based implementation of BRAG - that is, the geometry is described in terms of the TGeo classes in ROOT, and the tracking is handled by a TVirtualMC backend. I used g2root to make the initial translation, and then hand-tweaked it a bit to allow rotating the spectrometers, setting magnetic fields, and so on. You need a fairly recent ROOT (5 something), the two packages `Framework' and `Simulation' available from http://cern.ch/cholm/root/#framework http://cern.ch/cholm/root/#simulation Download, unpack, configure, make, and make install the three packages. Next you need a VMC backend. For example GEANT 3.21 http://cern.ch/cholm/root/#geant321vmc Now, you can run a simulation by doing prompt> root -l scripts/Config.C (the format of the Config.C file should be familiar). Triggering a single event can be done via the context menu of `Brag' or via Root> Simulation::Main::Instance()->Loop(nEvents); (see also http://cern.ch/root/cholm/simulation/ for more options on controlling the simulation). Anyway, use it as you like. Enjoy. Yours, -- ___ | Christian Holm Christensen |_| | ------------------------------------------------------------- | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 _| Denmark Office: (+45) 353 25 404 ____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm | | _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Thu Dec 22 13:20:44 2005
This archive was generated by hypermail 2.1.8 : Thu Dec 22 2005 - 13:21:15 EST