@@ -26,8 +26,9 @@ Scoped enumeration (using EnumX) representing different jet algorithms used in t
2626- `GenKt`: The Generalised Kt algorithm (with arbitrary power).
2727- `EEKt`: The Generalised e+e- kt algorithm.
2828- `Durham`: The e+e- kt algorithm, aka Durham.
29+ - `Valencia`: The Valencia e+e- algorithm.
2930"""
30- @enumx T= Algorithm JetAlgorithm AntiKt CA Kt GenKt EEKt Durham
31+ @enumx T= Algorithm JetAlgorithm AntiKt CA Kt GenKt EEKt Durham Valencia
3132const AllJetRecoAlgorithms = [String (Symbol (x)) for x in instances (JetAlgorithm. Algorithm)]
3233
3334"""
@@ -36,7 +37,7 @@ const AllJetRecoAlgorithms = [String(Symbol(x)) for x in instances(JetAlgorithm.
3637A constant array that contains the jet algorithms for which power is variable.
3738
3839"""
39- const varpower_algorithms = [JetAlgorithm. GenKt, JetAlgorithm. EEKt]
40+ const varpower_algorithms = [JetAlgorithm. GenKt, JetAlgorithm. EEKt, JetAlgorithm . Valencia ]
4041
4142"""
4243 algorithm2power
@@ -46,7 +47,8 @@ A dictionary that maps algorithm names to their corresponding power values.
4647const algorithm2power = Dict (JetAlgorithm. AntiKt => - 1 ,
4748 JetAlgorithm. CA => 0 ,
4849 JetAlgorithm. Kt => 1 ,
49- JetAlgorithm. Durham => 1 )
50+ JetAlgorithm. Durham => 1 ,
51+ JetAlgorithm. Valencia => 1 )
5052
5153"""
5254 get_algorithm_power(; algorithm::JetAlgorithm.Algorithm, p::Union{Real, Nothing}) -> Real
@@ -109,7 +111,7 @@ Check if the algorithm is a e+e- reconstruction algorithm.
109111`true` if the algorithm is a e+e- reconstruction algorithm, `false` otherwise.
110112"""
111113function is_ee (algorithm:: JetAlgorithm.Algorithm )
112- return algorithm in [ JetAlgorithm. EEKt, JetAlgorithm. Durham]
114+ return algorithm in ( JetAlgorithm. EEKt, JetAlgorithm. Durham, JetAlgorithm . Valencia)
113115end
114116
115117"""
0 commit comments