Skip to content

Commit

Permalink
Revert "Fix ecal_gaps benchmark"
Browse files Browse the repository at this point in the history
This reverts commit 505e53d.
  • Loading branch information
veprbl committed Apr 14, 2024
1 parent 3953acb commit 2542d24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benchmarks/ecal_gaps/ecal_gaps.org
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ def get_events(particle="e-", energy="20GeV", num_files=1):
filter_name=filter_name, open_files=False, steps_per_file=1,
)

print(events.fields)

pt = np.hypot(events["MCParticles.momentum.x"][:,0], events["MCParticles.momentum.y"][:,0])
theta = np.arctan2(pt, events["MCParticles.momentum.z"][:,0])
eta = -np.log(np.tan(theta / 2))
Expand Down

0 comments on commit 2542d24

Please sign in to comment.