TauClusterFinder: Always try to go from shallow copy to the original cluster
The TauClusterFinder
tool used a property called JetVertexCorrection
to know if the clusters constituting the input jets are shallow copies or not, in order to go back to the original cluster if needed. This property is one of the blockers of !49968 (merged). At the configuration meeting on Jan 28th, we concluded that the presence of a shallow copy should be determined at C++ side instead of a job-option. This MR implements this decision.
It turns out that the trigger-tau config explicitly set JetVertexCorrection
to false, so always worked with the shallow copy. To maintain this behavior, a property UseOriginalCluster
was introduced, essentially replacing JetVertexCorrection
with a more descriptive name.
I am unsure if the current behavior of the HLT-Tau reco is actually the desired one ... ping @martindl