diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..018ac13d9a7a42075bc659140c4ab66387baf8b1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: ubuntu:bionic + +variables: + GIT_SSL_NO_VERIFY: "1" + +before_script: + - apt-get update --yes + - apt-get install --yes cmake libboost-dev libeigen3-dev python3 + +build: + stage: build + tags: + - run1 + script: + - mkdir build + - cd build + - cmake .. + - cmake --build . + - ctest -V diff --git a/Framework/Particles/pdxml_reader.py b/Framework/Particles/pdxml_reader.py index 1483a6dee908ee781f2d852404650e27654c278a..39aaddd310dfeb51969660a7c17bcabdf9c6eb87 100755 --- a/Framework/Particles/pdxml_reader.py +++ b/Framework/Particles/pdxml_reader.py @@ -295,7 +295,7 @@ def gen_classes(pythia_db): string += "/** @class " + cname + "\n\n" string += " * Particle properties are taken from the PYTHIA8 ParticleData.xml file:<br>\n" string += " * - pdg=" + str(pythia_db[cname]['pdg']) +"\n" - string += " * - mass=" + str(pythia_db[cname]['mass']) + " GeV/c² \n" + string += " * - mass=" + str(pythia_db[cname]['mass']) + " GeV/c2 \n" string += " * - charge= " + str(pythia_db[cname]['electric_charge']/3) + " \n" string += " * - name=" + str(cname) + "\n" string += " * - anti=" + str(antiP) + "\n"