Skip to content
Snippets Groups Projects
Verified Commit 9e0ca922 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix dataformat namespace

parent baecc24b
No related branches found
No related tags found
1 merge request!2API cleanup for online files reading
......@@ -5,11 +5,11 @@ Return `true` if the n-th bit of `a` is set, `false` otherwise.
nthbitset(n, a) = Bool((a >> n) & 1)
is3dmuon(e::DAQEvent) = nthbitset(Trigger.JTRIGGER3DMUON, e.trigger_mask)
is3dshower(e::DAQEvent) = nthbitset(Trigger.JTRIGGER3DSHOWER, e.trigger_mask)
ismxshower(e::DAQEvent) = nthbitset(Trigger.JTRIGGERMXSHOWER, e.trigger_mask)
isnb(e::DAQEvent) = nthbitset(Trigger.JTRIGGERNB, e.trigger_mask)
is3dmuon(x) = nthbitset(Trigger.JTRIGGER3DMUON, x)
is3dshower(x) = nthbitset(Trigger.JTRIGGER3DSHOWER, x)
ismxshower(x) = nthbitset(Trigger.JTRIGGERMXSHOWER, x)
isnb(x) = nthbitset(Trigger.JTRIGGERNB, x)
is3dmuon(e::DAQEvent) = nthbitset(TRIGGER.JTRIGGER3DMUON, e.header.trigger_mask)
is3dshower(e::DAQEvent) = nthbitset(TRIGGER.JTRIGGER3DSHOWER, e.header.trigger_mask)
ismxshower(e::DAQEvent) = nthbitset(TRIGGER.JTRIGGERMXSHOWER, e.header.trigger_mask)
isnb(e::DAQEvent) = nthbitset(TRIGGER.JTRIGGERNB, e.header.trigger_mask)
is3dmuon(x) = nthbitset(TRIGGER.JTRIGGER3DMUON, x)
is3dshower(x) = nthbitset(TRIGGER.JTRIGGER3DSHOWER, x)
ismxshower(x) = nthbitset(TRIGGER.JTRIGGERMXSHOWER, x)
isnb(x) = nthbitset(TRIGGER.JTRIGGERNB, x)
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