benchmark/code/dataset/preprocess.py
def make_pseudojet(event):
    """Create a fastjet pseudojet from the 4-vector entries"""
    event_particles = list()
    for n,t in enumerate(event):
        # Data Format:(E,px,py,pz)
        # FastJet pseudojet format should be: (px,py,pz,E)
        temp=fj.PseudoJet(t[1],t[2],t[3],t[0])
        event_particles.append(temp)
    return event_particles
Create a fastjet pseudojet from the 4-vector entries
Create a fastjet pseudojet from the 4-vector entries
Create a fastjet pseudojet from the 4 - vector entries
def make_pseudojet(event):
    event_particles = list()
    for n,t in enumerate(event):
        temp=fj.PseudoJet(t[1],t[2],t[3],t[0])
        event_particles.append(temp)
    return event_particles
def make_pseudojet ( event ) : event_particles = list ( ) for n , t in enumerate ( event ) : temp = fj . PseudoJet ( t [ 1 ] , t [ 2 ] , t [ 3 ] , t [ 0 ] ) event_particles . append ( temp ) return event_particles
Create a fastjet pseudojet from the 4-vector entries
Create a fastjet pseudojet from the 4 - vector entries
"""Create a fastjet pseudojet from the 4-vector entries""" # Data Format:(E,px,py,pz) # FastJet pseudojet format should be: (px,py,pz,E)
event