More complete hash for JetDefinition
Compare changes
@@ -123,7 +123,7 @@ class JetDefinition(object):
@@ -380,7 +380,9 @@ class JetInputExternal(object):
@@ -523,6 +525,8 @@ class JetInputConstit(object):
GitLab service scheduled maintenance on Friday, March 21st 2025 as of 08h00 Geneva time for an estimated period of 1 hour. Further information under OTG0154918.
@delsart, it seemed weird to me that we were not hashing & comparing equality with the algorithm
parameter, and also VR jet parameters were not compared. Then I realised that basename
neatly captures the full description of the jet clustering configuration, and as it's governed by the lproperties
logic, it remains complete. It should only be the naming parameters like prefix
, infix
, suffix
that can be ignored in the hash. I added the byVertex
option as well, as it seems relevant.
Do you think I missed anything?
Added __repr__ = __str__
for a couple of the classes that were missing it as well, as I was seeing the pointer addresses show up in some printouts.