[G12] Next problem -- sample gsim script

Craig Bookwalter craigb at jlab.org
Wed Jul 14 07:31:50 EDT 2010


  g12,
     There now exists a sample script for GSIM monte-carlo. It does the 
following:

- Generates 1000 events of gamma p -> pi+ pi+ pi- n events in gamp format
- Converts them into BOS format for input to GSIM, with 
appropriately-smeared vertex distributions
- Feeds the events through GSIM itself
- Smears the detector response with gpp
- reconstructs the events with a1c

All of the tools used are in the 32bit STABLE build on under /group. The 
script can be run by any user on any of the ifarml interactive nodes. I 
have ran it myself and verified that it gives reasonable output. It is 
located here and referenced on the Software page on the wiki:

/home/clasg12/local/scripts/sample_gsim_desktop.sh


--cb


Il 07/13/2010 11:29 PM, Johann Goetz ha scritto:
> I have been using exactly what is on the wiki with much success,
> though I built my own genr8 (as well as all other clas6 software) from
> the current clas6 trunk.
>
> On Tue, Jul 13, 2010 at 2:09 PM,<salgado at jlab.org>  wrote:
>> Johannn
>>
>> The answer is
>>
>> /group/clas/builds/64bit/STABLE/build/bin/
>>
>> but genr8, that is not that directory.
>> The genr8 version w/o -o switch is at
>> /group/clasdev/clas/src/bin/LinuxRH7/
>>
>> (I have used a version from Diane that have the -o switch)
>> We should have all these exec in the nightly built. We also need a current
>> example with the "right" switches on the wiki (i.e. a1c used in cooking).
>>
>> Johann, it seems that you worte what is now in the wiki, is that still
>> OK? As Dennis said, a1c produces lots of photons from pKK events that I
>> had generated (using the switches from the wiki). See you Carlos
>>
>>> what is the output of these commands, i.e. which executables are you
>>> using?
>>>
>>> which genr8
>>> which gsim_batch
>>> which gpp
>>> which a1c
>>>
>>> On Tue, Jul 13, 2010 at 1:07 PM, Dennis Weygand<weygand at jlab.org>  wrote:
>>>> Next problem:
>>>> Apparently there is a 'special' version of genr8 somewhere...
>>>> I run that, then gsim, then gpp, then a1c
>>>> Again I use the command on the wiki:
>>>>
>>>> a1c -T4 -sa -ct1930 -cm0 -cp0 -X0 -d1 -F -P0x1bff -z0,0,-90
>>>> -Aprlink_tg-90pm30.bos -oxikk.a1c xikk.gpp
>>>>
>>>> Every particle in the PART bank is a photon.
>>>> Are these switches right?
>>>> Is there a 'special' a1c with 'special' switches?
>>>> Is everyone else having this problem?
>>>>
>>>> --
>>>> Dennis Weygand
>>>> weygand at jlab.org
>>>> (757) 269-5926
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> G12 mailing list
>>>> G12 at jlab.org
>>>> https://mailman.jlab.org/mailman/listinfo/g12
>>>>
>>>>
>>>
>>>
>>> --
>>> Johann Goetz
>>> jgoetz at ucla.edu
>>> UCLA Dept. Physics&  Astronomy
>>> Nefkens Group
>>> _______________________________________________
>>> G12 mailing list
>>> G12 at jlab.org
>>> https://mailman.jlab.org/mailman/listinfo/g12
>>>
>>
>>
>
>



More information about the G12 mailing list