Skip to content

Commit

Permalink
Merge pull request #36318 from cms-tau-pog/CMSSW_12_2_X_tau-pog_fixL2NN
Browse files Browse the repository at this point in the history
Bug fix: Issue with nVertices in L2NNTagTauProducer
  • Loading branch information
cmsbuild committed Dec 1, 2021
2 parents a222dc9 + 61a8f90 commit b305e3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RecoTauTag/HLTProducers/src/L2TauTagNNProducer.cc
Expand Up @@ -572,6 +572,8 @@ std::vector<int> L2TauNNProducer::selectGoodVertices(const ZVertexSoA& patavtx_s
auto maxTracks = patatracks_tsoa.stride();
const int nv = patavtx_soa.nvFinal;
std::vector<int> VtxGood;
if (nv == 0)
return VtxGood;
VtxGood.reserve(nv);

std::vector<double> maxChi2_;
Expand Down

0 comments on commit b305e3a

Please sign in to comment.