LHAup
";?>Pythia::setLHAupPtr( LHAup*)
setStrategy
Pythia::init()
/HEPRUP/
setInit()
IDBMUP(1), EBMUP(i), PDFGUP(i), PDFSUP(i)
i
argument
IDWTUP
argumentoption
xMax
";?>Info::weight()
xSec
Info::weight()
LPRUP, XSECUP, XERRUP, XMAXUP
xErr
addProcess
sizeProc() - 1
key
val
0 <= i < sizeProc()
/HEPEUP/
sizePart()
NUP
idProcess
Pythia::next()
";?>Info::atEndOfFile()
setEvent(...)
IDPRUP, XWTGUP, SCALUP, AQEDUP, AQCDUP
addParticle
IDUP, ISTUP, MOTHUP(1,..), MOTHUP(2,..), ICOLUP(1,..), ICOLUP(2,..), PUP(J,..), VTIMUP, SPINUP
scale
weight()
info
0 <= i < sizePart()
i = 0
true
setPdf(...)
setProcess(...)
pdf
";?>TimeShower:pTmaxMatch
";?>SpaceShower:pTmaxMatch
";?>Beams:strictLHEFscale = on
Beams:setProductionScaleFromLHEF
";?>Beam Parameters
double LHAup::scale(int i)
Pythia::LHAeventList()
nSkip
setEvent()
LHAupLHEF
setNewEventLHEF(...)
process
default = 1000022
minimum = 0
default = 1
maximum = 2
VTIMUP
LesHouches:matchInOut = on
LesHouches:matchInOut = true
default = -1.
default = on
Beams:frameType = 4
Beams:LHEF
";?>Beams:LHEFheader
<init>
</init>
<event>
</event>
Info
";?>Beams:readLHEFheaders
<header> BaseA <hblock1> 1A <hblock11> 11A <hblock111> </hblock111> 11B </hblock11> 1B </hblock1> <hblock2> 2A <!-- 2B --> </hblock2> BaseB </header>
README
main11.cc
Info::atEndOfFile()
";?>Beams:newLHEFsameInit
main12.cc
main13.cc
sed
sed -e 's/\([0-9]\.\{0,1\}\)[dD]\([+-]\{0,1\}[0-9]\)/\1E\2/g' old.lhe > new.lhe
<header>...</header>
<init>...</init>
<event>...</event>
convert.sed
/<init>/,/<\/init>/bconv /<event>/,/<\/event>/bconv b :conv s/\([0-9]\.\{0,1\}\)[dD]\([+-]\{0,1\}[0-9]\)/\1E\2/g
sed -f convert.sed old.lhe > new.lhe
setOldEventLHEF
setNewEventLHEF
Reader
LHEF3.h
LHEF3.cc
Writer
LHAupLHEF(Info* infoPtrIn, istream* isIn, istream* isHeadIn, bool readHeadersIn, bool setScalesFromLHEFIn)
include/Pythia8Plugins/LHAFortran.h
LHAupFortran
extern "C" struct
heprup_
hepeup_
fillHepRup()
fillHepEup()
HEPRUP
HEPEUP
verbose = false
updateInit = true
openLHEF()
initLHEF()
setXSec( i, xSec)
setXErr( i, xSec)
setXMax( i, xSec)
closeLHEF
LHAupFromPYTHIA8
pythia
Pythia
LHAupFromPYTHIA8 myLHA(&pythia.process, &pythia.info);
updateSigma()
closeLHEF(true)
main20.cc
Pythia::process
LHAupFromPYTHIA8 myLHA(&pythia.event, &pythia.info);
event
PartonLevel:all = off
Pythia::Writer
LHEF3FromPYTHIA8
main20lhef3.cc
Event
Settings
ParticleData
LHEF3FromPYTHIA8 myLHEF3(&pythia.event, &pythia.settings, &pythia.info, &pythia.particleData);
openLHEF(string name)
name
settings
closeLHEF( bool doUpdate = false)
doUpdate
doUpdate = true