You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iflen(tokens)==6: #There is an empty line at the end of the file
140
140
#Note the different conventions (Particle names are different, charge is reported in units of 1/3e originally in HepPDT, lifetime expressed in ctau in cm)
print"The following values were in the G4ParticleTable dictionary but not in the G4ParticleTablePDG one (multiple entries with different names but the same PDG code):"
151
+
print("The following values were in the G4ParticleTable dictionary but not in the G4ParticleTablePDG one (multiple entries with different names but the same PDG code):")
152
152
forvalueinG4ParticleTable.values():
153
153
ifvaluenotinG4ParticleTablePDG.values():
154
-
printvalue
154
+
print(value)
155
155
eliflen(G4ParticleTablePDG)>len(G4ParticleTable):
156
-
print"The following values were in the G4ParticleTablePDG dictionary but not in the G4ParticleTable one (multiple entries with different PDG codes but the same Particle Name):"
156
+
print("The following values were in the G4ParticleTablePDG dictionary but not in the G4ParticleTable one (multiple entries with different PDG codes but the same Particle Name):")
print"The following values were in the HepPdtTable dictionary but not in the HepPdtTablePDG one (multiple entries with different names but the same PDG code):"
163
+
print("The following values were in the HepPdtTable dictionary but not in the HepPdtTablePDG one (multiple entries with different names but the same PDG code):")
164
164
forvalueinHepPdtTable.values():
165
165
ifvaluenotinHepPdtTablePDG.values():
166
-
printvalue
166
+
print(value)
167
167
eliflen(HepPdtTablePDG)>len(HepPdtTable):
168
-
print"The following values were in the HepPdtTablePDG dictionary but not in the HepPdtTable one (multiple entries with different PDG codes but the same Particle Name):"
168
+
print("The following values were in the HepPdtTablePDG dictionary but not in the HepPdtTable one (multiple entries with different PDG codes but the same Particle Name):")
0 commit comments