Running Professor on Alpgen

Part 1: running alpgen with agile & rivet

First, some setups. Grab the rivet bootstrap script:

http://projects.hepforge.org/rivet/trac/wiki/GettingStarted

cd /scratch/rivet/
wget http://svn.hepforge.org/rivet/bootstrap/rivet-bootstrap
chmod +x rivet-bootstrap

Then:

./rivet-bootstrap

It probably won't work. Now, install gsl and a recent python:

ftp://ftp.gnu.org/gnu/gsl/ http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz

Download to the rivet "downoads" directory, unpack to the build directory. Configure with:

./configure --prefix=`pwd`/../../local --exec-prefix=`pwd`/../../local make make install

Hack

export PATH=`pwd`/local/bin/:$PATH
export LD_LIBRARY_PATH=`pwd`/local/lib
./rivet-bootstrap --install-boost
./rivet-bootstrap --install-agile

Then apply some patches:

patch -p0 -i XXX.patch

1) HepMC.patch

2) rivet.patch

These fix a crash when the last event is empty, and save the analysis normalisations to allow combination of algen samples. Agile has now been fixed to allow PYTUNE calls, so no need to patch that any more!

Install the generators

Get the rivet genser script:

http://svn.hepforge.org/agile/genser/agile-genser-bootstrap

This is my hacked version to build alpgen:

agile-genser-bootstrap

and set AGILE_GEN_PATH=`pwd`/genser

Now some more patches:

1) alpgen.patch

2) pythia.patch

to automate the alpgen matching stuff, and to allow the latest tunes in pytune. Remake the packages after patching...

Running

That should be it. Assuming you have some unweighted alpgen events ready for the matching step, it should then be easy:

export PATH=`pwd`/local/bin/:$PATH

export LD_LIBRARY_PATH=`pwd`/local/lib

export AGILE_GEN_PATH=`pwd`/genser

agile-runmc AlpGenPythia6:423:2.1.3d --beams=TVT:1960 -n 100 -P params.txt -o hepmc.fifo > agile.log &
rivet --analysis=D0_2010_S8671338 --analysis=D0_2009_S8349509 --analysis=D0_2008_S7863608 --analysis=CDF_2008_NOTE_9351 hepmc.fif
o

TODO

Correct scale alteration in pythia - ktfac**2?

-- GavinHesketh - 2010-12-31

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch HepMC.patch r1 manage 0.7 K 2010-12-31 - 15:41 GavinHesketh HepMC patch
Unknown file formatext agile-genser-bootstrap r1 manage 15.0 K 2010-12-31 - 16:58 GavinHesketh agile genser script
Unknown file formatpatch agile.patch r2 r1 manage 2.4 K 2010-12-31 - 15:40 GavinHesketh Agile patch
Unknown file formatpatch alpgen.patch r1 manage 6.9 K 2010-12-31 - 17:02 GavinHesketh  
Unknown file formatpatch pythia.patch r1 manage 22.9 K 2010-12-31 - 17:02 GavinHesketh  
Unknown file formatpatch rivet.patch r1 manage 11.8 K 2010-12-31 - 15:59 GavinHesketh Rivet patch

This topic: Sandbox > TWikiUsers > GavinHesketh > GavinHeskethSandbox
Topic revision: r2 - 2010-12-31 - GavinHesketh
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback