Skip to content

Commit

Permalink
Extra: AntSimSubmit: Adding testcase which makes string parsing fail
Browse files Browse the repository at this point in the history
  • Loading branch information
neiser committed May 14, 2017
1 parent 95e8f1d commit 147f4a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extra/SimulationBlaster/parse_pluto_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def get_decay_string(channel, max_level=0):
def main():
"""Main method for testing the functions"""
#channel = "a1[b1 [c1 [ d1 d2] c2] b2 ] a2 [b3[ c3 c4]]"
channel = "eta' [pi0 [g g] pi0 [dilepton [e+ e-] g] eta [pi0 [g g] pi0 [dilepton [e+ e-] g] pi0 [g g]]]"
#channel = "eta' [pi0 [g g] pi0 [dilepton [e+ e-] g] eta [pi0 [g g] pi0 [dilepton [e+ e-] g] pi0 [g g]]]"
channel = "p eta' [ g rho0 [ g pi0 [g g] ] ]"
print('channel:', channel)

decay_string = get_decay_string(channel, 1)
Expand Down

0 comments on commit 147f4a3

Please sign in to comment.