ROyFit

NeRCA.DirectionSetType
struct DirectionSet

A container of directions with additionial information about their median angular separation.

Fields

  • directions::Vector{Direction{Float64}}

  • angular_separation::Float64

source
NeRCA.Line1ZType
struct Line1Z <: NeRCA.EstimatorModel

A straight line parallel to the z-axis.

Fields

  • pos::Position{Float64}

  • t::Float64

source
NeRCA.XYTSolverType
struct XYTSolver

A task worker whichs solves for x, y an t for a given set of hits and a direction.

Fields

  • hits_buffer::Vector{HitR1}

  • covmatrix::NeRCA.CovMatrix

  • timeresvec::Vector{Float64}

  • nmaxhits::Int64

  • matcher::Match1D

  • est::Line1ZEstimator

source
Base.Libc.timeMethod
time(lz::Line1Z, pos::Position) -> Any

Calculate the Chernkov arrival tive for a given position.

source
NeRCA.dumandfitMethod
dumandfit(
    hits::Array{T<:KM3io.AbstractCalibratedHit, 1}
) -> KM3io.Track

Performs the prefit algorithm which was used in DUMAND II.

source
NeRCA.invert!Method
invert!(V, precision) -> Any

Invert matrix in-place with a given precision (clamps eigenvalues to 0 below that).

source
NeRCA.make_cherenkov_calculatorMethod
make_cherenkov_calculator(
    d_closest,
    t_closest,
    z_closest,
    dir_z,
    t₀;
    n
) -> Tuple{NeRCA.var"#d_γ#34"{Float64}, NeRCA.var"#t#35"{Float64, _A, _B, _C, _D, Float64} where {_A, _B, _C, _D}}

Returns a function which calculates the arrival time of a Cherenkov photon at a given position.

source
NeRCA.make_cherenkov_calculatorMethod
make_cherenkov_calculator(track::KM3io.Track; v, n)

Returns a function which calculates the arrival time of a Cherenkov photon at a given position.

source
NeRCA.make_cherenkov_calculatorMethod
make_cherenkov_calculator(
    sdp::SingleDUParams;
    n
) -> Tuple{NeRCA.var"#d_γ#37"{Float64, SingleDUParams}, NeRCA.var"#t#38"{Float64, SingleDUParams, NeRCA.var"#d_γ#37"{Float64, SingleDUParams}, Float64}}

Returns a function which calculates the arrival time of a Cherenkov photon at a given position.

source
NeRCA.qualityMethod
quality(χ², N, NDF) -> Any

The quality of the fit, the larger the better, as used in e.g. Jpp.

source
NeRCA.scanfitMethod
scanfit(
    params::MuonScanfitParameters,
    rhits::Array{T<:NeRCA.AbstractReducedHit, 1},
    directionset::NeRCA.DirectionSet
) -> Any

Performs the scanfit for each given direction and returns a Vector{MuonScanfitCandidate} with all successful fits. The resulting vector can be empty if none of the directions had enough hits to perform the algorithm.

source
NeRCA.select_hitsMethod
select_hits(du_hits, hit_pool; Δt₋, Δz, new_hits) -> Any

Returns the seed hits suited for a Cherenkov hit time residual based reconstruction algorithm.

The du_hits should only contain hits for a single DU. The hitpool holds all other hit candidates (e.g. created by `createhit_pool()).Δt₋is the allowed negative time error for the arrival time,Δz` distance between two floors.

source
NeRCA.single_du_paramsMethod
single_du_params(track::KM3io.Track)

Calculates five parameters to describe a track for a single DU case.

source