Skip to content
Snippets Groups Projects
Commit 13afd37c authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix args

parent f0f9b9b8
No related branches found
No related tags found
No related merge requests found
......@@ -13,12 +13,13 @@ end
const calib = KM3NeT.read_calibration(ARGS[1])
const TIME_RES = ARGS[2]
const LIGIER_PORT = parse(Int, ARGS[2])
const TIME_RES = ARGS[3]
function main()
println("Starting live ROyFit")
for message in CHClient(ip"127.0.0.1", 55530, ["IO_EVT"])
for message in CHClient(ip"127.0.0.1", LIGIER_PORT, ["IO_EVT"])
event = KM3NeT.read_io(IOBuffer(message.data), KM3NeT.DAQEvent)
hits = calibrate(event.hits, calib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment