Peter, A feature close to this has ben implemented. If you take a look in gbr2c.f (though you may be too young to read FORTRAN!!) there is a subroutine saveoption(i). By the following sequence >call gbr2c.f >call init_detector > call gbrfile('out.cdat') > call saveoption(0) all tracks should be saved. This is most likely much more than you want. Afterall there can be oogles of tracks e.g. inside showers you do not care about. What really has to be done within the save loop , gusessing what you are after, is to add to the list 'promary tracks, and maybe tracks decay which comes from primary. The feature should be checked carefully, so play around with this for a simple case first Flemming ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov ----- Original Message ----- From: "Peter H. L. Christiansen" <pchristi@nbi.dk> To: <brahms-dev-l@bnl.gov> Sent: Tuesday, April 03, 2001 11:35 AM Subject: gbrahms question > Hello, > > Is it possible to always have the generated/input track written to the > cdat file. As far as I understand, pr default it is only written if it has > hits in an active detector. > > Cheers > Peter > >
This archive was generated by hypermail 2b29 : Thu Apr 05 2001 - 10:55:23 EDT