Re: IBD events

From: Matthew Worcester (mworcest@hep.uchicago.edu)
Date: Sun Oct 09 2005 - 12:58:32 CDT


Hi Chris,

No, I haven't seen this before. The macro doesn't do anything different
except for the ibd events. Maybe try replacing the ibd events with a
basic gun. Also, the seg faulting at different places seems like a memory
allocation problem, and I know that these ibd events seem to take a LONG
time and a lot of memory. If you run the debugger and can shed some light
on where the code is taking a lot of time, I would really appreciate it.

Matt

On Sat, 8 Oct 2005, Christopher Tunnell wrote:

> Hey Matt,
>
> When I run:
>
> rat mac/testIBD.mac
>
> I get this at the end of my RAT output:
>
> CountProc: Event 1
> /home/xichimos/src/RAT/bin/rat: line 11: 21502 Killed
> ${rat_exe } $*
>
> But it seems to fail at different points, so for example sometimes there are
> two events completed. Am I doing something wrong? I am running on linux.
> Have you seen this before? It looks like the OS killed it for some reason.
>
> Thanks,
> Chris
>
> Matthew Worcester wrote:
>
>> Hi all,
>>
>> I've checked in the IBD testing macro, testIBD.mac, and a small fix to the
>> IBDgenerator.cc file. It is pretty self-explanatory, but here are a few
>> notes:
>>
>> The data/IBgenerator.dat file must be gunzipped after checking it out from
>> the repository.
>>
>> The events take a very long time to run. I haven't figured out why, but
>> all of the PMTs are hit in every event!
>>
>> To make more events, you need to compile and run the IBDgenerator in the
>> gen directory. The first step is to point the CERN variables in your
>> Makefile to your cern directories, just like for Fsim. You also need to
>> set your CLHEP env variables for the libraries. This can be done by
>> sourcing the env.csh script in the top-level of your Geant4 release. Then
>> just 'make' in the gen folder and you should get an exe, IBDgenerator, in
>> the same folder.
>>
>> You can run IBDgenerator alone and set nevents in the IBDgenerator.cc file,
>> or you can give the number of events as an option on the command line. The
>> default output will be two files:
>>
>> generator.txt contains the IBD particles (e+ and n in each event) in the
>> HEPEvt format given in Glenn's note:
>>
>> http://neutrino.phys.ksu.edu/~GLG4sim/generator_list.pdf
>>
>> It is the file from which the particles are read by GLG4sim.
>>
>> extra_info.txt contains extra particle information for testing that is
>> user-defined and not contained in the HEPEvt format. This file is not used
>> by GLG4sim. Both files can be easily changed in the code.
>>
>> Cheers,
>> Matt
>>
>



This archive was generated by hypermail 2.1.6 : Wed Oct 12 2005 - 00:01:02 CDT