Muonscanfit
Compare changes
+ 14
− 18
@@ -41,10 +41,6 @@ HitL1(m::DetectorModule, hits) = HitL1(m.id, hits)
@@ -41,10 +41,6 @@ HitL1(m::DetectorModule, hits) = HitL1(m.id, hits)
@@ -66,11 +62,11 @@ struct HitR1 <: AbstractReducedHit
@@ -66,11 +62,11 @@ struct HitR1 <: AbstractReducedHit
Base.isless(lhs::HitR1, rhs::HitR1) = lhs.dom_id == rhs.dom_id ? time(lhs) < time(rhs) : lhs.dom_id < rhs.dom_id
@@ -292,16 +288,16 @@ end
@@ -292,16 +288,16 @@ end
@@ -377,7 +373,7 @@ function _findL1!(out::Vector{H}, m::DetectorModule, hits, Δt, combine::Bool) w
@@ -377,7 +373,7 @@ function _findL1!(out::Vector{H}, m::DetectorModule, hits, Δt, combine::Bool) w
@@ -550,12 +546,12 @@ function (m::Match1D)(hit1, hit2)
@@ -550,12 +546,12 @@ function (m::Match1D)(hit1, hit2)
return m.t <= (m.roadwidth - m.d) * KM3io.Constants.TAN_THETA_C_WATER * KM3io.Constants.C_INVERSE + m.tmaxextra
@@ -570,7 +566,7 @@ end
@@ -570,7 +566,7 @@ end
@@ -592,7 +588,7 @@ function clusterize!(hits::Vector{T}, c::Clique) where T<:AbstractSpecialHit
@@ -592,7 +588,7 @@ function clusterize!(hits::Vector{T}, c::Clique) where T<:AbstractSpecialHit
@@ -626,7 +622,7 @@ function clusterize!(hits::Vector{T}, c::Clique) where T<:AbstractSpecialHit
@@ -626,7 +622,7 @@ function clusterize!(hits::Vector{T}, c::Clique) where T<:AbstractSpecialHit