debian/0000755000000000000000000000000012253533601007166 5ustar debian/pythia8-examples.install0000644000000000000000000000057212253533601013764 0ustar examples/*.cc usr/share/pythia8-examples/examples examples/*.cmnd usr/share/pythia8-examples/examples examples/*.lhe usr/share/pythia8-examples/examples examples/*.spc usr/share/pythia8-examples/examples examples/outref usr/share/pythia8-examples/examples examples/runmains usr/share/pythia8-examples/examples debian/Makefile usr/share/pythia8-examples/examples debian/pythia8-doc-worksheet.doc-base0000644000000000000000000000052512253533601014731 0ustar Document: pythia8-worksheet Title: PYTHIA 8 Worksheet Author: Torbjorn Sjostrand, Richard Corke, Peter Skands Abstract: The Worksheet of PYTHIA8 teachs you the basics of how to use the PYTHIA 8.1 event generator to study various physics aspects. Section: Science/Physics Format: pdf Files: /usr/share/doc/pythia8-doc/pdf/worksheet.pdf.gz debian/pythia8-doc-html.install0000644000000000000000000000021212253533601013644 0ustar htmldoc/*.html usr/share/doc/pythia8-doc/html htmldoc/*.gif usr/share/doc/pythia8-doc/html htmldoc/*.css usr/share/doc/pythia8-doc/html debian/copyright0000644000000000000000000000420012253533601011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PYTHIA Source: http://home.thep.lu.se/~torbjorn/Pythia.html Files: * Copyright: Torbjorn Sjostrand Stefan Ask Richard Corke Stephen Mrenna Peter Skands License: GPL-2+ Files: include/PartonDistributions.h Copyright: Torbjorn Sjostrand, M. Glueck, E. Reya, A. Vogt, CTEQ License: GPL-2+ Files: include/FastJet3.h Copyright: Torbjorn Sjostrand, Gavin Salam. License: GPL-2+ Files: include/History.h src/History.cc include/MergingHooks.h src/MergingHooks.cc Copyright: Torbjorn Sjostrand, Stefan Prestel. License: GPL-2+ Files: include/SigmaHiggs.h src/SigmaHiggs.cc Copyright: Torbjorn Sjostrand, Marc Montull License: GPL-2+ Files: include/SigmaSUSY.h include/SusyCouplings.h include/SusyLesHouches.h src/SigmaSUSY.cc src/SusyCouplings.cc src/SusyLesHouches.cc src/SusyResonanceWidths.cc Copyright: Torbjorn Sjostrand, N. Desai, P. Skands License: GPL-2+ Files: include/SusyResonanceWidths.h Copyright: Torbjorn Sjostrand, N. Desai License: GPL-2+ Files: src/PartonDistributions.cc Copyright: Torbjorn Sjostrand, M. Glueck, E. Reya and A. Vogt. License: GPL-2+ Files: debian/* Copyright: 2011 Lifeng Sun License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/Makefile0000644000000000000000000000340012253533601010623 0ustar # Makefile for examples CXX := g++ CXXFLAGS := -O2 -I/usr/include/Pythia8 SRC := main01.cc main02.cc main03.cc main04.cc main05.cc main06.cc \ main07.cc main08.cc main09.cc main10.cc main11.cc main12.cc \ main13.cc main14.cc main15.cc main16.cc main17.cc main18.cc \ main19.cc main20.cc main21.cc main22.cc main23.cc main24.cc \ main25.cc main26.cc main27.cc main28.cc main31.cc main41.cc \ main42.cc main51.cc main52.cc main53.cc main61.cc main62.cc \ main71.cc main72.cc main85.cc main86.cc main87.cc main88.cc # main81.cc main82.cc main83.cc main84.cc require CDFCone plugin. # main91.cc requires Pythia6 EXES := $(SRC:.cc=.exe) all: $(EXES) %.exe: %.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF main41.exe: main41.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main42.exe: main42.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main61.exe: main61.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main62.exe: main62.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main71.exe: main71.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lfastjet main72.exe: main72.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lfastjet main85.exe: main85.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main86.exe: main86.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main87.exe: main87.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main88.exe: main88.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lLHAPDF -lpythia8tohepmc -lHepMC main91.exe: main91.cc $(CXX) $(CXXFLAGS) -o $@ $< -lpythia8 -lpythia6 -lLHAPDF clean: rm -f $(EXES) debian/get-orig-source0000755000000000000000000000104112253533601012123 0ustar #!/bin/bash set -e [ $# == 3 ] upver="$2" ver="8.1.${upver:2}" pkg="pythia" url="http://home.thep.lu.se/~torbjorn/pythia8" rm -f "../${pkg}8_$upver.orig.tar.gz" [ ! -f "../$pkg$upver.tgz" ] && \ wget "$url/$pkg$upver.tgz" -O ../$pkg$upver.tgz [ -d "$pkg$upver" ] && rm -rf "$pkg$upver" tar xf "../$pkg$upver.tgz" [ -d "${pkg}8-$ver.orig" ] && rm -rf "${pkg}8-$ver.orig" mv "$pkg$upver" "${pkg}8-$ver.orig" rm -f "../${pkg}8_$ver.orig.tar.gz" tar -zcf "../${pkg}8_$ver.orig.tar.gz" "${pkg}8-$ver.orig" rm -rf "${pkg}8-$ver.orig" debian/source/0000755000000000000000000000000012253533601010466 5ustar debian/source/format0000644000000000000000000000001412253533601011674 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000213312253533601011037 0ustar pythia8 (8.1.80-1) unstable; urgency=low * New upstream release. * debian/control: remove obsolete DM-Upload-Allowed. * Move HepMC interface to libpythia8* packages. * Canonical VCS-* fields. * Bump Standards-Version to 3.9.4. -- Lifeng Sun Mon, 16 Dec 2013 15:39:45 +0800 pythia8 (8.1.76-1) unstable; urgency=low * New upstream release. -- Lifeng Sun Tue, 07 May 2013 00:10:54 +0800 pythia8 (8.1.75-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Wed, 06 Mar 2013 09:35:56 +0800 pythia8 (8.1.70-1~exp1) experimental; urgency=low * New upstream release. * libpythia8: fix version suffix of shared library. (Closes: #681999) * pythia8-root-interface: move root-system and libroot-core-dev from Depends to Recommends to allow user-compiled ROOT. (Closes: #682004) -- Lifeng Sun Tue, 02 Oct 2012 20:55:17 +0800 pythia8 (8.1.65-1) unstable; urgency=low * Initial release (Closes: #636981) -- Lifeng Sun Tue, 22 May 2012 11:43:00 +0800 debian/patches/0000755000000000000000000000000012253533601010615 5ustar debian/patches/hepmc-version.patch0000644000000000000000000000155412253533601014422 0ustar --- a/configure +++ b/configure @@ -104,18 +104,7 @@ if [ "x${HEPMCVERSION}" = "x" ] ; then if [ "x${HEPMCLOCATION}" != "x" ] ; then # try to find out which HepMC version - test1=`echo $HEPMCLOCATION | grep \/1.` - test2=`echo $HEPMCLOCATION | grep \/2.` - echo $test1 - echo $test2 - if [ "x${test1}" != "x" ] ; then - echo "Warning: HepMC 1 cannot be used anymore; Please use HepMC 2" - echo " The interface will not be built" - export HEPMCLOCATION= - fi - if [ "x${test2}" != "x" ] ; then - export HEPMCVERSION=2.`echo $HEPMCLOCATION | awk -F \/2. '{print $2}' | awk -F \/ '{print $1}'` - fi + export HEPMCVERSION=`grep 'define HEPMC_VERSION' ${HEPMCLOCATION}/include/HepMC/HepMCDefs.h | awk '{print $3}' | tr -d '"'` fi fi if [ "x${HEPMCVERSION}" != "x" ] ; then debian/patches/fix-warning.patch0000644000000000000000000003676312253533601014106 0ustar --- a/include/Event.h +++ b/include/Event.h @@ -78,7 +78,7 @@ // Member functions to set the ParticleData and ParticleDataEntry pointers. void setPDTPtr(ParticleData* pdtPtrIn) { pdtPtr = pdtPtrIn; setPDEPtr();} - void setPDEPtr() {pdePtr = (pdtPtr > 0) + void setPDEPtr() {pdePtr = (pdtPtr != 0) ? pdtPtr->particleDataEntryPtr( idSave) : 0;} // Member functions for input. @@ -187,56 +187,56 @@ // Further output, based on a pointer to a ParticleDataEntry object. string name() const { - return (pdePtr > 0) ? pdePtr->name(idSave) : " ";} + return (pdePtr != 0) ? pdePtr->name(idSave) : " ";} string nameWithStatus(int maxLen = 20) const; int spinType() const { - return (pdePtr > 0) ? pdePtr->spinType() : 0;} + return (pdePtr != 0) ? pdePtr->spinType() : 0;} int chargeType() const { - return (pdePtr > 0) ? pdePtr->chargeType(idSave) : 0;} + return (pdePtr != 0) ? pdePtr->chargeType(idSave) : 0;} double charge() const { - return (pdePtr > 0) ? pdePtr->charge(idSave) : 0;} + return (pdePtr != 0) ? pdePtr->charge(idSave) : 0;} bool isCharged() const { - return (pdePtr > 0) ? (pdePtr->chargeType(idSave) != 0) : false;} + return (pdePtr != 0) ? (pdePtr->chargeType(idSave) != 0) : false;} bool isNeutral() const { - return (pdePtr > 0) ? (pdePtr->chargeType(idSave) == 0) : false;} + return (pdePtr != 0) ? (pdePtr->chargeType(idSave) == 0) : false;} int colType() const { - return (pdePtr > 0) ? pdePtr->colType(idSave) : 0;} + return (pdePtr != 0) ? pdePtr->colType(idSave) : 0;} double m0() const { - return (pdePtr > 0) ? pdePtr->m0() : 0.;} + return (pdePtr != 0) ? pdePtr->m0() : 0.;} double mWidth() const { - return (pdePtr > 0) ? pdePtr->mWidth() : 0.;} + return (pdePtr != 0) ? pdePtr->mWidth() : 0.;} double mMin() const { - return (pdePtr > 0) ? pdePtr->mMin() : 0.;} + return (pdePtr != 0) ? pdePtr->mMin() : 0.;} double mMax() const { - return (pdePtr > 0) ? pdePtr->mMax() : 0.;} + return (pdePtr != 0) ? pdePtr->mMax() : 0.;} double mass() const { - return (pdePtr > 0) ? pdePtr->mass() : 0.;} + return (pdePtr != 0) ? pdePtr->mass() : 0.;} double constituentMass() const { - return (pdePtr > 0) ? pdePtr->constituentMass() : 0.;} + return (pdePtr != 0) ? pdePtr->constituentMass() : 0.;} double tau0() const { - return (pdePtr > 0) ? pdePtr->tau0() : 0.;} + return (pdePtr != 0) ? pdePtr->tau0() : 0.;} bool mayDecay() const { - return (pdePtr > 0) ? pdePtr->mayDecay() : false;} + return (pdePtr != 0) ? pdePtr->mayDecay() : false;} bool canDecay() const { - return (pdePtr > 0) ? pdePtr->canDecay() : false;} + return (pdePtr != 0) ? pdePtr->canDecay() : false;} bool doExternalDecay() const { - return (pdePtr > 0) ? pdePtr->doExternalDecay() : false;} + return (pdePtr != 0) ? pdePtr->doExternalDecay() : false;} bool isResonance() const { - return (pdePtr > 0) ? pdePtr->isResonance() : false;} + return (pdePtr != 0) ? pdePtr->isResonance() : false;} bool isVisible() const { - return (pdePtr > 0) ? pdePtr->isVisible() : false;} + return (pdePtr != 0) ? pdePtr->isVisible() : false;} bool isLepton() const { - return (pdePtr > 0) ? pdePtr->isLepton() : false;} + return (pdePtr != 0) ? pdePtr->isLepton() : false;} bool isQuark() const { - return (pdePtr > 0) ? pdePtr->isQuark() : false;} + return (pdePtr != 0) ? pdePtr->isQuark() : false;} bool isGluon() const { - return (pdePtr > 0) ? pdePtr->isGluon() : false;} + return (pdePtr != 0) ? pdePtr->isGluon() : false;} bool isDiquark() const { - return (pdePtr > 0) ? pdePtr->isDiquark() : false;} + return (pdePtr != 0) ? pdePtr->isDiquark() : false;} bool isParton() const { - return (pdePtr > 0) ? pdePtr->isParton() : false;} + return (pdePtr != 0) ? pdePtr->isParton() : false;} bool isHadron() const { - return (pdePtr > 0) ? pdePtr->isHadron() : false;} + return (pdePtr != 0) ? pdePtr->isHadron() : false;} ParticleDataEntry& particleDataEntry() const {return *pdePtr;} // Member functions that perform operations. --- a/include/ProcessContainer.h +++ b/include/ProcessContainer.h @@ -56,8 +56,8 @@ // Store or replace Les Houches pointer. void setLHAPtr( LHAup* lhaUpPtrIn) {lhaUpPtr = lhaUpPtrIn; - if (sigmaProcessPtr > 0) sigmaProcessPtr->setLHAPtr(lhaUpPtr); - if (phaseSpacePtr > 0) phaseSpacePtr->setLHAPtr(lhaUpPtr);} + if (sigmaProcessPtr != 0) sigmaProcessPtr->setLHAPtr(lhaUpPtr); + if (phaseSpacePtr != 0) phaseSpacePtr->setLHAPtr(lhaUpPtr);} // Update the CM energy of the event. void newECM(double eCM) {phaseSpacePtr->newECM(eCM);} --- a/include/Pythia.h +++ b/include/Pythia.h @@ -146,11 +146,11 @@ // List the current Les Houches event. void LHAeventList(ostream& os = cout) { - if (lhaUpPtr > 0) lhaUpPtr->listEvent(os);} + if (lhaUpPtr != 0) lhaUpPtr->listEvent(os);} // Skip a number of Les Houches events at input. bool LHAeventSkip(int nSkip) { - if (lhaUpPtr > 0) return lhaUpPtr->skipEvent(nSkip); return false;} + if (lhaUpPtr != 0) return lhaUpPtr->skipEvent(nSkip); return false;} // Main routine to provide final statistics on generation. void stat(); --- a/src/Analysis.cc +++ b/src/Analysis.cc @@ -766,7 +766,7 @@ } // Smear true bin content by calorimeter resolution. - if (smear > 0 && rndmPtr > 0) + if (smear != 0 && rndmPtr != 0) for (int j = 0; j < int(cells.size()); ++j) { double eTeConv = (smear < 2) ? 1. : cosh( cells[j].etaCell ); double eBef = cells[j].eTcell * eTeConv; --- a/src/MultipartonInteractions.cc +++ b/src/MultipartonInteractions.cc @@ -487,7 +487,7 @@ mMinPertDiff = settings.parm("Diffraction:mMinPert"); // Possibility to allow user veto of MPI - canVetoMPI = (userHooksPtr > 0) ? userHooksPtr->canVetoMPIEmission() : false; + canVetoMPI = (userHooksPtr != 0) ? userHooksPtr->canVetoMPIEmission() : false; // Some common combinations for double Gaussian, as shorthand. if (bProfile == 2) { --- a/src/PartonDistributions.cc +++ b/src/PartonDistributions.cc @@ -203,7 +203,7 @@ // Check that not dummy library was linked and put nSet negative. isSet = (nSet >= 0); if (!isSet) { - if (infoPtr > 0) infoPtr->errorMsg("Error from LHAPDF::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from LHAPDF::init: " "you try to use LHAPDF but did not link it"); else cout << " Error from LHAPDF::init: you try to use LHAPDF " << "but did not link it" << endl; @@ -692,7 +692,7 @@ // Open data file. ifstream data_file( (xmlPath + fileName).c_str() ); if (!data_file.good()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "did not find parametrization file ", fileName); else cout << " Error from MSTWpdf::init: " << "did not find parametrization file " << fileName << endl; @@ -728,14 +728,14 @@ // Check that the heavy quark masses are sensible. if (mc2 < qq[3] || mc2 > qq[6]) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "invalid mCharm"); else cout << " Error from MSTWpdf::init: invalid mCharm" << endl; isSet = false; return; } if (mb2 < qq[13] || mb2 > qq[16]) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "invalid mBottom"); else cout << " Error from MSTWpdf::init: invalid mBottom" << endl; isSet = false; @@ -746,7 +746,7 @@ // with future grids where, for example, a photon distribution // might be provided (cf. the MRST2004QED PDFs). if (nExtraFlavours < 0 || nExtraFlavours > 1) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "invalid nExtraFlavours"); else cout << " Error from MSTWpdf::init: invalid nExtraFlavours" << endl; isSet = false; @@ -771,7 +771,7 @@ else f[12][n][m] = 0.; // photon if (data_file.eof()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "failed to read in data file"); else cout << " Error from MSTWpdf::init: failed to read in data file" << endl; @@ -783,7 +783,7 @@ // Check that ALL the file contents have been read in. data_file >> dtemp; if (!data_file.eof()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from MSTWpdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from MSTWpdf::init: " "failed to read in data file"); else cout << " Error from MSTWpdf::init: failed to read in data file" << endl; @@ -1281,7 +1281,7 @@ // Open data file. ifstream pdfgrid( (xmlPath + fileName).c_str() ); if (!pdfgrid.good()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from CTEQ6pdf::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from CTEQ6pdf::init: " "did not find parametrization file ", fileName); else cout << " Error from CTEQ6pdf::init: " << "did not find parametrization file " << fileName << endl; @@ -1856,7 +1856,7 @@ if (iFit == 2) dataFile = "pomH1FitB.data"; ifstream is( (xmlPath + dataFile).c_str() ); if (!is.good()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from PomH1FitAB::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from PomH1FitAB::init: " "the H1 Pomeron parametrization file was not found"); else cout << " Error from PomH1FitAB::init: " << "the H1 Pomeron parametrization file was not found" << endl; @@ -1886,7 +1886,7 @@ // Check for errors during read-in of file. if (!is) { - if (infoPtr > 0) infoPtr->errorMsg("Error from PomH1FitAB::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from PomH1FitAB::init: " "the H1 Pomeron parametrization files could not be read"); else cout << " Error from PomH1FitAB::init: " << "the H1 Pomeron parametrization files could not be read" << endl; @@ -1963,7 +1963,7 @@ ifstream isq( (xmlPath + "pomH1JetsSinglet.data").c_str() ); ifstream isc( (xmlPath + "pomH1JetsCharm.data").c_str() ); if (!isg.good() || !isq.good() || !isc.good()) { - if (infoPtr > 0) infoPtr->errorMsg("Error from PomH1Jets::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from PomH1Jets::init: " "the H1 Pomeron parametrization files were not found"); else cout << " Error from PomH1Jets::init: " << "the H1 Pomeron parametrization files were not found" << endl; @@ -2010,7 +2010,7 @@ // Check for errors during read-in of files. if (!isg || !isq || !isc) { - if (infoPtr > 0) infoPtr->errorMsg("Error from PomH1Jets::init: " + if (infoPtr != 0) infoPtr->errorMsg("Error from PomH1Jets::init: " "the H1 Pomeron parametrization files could not be read"); else cout << " Error from PomH1Jets::init: " << "the H1 Pomeron parametrization files could not be read" << endl; --- a/src/PartonLevel.cc +++ b/src/PartonLevel.cc @@ -80,7 +80,7 @@ if (!settings.flag("PartonLevel:all")) doMPIinit = false; // Merging initialization. - bool hasMergingHooks = (mergingHooksPtr > 0); + bool hasMergingHooks = (mergingHooksPtr != 0); doMerging = settings.flag("Merging:doUserMerging") || settings.flag("Merging:doMGMerging") || settings.flag("Merging:doKTMerging"); @@ -124,15 +124,15 @@ } // Possibility to allow user veto during evolution. - canVetoPT = (userHooksPtr > 0) ? userHooksPtr->canVetoPT() : false; + canVetoPT = (userHooksPtr != 0) ? userHooksPtr->canVetoPT() : false; pTvetoPT = (canVetoPT) ? userHooksPtr->scaleVetoPT() : -1.; - canVetoStep = (userHooksPtr > 0) ? userHooksPtr->canVetoStep() : false; + canVetoStep = (userHooksPtr != 0) ? userHooksPtr->canVetoStep() : false; nVetoStep = (canVetoStep) ? userHooksPtr->numberVetoStep() : -1; - canVetoMPIStep = (userHooksPtr > 0) ? userHooksPtr->canVetoMPIStep() : false; + canVetoMPIStep = (userHooksPtr != 0) ? userHooksPtr->canVetoMPIStep() : false; nVetoMPIStep = (canVetoMPIStep) ? userHooksPtr->numberVetoMPIStep() : -1; // Possibility to set maximal shower scale in resonance decays. - canSetScale = (userHooksPtr > 0) ? userHooksPtr->canSetResonanceScale() + canSetScale = (userHooksPtr != 0) ? userHooksPtr->canSetResonanceScale() : false; // Set info and initialize the respective program elements. --- a/src/PhaseSpace.cc +++ b/src/PhaseSpace.cc @@ -181,9 +181,9 @@ biasWt = 1.; // Flags if user should be allowed to reweight cross section. - canModifySigma = (userHooksPtr > 0) + canModifySigma = (userHooksPtr != 0) ? userHooksPtr->canModifySigma() : false; - canBiasSelection = (userHooksPtr > 0) + canBiasSelection = (userHooksPtr != 0) ? userHooksPtr->canBiasSelection() : false; } --- a/src/Pythia.cc +++ b/src/Pythia.cc @@ -371,7 +371,7 @@ mergingHooksPtr = new MergingHooks(); hasOwnMergingHooks = true; } - hasMergingHooks = (mergingHooksPtr > 0); + hasMergingHooks = (mergingHooksPtr != 0); if (hasMergingHooks) mergingHooksPtr->setLHEInputFile( lhef); } @@ -452,7 +452,7 @@ rHadrons.init( &info, settings, &particleData, &rndm); // Set up values related to user hooks. - hasUserHooks = (userHooksPtr > 0); + hasUserHooks = (userHooksPtr != 0); doVetoProcess = (hasUserHooks) ? userHooksPtr->canVetoProcessLevel() : false; doVetoPartons = (hasUserHooks) --- a/src/SigmaProcess.cc +++ b/src/SigmaProcess.cc @@ -52,12 +52,12 @@ slhaPtr = slhaPtrIn; // Read out some properties of beams to allow shorthand. - idA = (beamAPtr > 0) ? beamAPtr->id() : 0; - idB = (beamBPtr > 0) ? beamBPtr->id() : 0; - mA = (beamAPtr > 0) ? beamAPtr->m() : 0.; - mB = (beamBPtr > 0) ? beamBPtr->m() : 0.; - isLeptonA = (beamAPtr > 0) ? beamAPtr->isLepton() : false; - isLeptonB = (beamBPtr > 0) ? beamBPtr->isLepton() : false; + idA = (beamAPtr != 0) ? beamAPtr->id() : 0; + idB = (beamBPtr != 0) ? beamBPtr->id() : 0; + mA = (beamAPtr != 0) ? beamAPtr->m() : 0.; + mB = (beamBPtr != 0) ? beamBPtr->m() : 0.; + isLeptonA = (beamAPtr != 0) ? beamAPtr->isLepton() : false; + isLeptonB = (beamBPtr != 0) ? beamBPtr->isLepton() : false; hasLeptonBeams = isLeptonA || isLeptonB; // K factor, multiplying resolved processes. (But not here for MPI.) --- a/src/SpaceShower.cc +++ b/src/SpaceShower.cc @@ -181,7 +181,7 @@ if (!useSamePTasMPI) enhanceScreening = 0; // Possibility to allow user veto of emission step. - canVetoEmission = (userHooksPtr > 0) ? userHooksPtr->canVetoISREmission() + canVetoEmission = (userHooksPtr != 0) ? userHooksPtr->canVetoISREmission() : false; } --- a/src/TimeShower.cc +++ b/src/TimeShower.cc @@ -167,7 +167,7 @@ brokenHVsym = (nCHV == 1 && mHV > 0.); // Possibility to allow user veto of emission step. - canVetoEmission = (userHooksPtr > 0) ? userHooksPtr->canVetoFSREmission() + canVetoEmission = (userHooksPtr != 0) ? userHooksPtr->canVetoFSREmission() : false; } debian/patches/runmains-script.patch0000644000000000000000000000675412253533601015010 0ustar --- a/examples/runmains +++ b/examples/runmains @@ -1,3 +1,4 @@ +#!/bin/sh # runmains is a part of the PYTHIA event generator. # Copyright (C) 2013 Torbjorn Sjostrand. # PYTHIA is licenced under the GNU GPL version 2, see COPYING for details. @@ -11,202 +12,154 @@ echo echo Now begin main01 -make main01 time ./main01.exe > out01 echo echo Now begin main02 -make main02 time ./main02.exe > out02 echo echo Now begin main03 -make main03 time ./main03.exe > out03 echo echo Now begin main04 -make main04 time ./main04.exe > out04 echo echo Now begin main05 -make main05 time ./main05.exe > out05 echo echo Now begin main06 -make main06 time ./main06.exe > out06 echo echo Now begin main07 -make main07 time ./main07.exe > out07 echo echo Now begin main08 -make main08 time ./main08.exe > out08 echo echo Now begin main09 -make main09 time ./main09.exe > out09 echo echo Now begin main10 -make main10 time ./main10.exe > out10 echo echo Now begin main11 -make main11 time ./main11.exe > out11 echo echo Now begin main12 -make main12 time ./main12.exe > out12 echo echo Now begin main13 -make main13 time ./main13.exe > out13 echo echo Now begin main14 -make main14 time ./main14.exe > out14 echo echo Now begin main15 -make main15 time ./main15.exe > out15 echo echo Now begin main16 -make main16 time ./main16.exe main16.cmnd > out16 echo echo Now begin main17 -make main17 time ./main17.exe > out17 echo echo Now begin main18 -make main18 time ./main18.exe > out18 echo echo Now begin main19 -make main19 time ./main19.exe > out19 echo echo Now begin main20 -make main20 time ./main20.exe > out20 echo echo Now begin main21 -make main21 time ./main21.exe > out21 echo echo Now begin main22 -make main22 time ./main22.exe > out22 echo echo Now begin main23 -make main23 time ./main23.exe > out23 echo echo Now begin main24 -make main24 time ./main24.exe > out24 echo echo Now begin main25 -make main25 time ./main25.exe > out25 echo echo Now begin main26 -make main26 time ./main26.exe > out26 echo echo Now begin main27 -make main27 time ./main27.exe > out27 echo echo Now begin main28 -make main28 time ./main28.exe > out28 -# This code section stops the testing before the mainXX programs -# that need access to various external libraries (+ main31). -# If you have ensured such linkage, feel free to comment out -# the exit command below, to have the program continue to the end. -echo -echo The testing stops here! -echo Further checks require that you have external libraries linked, -echo and edit this runmains file, by removing a single exit line. -exit - echo echo Now begin main31 -make main31 time ./main31.exe > out31 echo echo Now begin main41 -make main41 time ./main41.exe > out41 echo echo Now begin main42 -make main42 time ./main42.exe main42.cmnd hepmcout42.dat > out42 echo echo Now begin main51 -make main51 time ./main51.exe > out51 echo echo Now begin main52 -make main52 time ./main52.exe > out52 -echo -echo Now begin main53 -make main53 -time ./main53.exe > out53 +#echo +#echo Now begin main53 +#time ./main53.exe > out53 echo echo Now begin main61 -make main61 time ./main61.exe main61.cmnd hepmcout61.dat > out61 echo echo Now begin main62 -make main62 time ./main62.exe main62.cmnd hepmcout62.dat > out62 echo echo Now begin main71 -make main71 time ./main71.exe > out71 echo echo Now begin main72 -make main72 time ./main72.exe > out72 debian/patches/tex-doc.patch0000644000000000000000000000225212253533601013202 0ustar diff --git a/xmldoc/pythia8100.tex b/xmldoc/pythia8100.tex index a9f8def..7d4b6f8 100644 --- a/xmldoc/pythia8100.tex +++ b/xmldoc/pythia8100.tex @@ -1,16 +1,16 @@ %% Computer Physics Communications class file, slightly modified %% for reduced inter-paragraph and inter-section spacing. -\documentclass{elsartmod} +\documentclass{elsart} -% Include graphics package. -\usepackage{axodraw} - % Standardised indentation. \newcommand{\cindent}{\hspace*{10mm}~} %Vertical positioning of page %\setlength{\topmargin}{20mm} +% Include graphics package. +%\usepackage{axodraw} + \begin{document} \begin{frontmatter} diff --git a/xmldoc/worksheet.tex b/xmldoc/worksheet.tex index 8d1f429..f43a9ab 100644 --- a/xmldoc/worksheet.tex +++ b/xmldoc/worksheet.tex @@ -3,7 +3,6 @@ %packages %\renewcommand{\familydefault}{phv} \usepackage{epsfig} -\usepackage{axodraw} %define page size \setlength{\textheight}{233mm} @@ -70,7 +69,7 @@ \renewcommand{\t}{{\mathrm t}} \renewcommand{\u}{{\mathrm u}} \newcommand{\A}{{\mathrm A}} -\renewcommand{\B}{{\mathrm B}} +\newcommand{\B}{{\mathrm B}} \newcommand{\D}{{\mathrm D}} \newcommand{\F}{{\mathrm F}} \renewcommand{\H}{{\mathrm H}} debian/patches/root-makefile.patch0000644000000000000000000000420112253533601014371 0ustar --- a/rootexamples/Makefile +++ b/rootexamples/Makefile @@ -3,44 +3,33 @@ # Axel Naumann, 2011-03-03 ###################################################################### -# Need this to get SHAREDSUFFIX (e.g. dylib or so) --include ../config.mk - # A few variables used in this Makefile: EX := hist tree EXE := $(addsuffix .exe,$(EX)) -PYTHIA8 ?= $(PWD)/.. -STATICLIB := $(PYTHIA8)/lib/archive/libpythia8.a -SHAREDLIB := $(PYTHIA8)/lib/libpythia8.$(SHAREDSUFFIX) -DICTCXXFLAGS := -I$(PYTHIA8)/include +DICTCXXFLAGS := -I/usr/include/pythia8 ROOTCXXFLAGS := $(DICTCXXFLAGS) $(shell root-config --cflags) -# Libraries to include if GZIP support is enabled -ifeq (x$(ENABLEGZIP),xyes) -LIBGZIP=-L$(BOOSTLIBLOCATION) -lboost_iostreams -L$(ZLIBLOCATION) -lz -endif - # LDFLAGS1 for static library, LDFLAGS2 for shared library LDFLAGS1 := $(shell root-config --ldflags --glibs) \ - -L$(PYTHIA8)/lib/archive -lpythia8 -llhapdfdummy $(LIBGZIP) + -lpythia8 -lLHAPDF LDFLAGS2 := $(shell root-config --ldflags --glibs) \ - -L$(PYTHIA8)/lib -lpythia8 -llhapdfdummy $(LIBGZIP) + -lpythia8 -lLHAPDF # Default target; make examples (but not shared dictionary) all: $(EX) # Rule to build hist example. Needs static PYTHIA 8 library -hist: $(STATICLIB) hist.cc +hist: hist.cc $(CXX) $(ROOTCXXFLAGS) $@.cc -o $@.exe $(LDFLAGS1) # Rule to build tree example. Needs dictionary to be built and # static PYTHIA 8 library -tree: $(STATICLIB) tree.cc +tree: tree.cc rootcint -f treeDict.cc -c $(DICTCXXFLAGS) pythiaROOT.h pythiaLinkdef.h $(CXX) $(ROOTCXXFLAGS) treeDict.cc $@.cc -o $@.exe $(LDFLAGS1) # Rule to build full dictionary -dict: $(SHAREDLIB) +dict: rootcint -f pythiaDict.cc -c $(DICTCXXFLAGS) \ -DPYTHIA8_COMPLETE_ROOT_DICTIONARY \ pythiaROOT.h pythiaLinkdef.h @@ -49,14 +38,6 @@ $(ROOTCXXFLAGS) $(LDFLAGS2) -# Error messages if PYTHIA libraries don't exist -$(STATICLIB): - @echo "Error: PYTHIA 8 archive library must be built" - @false -$(SHAREDLIB): - @echo "Error: PYTHIA 8 shared library must be built" - @false - # Clean up clean: rm -f $(EXE) hist.root pythiaDict.* \ debian/patches/xmldir.patch0000644000000000000000000000052312253533601013135 0ustar --- a/include/Pythia8/Pythia.h +++ b/include/Pythia8/Pythia.h @@ -48,7 +48,7 @@ public: // Constructor. (See Pythia.cc file.) - Pythia(string xmlDir = "../xmldoc", bool printBanner = true); + Pythia(string xmlDir = "/usr/share/pythia8-data/xmldoc", bool printBanner = true); // Destructor. (See Pythia.cc file.) ~Pythia(); debian/patches/series0000644000000000000000000000015212253533601012030 0ustar fix-soname.patch hepmc-version.patch runmains-script.patch tex-doc.patch xmldir.patch root-makefile.patch debian/patches/fix-soname.patch0000644000000000000000000000613512253533601013711 0ustar --- a/Makefile +++ b/Makefile @@ -39,9 +39,9 @@ # Location of libraries to be built. ifeq ($(SHAREDLIBS),yes) targets=$(LIBDIRARCH)/libpythia8.a - targets+=$(LIBDIR)/libpythia8.$(SHAREDSUFFIX) + targets+=$(LIBDIR)/libpythia.$(SHAREDSUFFIX).$(UPVER) targets+=$(LIBDIRARCH)/liblhapdfdummy.a - targets+=$(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX) + targets+=$(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX).$(UPVER) else targets=$(LIBDIRARCH)/libpythia8.a targets+=$(LIBDIRARCH)/liblhapdfdummy.a @@ -50,7 +50,7 @@ ifneq (x$(HEPMCLOCATION),x) targets+=$(LIBDIRARCH)/libpythia8tohepmc.a ifeq ($(SHAREDLIBS),yes) - targets+=$(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX) + targets+=$(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX).$(UPVER) endif endif @@ -108,9 +108,12 @@ objects := $(patsubst $(SRCDIR)/%.cc,$(MYTMPDIR)/%.o,$(wildcard $(SRCDIR)/*.cc)) objectsarch := $(patsubst $(SRCDIR)/%.cc,$(MYTMPDIR)/archive/%.o,$(wildcard $(SRCDIR)/*.cc)) -$(LIBDIR)/libpythia8.$(SHAREDSUFFIX): $(objects) +$(LIBDIR)/libpythia.$(SHAREDSUFFIX).$(UPVER): $(objects) @mkdir -p $(LIBDIR) - $(CXX) $(LDFLAGSSHARED) -o $@ $(objects) $(LDFLAGLIBNAME),$(notdir $@) + $(CXX) $(LDFLAGSSHARED) -o $@ $(objects) $(LDFLAGLIBNAME),libpythia.so.8 + ln -s $(notdir $@) $(LIBDIR)/libpythia.$(SHAREDSUFFIX).8 + ln -s $(notdir $@) $(LIBDIR)/libpythia8.$(SHAREDSUFFIX) + ln -s $(notdir $@) $(LIBDIR)/libpythia.$(SHAREDSUFFIX) $(LIBDIRARCH)/libpythia8.a: $(objectsarch) @mkdir -p $(LIBDIRARCH) @@ -119,9 +122,11 @@ objdum := $(patsubst lhapdfdummy/%.cc,$(MYTMPDIR)/%.o,$(wildcard lhapdfdummy/*.cc)) objdumarch := $(patsubst lhapdfdummy/%.cc,$(MYTMPDIR)/archive/%.o,$(wildcard lhapdfdummy/*.cc)) -$(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX): $(objdum) +$(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX).$(UPVER): $(objdum) @mkdir -p $(LIBDIR) - $(CXX) $(LDFLAGSSHARED) -o $@ $(objdum) $(LDFLAGLIBNAME),$(notdir $@) + $(CXX) $(LDFLAGSSHARED) -o $@ $(objdum) $(LDFLAGLIBNAME),liblhapdfdummy.so.8 + ln -s $(notdir $@) $(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX).8 + ln -s $(notdir $@) $(LIBDIR)/liblhapdfdummy.$(SHAREDSUFFIX) $(LIBDIRARCH)/liblhapdfdummy.a: $(objdumarch) @mkdir -p $(LIBDIRARCH) @@ -173,9 +178,11 @@ objectsI := $(patsubst pythia8tohepmc/%.cc,$(MYTMPDIR)/%.o,$(wildcard pythia8tohepmc/*.cc)) objectsIarch := $(patsubst pythia8tohepmc/%.cc,$(MYTMPDIR)/archive/%.o,$(wildcard pythia8tohepmc/*.cc)) - $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX) : $(objectsI) + $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX).$(UPVER) : $(objectsI) @mkdir -p $(LIBDIR) - $(CXX) $(LDFLAGSSHARED) $(objectsI) -o $@ $(LDFLAGLIBNAME),$(notdir $@) + $(CXX) $(LDFLAGSSHARED) $(objectsI) -o $@ $(LDFLAGLIBNAME),libpythia8tohepmc.so.8 + ln -s $(notdir $@) $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX).8 + ln -s $(notdir $@) $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX) $(LIBDIRARCH)/libpythia8tohepmc.a : $(objectsIarch) @mkdir -p $(LIBDIRARCH) @@ -191,7 +198,7 @@ else - $(LIBDIRARCH)/libpythia8tohepmc.a $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX) : + $(LIBDIRARCH)/libpythia8tohepmc.a $(LIBDIR)/libpythia8tohepmc.$(SHAREDSUFFIX).$(UPVER) : @echo $(HEPMCERROR) debian/libpythia8-dev.links0000644000000000000000000000005012253533601013054 0ustar usr/include/Pythia8 usr/include/pythia8 debian/libhepmcinterface8-dev.install.in0000644000000000000000000000000012253533601015461 0ustar debian/pythia8-root-interface.install0000644000000000000000000000014212253533601015060 0ustar rootexamples/pythiaROOT.h usr/include/Pythia8 rootexamples/pythiaLinkdef.h usr/include/Pythia8 debian/libpythia8.install.in0000644000000000000000000000005012253533601013233 0ustar lib/*.so.* usr/lib/@DEB_HOST_MULTIARCH@ debian/pythia8-doc-worksheet.install0000644000000000000000000000006412253533601014720 0ustar xmldoc/worksheet.pdf usr/share/doc/pythia8-doc/pdf debian/pythia8-doc-intro.doc-base0000644000000000000000000000047312253533601014053 0ustar Document: pythia8-intro Title: A Brief Introduction to PYTHIA 8.1 Author: Abstract: This manual describes what pythia is and how it can be used to manage online manuals on Debian systems. Section: Science/Physics Format: pdf Files: /usr/share/doc/pythia8-doc/pdf/pythia8100.pdf.gz debian/compat0000644000000000000000000000000212253533601010364 0ustar 7 debian/pythia8-root-interface.examples0000644000000000000000000000010012253533601015222 0ustar rootexamples/hist.cc rootexamples/tree.cc rootexamples/Makefile debian/libpythia8-dev.install.in0000644000000000000000000000017612253533601014020 0ustar include/* usr/include/Pythia8 lib/archive/*.a usr/lib/@DEB_HOST_MULTIARCH@ lib/*.so usr/lib/@DEB_HOST_MULTIARCH@ debian/watch0000644000000000000000000000023612253533601010220 0ustar version=3 opts=dversionmangle=s/\.//g \ http://home.thep.lu.se/~torbjorn/pythiaaux/present.html .*pythia(.*)\.tgz \ debian ./debian/get-orig-source debian/control0000644000000000000000000001672712253533601010606 0ustar Source: pythia8 Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libhepmc-dev, texlive-xetex, ghostscript Standards-Version: 3.9.4 Section: science Homepage: http://home.thep.lu.se/~torbjorn/Pythia.html Vcs-Git: git://anonscm.debian.org/debian-science/packages/pythia8.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pythia8.git Package: pythia8-data Architecture: all Multi-arch: foreign Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends} Recommends: libpythia8 Description: PYTHIA8 data files PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides XML data files of PYTHIA8 Package: libpythia8 Section: libs Architecture: any Multi-arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libhepmc4, pythia8-data (= ${source:Version}), liblhapdf0, ${shlibs:Depends}, ${misc:Depends} Recommends: libpythia8-dev Description: PYTHIA event generator of high energy physics PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides run-time library of PYTHIA8. Package: libpythia8-dev Section: libdevel Architecture: any Depends: libhepmc-dev, libpythia8 (= ${binary:Version}), liblhapdf-dev, ${misc:Depends} Breaks: libhepmcinterface8-dev (<< 8.1.80) Description: PYTHIA event generator of high energy physics - development files PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides development files of PYTHIA8. Package: libhepmcinterface8 Section: libs Architecture: any Multi-arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libpythia8 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: HepMC interface for PYTHIA8 (obsolete) PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This is a transitional dummy package, HepMC interface has been moved into the package 'libpythia8'. Package: libhepmcinterface8-dev Section: libdevel Architecture: any Depends: libhepmcinterface8 (= ${binary:Version}), libpythia8-dev (= ${binary:Version}), ${misc:Depends} Description: HepMC interface for PYTHIA8 - development files (obsolete) PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This is a transitional dummy package, HepMC interface has been moved into the package 'libpythia8-dev'. Package: pythia8-examples Section: devel Architecture: all Depends: libpythia8-dev (>= ${source:Version}), libhepmcinterface8-dev (>= ${source:Version}), libfastjet-dev, ${misc:Depends} Description: Example source files of PYTHIA8 PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides example source files of PYTHIA8. Package: pythia8-root-interface Section: devel Architecture: all Depends: libpythia8-dev (>= ${source:Version}), ${misc:Depends} Recommends: root-system, libroot-core-dev Description: Interfaces to call ROOT functions in PYTHIA8 code PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides interfaces to call ROOT functions in PYTHIA8 code. Package: pythia8-doc-html Section: doc Architecture: all Depends: ${misc:Depends} Description: HTML Documentation of PYTHIA8 PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . This package provides HTML documentation files of PYTHIA8. #Package: pythia8-doc-intro #Section: doc #Architecture: all #Depends: ${misc:Depends} #Description: Introduction Documentation of PYTHIA8 # PYTHIA is a program for the generation of high-energy physics events, i.e. # for the description of collisions at high energies between elementary # particles such as e+, e-, p and pbar in various combinations. It contains # theory and models for a number of physics aspects, including hard and soft # interactions, parton distributions, initial- and final-state parton showers, # multiple interactions, fragmentation and decay. # . # This package provides A Brief Introduction to PYTHIA 8.1. Package: pythia8-doc-worksheet Section: doc Architecture: all Depends: ${misc:Depends} Description: Worksheet Documentation of PYTHIA8 PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and pbar in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial- and final-state parton showers, multiple interactions, fragmentation and decay. . The Worksheet of PYTHIA8 teachs you the basics of how to use the PYTHIA 8.1 event generator to study various physics aspects. debian/docs0000644000000000000000000000005312253533601010037 0ustar CODINGSTYLE GUIDELINES README README.HepMC debian/rules0000755000000000000000000000230312253533601010244 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) USRCXXFLAGS := $(CPPFLAGS) $(CXXFLAGS) USRLDFLAGSSHARED := $(LDFLAGS) DEBVER=$(strip $(shell \ head -n 1 debian/changelog | cut -f 2 -d ' ' | tr -d '()')) UPVER=$(shell echo $(DEBVER) | \ sed -e 's/-[^-]*$$//' -e 's/^[^:]*://') export USRCXXFLAGS USRLDFLAGSSHARED UPVER override_dh_auto_configure: dh_auto_configure -- \ --enable-shared \ --with-hepmc=/usr \ --prefix=/usr \ --installdir=$(CURDIR)/debian/tmp/usr \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) for f in debian/lib*.install.in; do \ sed -e 's,@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH),' $$f \ > $${f%.in}; \ done override_dh_auto_install: mkdir -p $(CURDIR)/debian/tmp/usr dh_auto_install override_dh_auto_build-indep: dh_auto_build cd xmldoc; xelatex worksheet; xelatex worksheet #cd xmldoc; xelatex pythia8100; xelatex pythia8100 %: dh $@ --parallel debian/pythia8-doc-intro.install0000644000000000000000000000007312253533601014040 0ustar xmldoc/pythia8100.pdf usr/share/doc/pythia8-doc-intro/pdf debian/pythia8-data.install0000644000000000000000000000036012253533601013052 0ustar xmldoc/*.xml usr/share/pythia8-data/xmldoc xmldoc/*.dat usr/share/pythia8-data/xmldoc xmldoc/*.data usr/share/pythia8-data/xmldoc xmldoc/*.pds usr/share/pythia8-data/xmldoc xmldoc/*.tbl usr/share/pythia8-data/xmldoc debian/pythia8-doc-html.doc-base0000644000000000000000000000046512253533601013665 0ustar Document: pythia8-html Title: PYTHIA8 Documentation (HTML) Author: Torbjorn Sjostrand, Stefan Ask, Richard Corke, Stephen Mrenna, Peter Skands Abstract: PYTHIA 8.1 manual. Section: Science/Physics Format: HTML Index: /usr/share/doc/pythia8-doc/html/Welcome.html Files: /usr/share/doc/pythia8-doc/html/*.html debian/libhepmcinterface8.install.in0000644000000000000000000000000012253533601014705 0ustar