@@ -106,7 +106,7 @@ tiledjet_set_jetinfo!(jet::TiledJet, clusterseq::ClusterSequence, tiling::Tiling
106106 jet. NN_dist = R2
107107 jet. NN = noTiledJet
108108
109- # Find out which tile it belonds to
109+ # Find out which tile it belongs to
110110 jet. tile_index = tile_index (tiling. setup, jet. eta, jet. phi)
111111
112112 # Insert it into the tile's linked list of jets (at the beginning)
333333 tiled_jet_reconstruct(particles::Vector{T}; p = -1, R = 1.0, recombine = +) where {T}
334334
335335Main jet reconstruction algorithm entry point for reconstructing jets using the
336- tiled stragegy for generic jet type T.
336+ tiled strategy for generic jet type T.
337337
338338**Note** - if a non-standard recombination is used, it must be defined for
339339JetReconstruction.PseudoJet, as this struct is used internally.
@@ -349,7 +349,7 @@ If both are given they must be consistent or an exception is thrown.
349349 reconstruction. T must support methods px, py, pz and energy (defined in the
350350 JetReconstruction namespace)
351351- `p::Union{Real, Nothing} = -1`: The power parameter for the jet reconstruction
352- algorithm, thus swiching between different algorithms.
352+ algorithm, thus switching between different algorithms.
353353- `algorithm::Union{JetAlgorithm, Nothing} = nothing`: The explicit jet
354354 algorithm to use.
355355- `R::Float64 = 1.0`: The jet radius parameter for the jet reconstruction
@@ -407,7 +407,7 @@ of data types are done.
407407- `particles::Vector{PseudoJet}`: A vector of `PseudoJet` particles used as input for jet
408408 reconstruction.
409409- `p::Int = -1`: The power parameter for the jet reconstruction algorithm, thus
410- swiching between different algorithms.
410+ switching between different algorithms.
411411- `R::Float64 = 1.0`: The jet radius parameter for the jet reconstruction
412412 algorithm.
413413- `recombine::Function = +`: The recombination function used for combining
@@ -473,7 +473,7 @@ function _tiled_jet_reconstruct(particles::Vector{PseudoJet}; p::Real = -1, R =
473473 tiledjet_set_jetinfo! (tiledjets[ijet], clusterseq, tiling, ijet, R2, p)
474474 end
475475
476- # Now initalise all of the nearest neighbour tiles
476+ # Now initialise all of the nearest neighbour tiles
477477 NNs, dij = set_nearest_neighbours! (clusterseq, tiling, tiledjets)
478478
479479 # Main loop of the reconstruction
0 commit comments