cms-externals / pythia8 Goto Github PK
View Code? Open in Web Editor NEWpythia8
License: GNU General Public License v2.0
pythia8
License: GNU General Public License v2.0
// Final statistics. Normalize and output histograms.
pythia.stat();
dndy *= 5. / nEvent;
dndeta *= 5. / nEvent;
dndpT *= 10. / nEvent;
cout << pThard << nFinal << nCharged << dndy << dndeta << dndpT << epCons;
######################################################
How you normalize this histograms? I don't understand the number("5"/"10") meaning, It is a unit transformation?
Another question not refered from this examples for pythia event list confused me, The events contains many particles information, for example four vector and mass and particle ID etc. Follow is the list information:
id name status mothers daughters colours p_x p_y p_z e m
What does the colours number meaning? And colours numbers usually larger than 100, Could you give an explainanation on colours=105? Thanks!
If the environmental variable ARCH is set but not as what is expected here: https://github.com/cms-externals/pythia8/blob/master/configure#L205, the compilation fails when building the library archive due to an incorrect substitution in the library list:
ar cru lib/libpythia8.a tmp/Analysis.o tmp/Basics.o tmp/BeamParticle.o tmp/BeamRemnants.o tmp/BeamShape.o tmp/BoseEinstein.o tmp/ColourReconnection.o tmp/ColourTracing.o tmp/Event.o tmp/FJcore.o tmp/FragmentationFlavZpT.o tmp/FragmentationSystems.o tmp/HadronLevel.o tmp/HadronScatter.o tmp/HardDiffraction.o tmp/HelicityBasics.o tmp/HelicityMatrixElements.o tmp/HiddenValleyFragmentation.o tmp/History.o tmp/Info.o tmp/JunctionSplitting.o tmp/LHEF3.o tmp/LesHouches.o tmp/Merging.o tmp/MergingHooks.o tmp/MiniStringFragmentation.o tmp/MultipartonInteractions.o tmp/ParticleData.o tmp/ParticleDecays.o tmp/PartonDistributions.o tmp/PartonLevel.o tmp/PartonSystems.o tmp/PhaseSpace.o tmp/ProcessContainer.o tmp/ProcessLevel.o tmp/Pythia.o tmp/PythiaStdlib.o tmp/RHadrons.o tmp/ResonanceDecays.o tmp/ResonanceWidths.o tmp/SLHAinterface.o tmp/Settings.o tmp/SigmaCompositeness.o tmp/SigmaEW.o tmp/SigmaExtraDim.o tmp/SigmaGeneric.o tmp/SigmaHiggs.o tmp/SigmaLeftRightSym.o tmp/SigmaLeptoquark.o tmp/SigmaNewGaugeBosons.o tmp/SigmaOnia.o tmp/SigmaProcess.o tmp/SigmaQCD.o tmp/SigmaSUSY.o tmp/SigmaTotal.o tmp/SpaceShower.o tmp/StandardModel.o tmp/Streams.o tmp/StringFragmentation.o tmp/StringLength.o tmp/SusyCouplings.o tmp/SusyLesHouches.o tmp/SusyResonanceWidths.o tmp/SusyWidthFunctions.o tmp/TauDecays.o tmp/TimeShower.o tmp/UserHooks.o tmp/WeakShowerMEs.o
g++ tmp/Analysis.o tmp/Basics.o tmp/BeamParticle.o tmp/BeamRemnants.o tmp/BeamShape.o tmp/BoseEinstein.o tmp/ColourReconnection.o tmp/ColourTracing.o tmp/Event.o tmp/FJcore.o tmp/FragmentationFlavZpT.o tmp/FragmentationSystems.o tmp/HadronLevel.o tmp/HadronScatter.o tmp/HardDiffraction.o tmp/HelicityBasics.o tmp/HelicityMatrixElements.o tmp/HiddenValleyFragmentation.o tmp/History.o tmp/Info.o tmp/JunctionSplitting.o tmp/LHEF3.o tmp/LesHouches.o tmp/Merging.o tmp/MergingHooks.o tmp/MiniStringFragmentation.o tmp/MultipartonInteractions.o tmp/ParticleData.o tmp/ParticleDecays.o tmp/PartonDistributions.o tmp/PartonLevel.o tmp/PartonSystems.o tmp/PhaseSpace.o tmp/ProcessContainer.o tmp/ProcessLevel.o tmp/Pythia.o tmp/PythiaStdlib.o tmp/RHadrons.o tmp/ResonanceDecays.o tmp/ResonanceWidths.o tmp/SLHAinterface.o tmp/Settings.o tmp/SigmaCompositeness.o tmp/SigmaEW.o tmp/SigmaExtraDim.o tmp/SigmaGeneric.o tmp/SigmaHiggs.o tmp/SigmaLeftRightSym.o tmp/SigmaLeptoquark.o tmp/SigmaNewGaugeBosons.o tmp/SigmaOnia.o tmp/SigmaProcess.o tmp/SigmaQCD.o tmp/SigmaSUSY.o tmp/SigmaTotal.o tmp/SpaceShower.o tmp/StandardModel.o tmp/Streams.o tmp/StringFragmentation.o tmp/StringLength.o tmp/SusyCouplings.o tmp/SusyLesHouches.o tmp/SusyResonanceWidths.o tmp/SusyWidthFunctions.o tmp/TauDecays.o tmp/TimeShower.o tmp/UserHooks.o tmp/WeakShowerMEs.o -o lib/libpythia8 -Iinclude -O2 -ansi -pedantic -W -Wall -Wshadow -fPIC ,libpythia8\
-ldl
g++: error: ,libpythia8: No such file or directory
make: *** [lib/libpythia8] Error 1
Since the variable ARCH is used in many other instances the configuration script should be protected against values of ARCH that are different from what the script expect.
@davidlt @bendavid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.