Dear Erik I guess one can never imagine all the ways one wants to use code in real life. No there is no way to do this other than to go into the code of Gbrahms specifically GUKINE i.e. the user routine that defines vertex etc. This is done up early - check if the vertex thown is outside the range and if not re-do. Sorry, that is about it and you will have to do ot in Fortran Flemming ------------------------------------------------------ Flemming Videbaek Physics Department Brookhaven National Laboratory tlf: 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov ----- Original Message ----- From: "Erik Jakobsen" <jakobsen@hehi03.nbi.dk> To: "BRAHMS DEV" <brahms-dev-l@bnl.gov> Sent: Friday, June 01, 2001 6:22 AM Subject: GBRAHMS > Hi BRAT's > > I'm trying to make a GBRAHMS vertex distribution similar to a certain > run. I know the run has a gaussian vertex distribution with a > mean = -0.95 and a sigma of 77.16 for |z| <= 20 cm. Therefore I use the > command: > > u/c/spot 0. 0. 0. 0. -0.95 77.16 > > The problem is that by using this command I get a gaussian vertex > distribution over a large interval of z, resulting in a heavy loss in > statistics, since I'm only using events with |z| <= 20 cm. > > Does anyone know of a way to get a gaussian distribution for a limited > interval in z? > > Thanks, > Erik >
This archive was generated by hypermail 2b29 : Fri Jun 01 2001 - 09:12:36 EDT