Skip to content
Snippets Groups Projects
Unverified Commit c88b5542 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

zdc_{lambda,photon}: fix logic, run more code conditionally (#141)

parent 0ef75c01
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ for p in momenta: ...@@ -28,7 +28,7 @@ for p in momenta:
for index in range(5) for index in range(5)
}) })
if "ReconstructedFarForwardZDCNeutrals.PDG" in arrays_sim[p][momenta[0]].fields: if "ReconstructedFarForwardZDCNeutrals.PDG" not in arrays_sim[p][momenta[0]].fields:
print("ReconstructedFarForwardZDCNeutrals collection is not available (needs EICrecon 1.23)") print("ReconstructedFarForwardZDCNeutrals collection is not available (needs EICrecon 1.23)")
import sys import sys
sys.exit(0) sys.exit(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment