Changeset View
Changeset View
Standalone View
Standalone View
scripts/updateParticleProperties.py
#!/usr/bin/env python | #!/usr/bin/env python | ||||
######################################################################## | |||||
# Copyright 1998-2022 CERN for the benefit of the EvtGen authors # | |||||
# # | |||||
# This file is part of EvtGen. # | |||||
# # | |||||
# EvtGen 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 3 of the License, or # | |||||
# (at your option) any later version. # | |||||
# # | |||||
# EvtGen 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 EvtGen. If not, see <https://www.gnu.org/licenses/>. # | |||||
######################################################################## | |||||
from __future__ import division, print_function | from __future__ import division, print_function | ||||
import sys | import sys | ||||
import re | import re | ||||
class PPupdate: | class PPupdate: | ||||
"""Code to update particle properties to input from PDG.""" | """Code to update particle properties to input from PDG.""" | ||||
pdgProperties = dict() | pdgProperties = dict() | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |