Skip to content

Commit

Permalink
Merge pull request #36597 from JanFSchulte/OISeedBugFixBackport
Browse files Browse the repository at this point in the history
Bugfix for DNN-based outside-in track seed generator for Muon HLT - Backport
  • Loading branch information
cmsbuild authored Dec 29, 2021
2 parents d91f48f + 549b8b0 commit 68eee23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RecoMuon/TrackerSeedGenerator/plugins/TSGForOIDNN.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <memory>
namespace pt = boost::property_tree;

Expand Down Expand Up @@ -391,7 +392,7 @@ void TSGForOIDNN::produce(edm::StreamID sid, edm::Event& iEvent, edm::EventSetup
hitDoubletSeedsMade = 0;

auto createSeeds = [&](auto const& layers) {
for (auto const& layer : layers) {
for (auto const& layer : boost::adaptors::reverse(layers)) {
if (hitlessSeedsMadeIP < maxHitlessSeedsIP && numSeedsMade < maxSeeds_)
makeSeedsWithoutHits(*layer,
tsosAtIP,
Expand Down

0 comments on commit 68eee23

Please sign in to comment.