From 892a1ae825677eb8b6fcd9cf74222d6a85870d7f Mon Sep 17 00:00:00 2001 From: Dinko Ferencek Date: Thu, 17 Mar 2016 11:53:16 +0100 Subject: [PATCH] select the first axis index when only one axis available --- .../src/CandidateBoostedDoubleSecondaryVertexComputer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoBTag/SecondaryVertex/src/CandidateBoostedDoubleSecondaryVertexComputer.cc b/RecoBTag/SecondaryVertex/src/CandidateBoostedDoubleSecondaryVertexComputer.cc index bcbcfa8bdfea4..dc41e609f89bd 100644 --- a/RecoBTag/SecondaryVertex/src/CandidateBoostedDoubleSecondaryVertexComputer.cc +++ b/RecoBTag/SecondaryVertex/src/CandidateBoostedDoubleSecondaryVertexComputer.cc @@ -360,7 +360,7 @@ float CandidateBoostedDoubleSecondaryVertexComputer::discriminator(const TagInfo tau1_flightDistance2dSig =svTagInfo.flightDistance(vtx,true).significance(); tau1_vertexDeltaR = reco::deltaR(svTagInfo.flightDirection(vtx),currentAxes[0]); } - etaRelToTauAxis(vertex, currentAxes[1], tau1_trackEtaRels); + etaRelToTauAxis(vertex, currentAxes[0], tau1_trackEtaRels); tau1_nSecondaryVertices += 1.; }