Commit d83bd066 authored by Reyesrivera, Jose's avatar Reyesrivera, Jose
Browse files

add logs for 0 and 1 jets

parent a377742e
plots/2jets/kt3_20/ggHgg_+-+-.png

12.6 KB | W: | H:

plots/2jets/kt3_20/ggHgg_+-+-.png

11.2 KB | W: | H:

plots/2jets/kt3_20/ggHgg_+-+-.png
plots/2jets/kt3_20/ggHgg_+-+-.png
plots/2jets/kt3_20/ggHgg_+-+-.png
plots/2jets/kt3_20/ggHgg_+-+-.png
  • 2-up
  • Swipe
  • Onion skin
plots/2jets/kt3_20/ggHgg_+---.png

15.5 KB | W: | H:

plots/2jets/kt3_20/ggHgg_+---.png

11.9 KB | W: | H:

plots/2jets/kt3_20/ggHgg_+---.png
plots/2jets/kt3_20/ggHgg_+---.png
plots/2jets/kt3_20/ggHgg_+---.png
plots/2jets/kt3_20/ggHgg_+---.png
  • 2-up
  • Swipe
  • Onion skin
No preview for this file type
#!/usr/bin/env python
import sys
pvs = [ ]
state = 0
brackets = 0
filename = sys.argv[1]
with open(filename) as f:
for line in f:
n = len(line)
i = 0
while i<n:
if state==0:
if n-i>6 and line.startswith(('DiLog['),i):
state = 1
brackets = 1
pvs.append(line[i:i+6])
i += 5
elif state==1:
c = line[i]
if c not in ' \n': pvs[-1] += line[i]
if c=='[': brackets += 1
elif c==']': brackets -= 1
if brackets==0:
state = 0
i += 1
for pv in pvs:
print(pv)
......@@ -13,7 +13,7 @@ with open(filename) as f:
i = 0
while i<n:
if state==0:
if n-i>4 and line.startswith(('Log[','PVC[','PVD['),i):
if n-i>4 and line.startswith(('Log['),i):
state = 1
brackets = 1
pvs.append(line[i:i+4])
......
PVB[0,0,2*MH^2-S34-T-U,Sqrt[MT^2],Sqrt[MT^2]]
PVB[0,0,MH^2-S-T24-U,Sqrt[MT^2],Sqrt[MT^2]]
PVB[0,0,MH^2-S34-T14-T24,Sqrt[MT^2],Sqrt[MT^2]]
PVB[0,0,S34,Sqrt[MT^2],Sqrt[MT^2]]
PVB[0,0,T,Sqrt[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H^2,2*MH^2-S34-T-U,0,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
PVC[1,0,0,MH^2,MH^2-S-T24-U,T14,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
PVC[1,0,0,MH^2,MH^2-S34-T14-T24,S,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
PVC[1,0,0,MH^2,S34,0,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
PVC[1,0,0,MH^2,T,0,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
PVC[1,0,0,MH^2,T24,MH^2-S-T-T14,Sqrt[MT^2],Sqrt[MT^2],Sqrt[MT^2]]
#!/usr/bin/env python
import sys
pvs = [ ]
state = 0
brackets = 0
filename = sys.argv[1]
with open(filename) as f:
for line in f:
n = len(line)
i = 0
while i<n:
if state==0:
if n-i>8 and line.startswith(('PolyLog['),i):
state = 1
brackets = 1
pvs.append(line[i:i+8])
i += 7
elif state==1:
c = line[i]
if c not in ' \n': pvs[-1] += line[i]
if c=='[': brackets += 1
elif c==']': brackets -= 1
if brackets==0:
state = 0
i += 1
for pv in pvs:
print(pv)
#!/usr/bin/env python
import sys
pvs = [ ]
state = 0
brackets = 0
filename = sys.argv[1]
with open(filename) as f:
for line in f:
n = len(line)
i = 0
while i<n:
if state==0:
if n-i>9 and line.startswith(('ScalarC0[','ScalarD0['),i):
state = 1
brackets = 1
pvs.append(line[i:i+9])
i += 8
elif state==1:
c = line[i]
if c not in ' \n': pvs[-1] += line[i]
if c=='[': brackets += 1
elif c==']': brackets -= 1
if brackets==0:
state = 0
i += 1
for pv in pvs:
print(pv)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment