316316"""
317317 ee_genkt_algorithm(particles::AbstractVector{T}; algorithm::JetAlgorithm.Algorithm,
318318 p::Union{Real, Nothing} = nothing, R = 4.0, recombine = addjets,
319- preprocess = nothing, γ::Real = 1.0) where {T}
319+ preprocess = nothing, γ::Real = 1.0, β::Union{Real, Nothing} = nothing ) where {T}
320320
321321Run an e+e- reconstruction algorithm on a set of initial particles.
322322
@@ -332,6 +332,8 @@ Run an e+e- reconstruction algorithm on a set of initial particles.
332332- `recombine`: The recombination scheme to use.
333333- `preprocess`: Preprocessing function for input particles.
334334- `γ::Real = 1.0`: The angular exponent parameter for Valencia algorithm. Ignored for other algorithms.
335+ - `β::Union{Real, Nothing} = nothing`: Optional alias for the Valencia energy exponent; if provided for
336+ Valencia it overrides `p`.
335337
336338# Returns
337339- The result of the jet clustering as a `ClusterSequence` object.
@@ -344,7 +346,7 @@ itself, and call the actual reconstruction method `_ee_genkt_algorithm!`.
344346
345347If the algorithm is Durham, `R` is nominally set to 4.
346348If the algorithm is EEkt, power `p` must be specified.
347- If the algorithm is Valencia, both `p` (β) and `γ` should be specified .
349+ If the algorithm is Valencia, you can provide `p` (β) and `γ`, or pass `β` explicitly to override `p` .
348350"""
349351function ee_genkt_algorithm (particles:: AbstractVector{T} ; algorithm:: JetAlgorithm.Algorithm ,
350352 p:: Union{Real, Nothing} = nothing , R = 4.0 , recombine = addjets,
@@ -401,9 +403,10 @@ function ee_genkt_algorithm(particles::AbstractVector{T}; algorithm::JetAlgorith
401403end
402404
403405"""
404- _ee_genkt_algorithm! (particles::AbstractVector{EEJet};
406+ _ee_genkt_algorithm(particles::AbstractVector{EEJet};
405407 algorithm::JetAlgorithm.Algorithm, p::Real, R = 4.0,
406- recombine = addjets, γ::Real = 1.0)
408+ recombine = addjets, γ::Real = 1.0,
409+ beta::Union{Real, Nothing} = nothing)
407410
408411This function is the internal implementation of the e+e- jet clustering
409412algorithm. It takes a vector of `EEJet` `particles` representing the input
@@ -413,7 +416,7 @@ Users of the package should use the `ee_genkt_algorithm` function as their
413416entry point to this jet reconstruction.
414417
415418# Arguments
416- - `particles::AbstractVector{EEJet}`: A vector of `EEJet` particles used
419+ - `particles::AbstractVector{EEJet}`: A vector of `EEJet` particles used
417420 as input for jet reconstruction. This vector must supply the correct
418421 `cluster_hist_index` values and will be *mutated* as part of the returned
419422 `ClusterSequence`.
@@ -422,6 +425,9 @@ entry point to this jet reconstruction.
422425 is raised.
423426- `R = 4.0`: The jet radius parameter.
424427- `recombine = addjets`: The recombination function used to merge two jets.
428+ - `γ::Real = 1.0`: Angular exponent for the Valencia beam metric (ignored for other algorithms).
429+ - `beta::Union{Real, Nothing} = nothing`: Optional alias for the Valencia energy exponent (β).
430+ When provided with `algorithm == JetAlgorithm.Valencia`, it overrides `p`.
425431
426432# Returns
427433- `clusterseq`: The resulting `ClusterSequence` object representing the
0 commit comments