main-coverity-TriggerAnalysisAlgorithms
coverity 17239:misuse of string::find.
The original line:
if (chain.find("HLT_tau")) dR=0.2;
Sets dR=0.2 if the string "HLT_tau" is not found or if the string is found in a position other than the start (=0).
I have expressed this same logic more clearly, and request review by @mrimoldi (author).
Edited by Shaun Roe