Skip to content
Snippets Groups Projects

Muonscanfit

Merged Tamas Gal requested to merge muonscanfit into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -77,6 +77,11 @@ weight(h::HitR1) = h.weight
starttime(hit) = time(hit)
endtime(hit) = time(hit) + hit.tot
"""
Return the total number of hits for a collection of reduced hits.
"""
hitcount(hits::Vector{T}) where T<:AbstractReducedHit = sum(h.n for h in hits)
"""
Combine snapshot and triggered hits to a single hits-vector.
Loading