[Clas12_verystrange] Generator vertex distribution

Michael Dugger dugger at jlab.org
Wed May 4 18:29:17 EDT 2016


Hi,

I have checked the vertex distribution using the vsGen generator. A very 
short write up can be found at:

https://userweb.jlab.org/~dugger/vs/update5-4-2016.pdf

It looks like the vertex distribution is being dealt with correctly by 
Pythia.

The vsGen code requires that PYTHIA6 be installed and that a ROOT version 
be compiled that recognizes the PYTHIA6 library. I have recently compiled 
and run vsGen on ifarm65. The steps I took to get vsGen running can be 
found at the bottom of this email.

Take care,
Michael

##MAKE INSTALL DIRECTORY

> mkdir generator

> cd generator

##INSTALL PYTHIA

> wget https://userweb.jlab.org/~dugger/pythia6.tar

> tar xf pythia6.tar

> cd pythia6

Store this directory into an environment variable. For bash type shell
type: 'export PYTHIA6=$PWD' . For csh type shell type 'setenv PYTHIA6 
$PWD'

> setenv PYTHIA6 $PWD

> rm main.*

> ./makePythia6.linuxGfortran

You should have a newly created file called: libPythia6.so produced in 
this directory.

> cd ../

##INSTALL ROOT WITH PYTHIA LIBRARY

> wget https://root.cern.ch/download/root_v5.34.34.source.tar.gz

> tar zxf root_v5.34.34.source.tar.gz

> mkdir root_v5.34.34

> cd root_v5.34.34

> cmake -DPYTHIA6_LIBRARY:PATH=$PYTHIA6/libPythia6.so -Dpythia6=ON ../root

> make install

> source bin/thisroot.csh

> cd ../

##INSTALL AND RUN VSGEN

> git clone https://mdugger@github.com/mdugger/vsGen.git

> cd vsGen/

Modify Makefile:
Change

-L/usr/lib64/cernlib/2006/lib

to

-L/apps/cernlib/x86_64_rhel5/2005/lib/

> make

Look at the help command

> ./vsGen -h

Run vsGen for the K+ Lambda reaction and print info to screen

>  ./vsGen -R6 -p1

There should be a LUND file named outFile.txt



More information about the Clas12_verystrange mailing list