removed if True
This commit is contained in:
@ -74,7 +74,6 @@ def main():
|
|||||||
poller = zmq.Poller()
|
poller = zmq.Poller()
|
||||||
|
|
||||||
# all the normal workers
|
# all the normal workers
|
||||||
if True:
|
|
||||||
worker = 1
|
worker = 1
|
||||||
|
|
||||||
# receive from backend:
|
# receive from backend:
|
||||||
@ -151,7 +150,7 @@ def main():
|
|||||||
event_darkshot = bool((daq_rec >> 17) & 1)
|
event_darkshot = bool((daq_rec >> 17) & 1)
|
||||||
event_fel = bool((daq_rec >> 18) & 1)
|
event_fel = bool((daq_rec >> 18) & 1)
|
||||||
event_ppicker = bool((daq_rec >> 19) & 1)
|
event_ppicker = bool((daq_rec >> 19) & 1)
|
||||||
#
|
|
||||||
if not event_darkshot:
|
if not event_darkshot:
|
||||||
results["laser_on"] = event_laser
|
results["laser_on"] = event_laser
|
||||||
|
|
||||||
@ -197,7 +196,7 @@ def main():
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
pixel_mask_pf = None
|
pixel_mask_pf = None
|
||||||
#
|
|
||||||
disabled_modules = results.get("disabled_modules", [])
|
disabled_modules = results.get("disabled_modules", [])
|
||||||
|
|
||||||
# add additional mask at the edge of modules for JF06T08
|
# add additional mask at the edge of modules for JF06T08
|
||||||
@ -467,7 +466,7 @@ def main():
|
|||||||
results["shape"] = data.shape
|
results["shape"] = data.shape
|
||||||
|
|
||||||
frame_number = metadata["frame"]
|
frame_number = metadata["frame"]
|
||||||
#
|
|
||||||
accumulator_socket.send_json(results, FLAGS)
|
accumulator_socket.send_json(results, FLAGS)
|
||||||
|
|
||||||
if (apply_aggregation != 0 ) and "aggregation_max" in results:
|
if (apply_aggregation != 0 ) and "aggregation_max" in results:
|
||||||
|
Reference in New Issue
Block a user