#/bin/sh # The most recent patched program is directly available as # POWHEG-hvq-pl[n].tar.gz, where [n] is the patch level. # If you need previous versions, apply the patches in order starting # with the original version POWHEG-hvq.tar.gz, and follow the instructions # below. # # # patch1: 19-9-2007, (P. Nason), Azimuthal symmetry bug # Problem: events are not randomly distributed in azimuth # Remedy: rotate events in azimuth before filling the # Les Houches Interface # # # # patch2: fix flavour bug in mlmpdf ( up <-> down exchanged ) # Problem: mlmpdf has up and down numbered as 1 and 2 # Remedy: swap up and down in mlmpdf output # fix typo in mcnlofile.f (prevented compilation) # fix flavour thresholds in pdf interface # Problem: in some pdf heavy quark densities are not exactly zero below threshold; # They were set to zero in pdf interface, but with wrong thresholds. # rename cteq5hq1 to ctq5hq1 in pdf sets for mlmpdf # fix cteq4-cteq5 common block clashes in hvqpdfpho.f # Include lhapdf interface. To use lhapdf uncomment the approrpiate # lines in the main file. Include two lines # lhans1 num1 # lhans2 num2 # in the powheg.input file, where num1 and num2 should be the pdf numbers # according to the lhaglue interface of the two incoming hadrons # # patch3: fix cteq65 (zero lambda) bugfix in lhapdfif # Problem: The lha interface to cteq65 gives zero lambda. The # bug workaround in lhapdfif.f was incorrect (xlam was not set) # Fix: set xlam # fix call to analize in Herwig interfaces # Problem: in case of error analize should not be called (event is inconsistent) # Fix: insert conditional in main-HERWIG.f and main-HERWIG-lhef.f # Bug in top branching ratios # Problem: wrong top branchings (pointed out by Ulrich Husemann, 1/8/2008) # Fix: fix coding error in pickwdecays (in POWHEG-hvq.f) # # patch4: Problem: In the integration routine (mint) average among different iterations was incorrect; # Fix: correct it. It will slightly affect the result for the total cross section. # Problem: Semileptonic decays could not be generated (as wrongly stated in the monual, and # in the comments in powheg.input files in the example directories, setting # topdecaymode 10011 does not select only semileptonic decays with an electron. It # also selects hadronic modes with one top giving an up and the other giving a charm). # (reported by Riccardo Di Sipio 5/5/2009) # Fix: add an optional flag; setting: semileptonic 1 in the powheg.input file filters out only # semileptonic events. For example, with topdecaymode 10011 and semileptonic 1 one gets # only events with one top going to an electron or positron, and the other into any hadron. # Problem: there was a minor tecnical error in the pt2solve function, with almost invisible # consequences in the generation of radiation. # Fix: correct the error. # Problem: azimuthal correlation between t, tbar and radiated parton not symmetric under # parity (bug inherited from MNR code). Does not affect distributions not sensitive # this asymmetry (i.e. abs(Phi_q-Phi_qbar) is correct). Pointed out by # Ulrich Husemann and Christoph Wasicki (14/5/2009). # Fix: reconstruction of transverse momenta corrected appropriately. # Problem: requests of explicit facility to change random seed (Lorenzo Bellagamba, 13/5/2009) # Fix: Flag randomseed in powheg.input can now be set to an arbitrary value. # This affects the generation of POWHEG events; it may or may not affect the shower # development, depending upon the Shower program being used. tar xvf POWHEG-hvq.tar.gz # patch 1 patch -p0 < POWHEG-hvq-patch1 # patch 2 patch -p0 < POWHEG-hvq-patch2 mv POWHEG-hvq/pdfdata/cteq5hq1 POWHEG-hvq/pdfdata/ctq5hq1 # patch 3 patch -p0 < POWHEG-hvq-patch3 # patch 4 patch -p0 < POWHEG-hvq-patch4