From a60604248b02dea10c9d975737c6e06199b66dab Mon Sep 17 00:00:00 2001 From: Benjamin Date: Fri, 3 May 2024 13:47:54 +0200 Subject: [PATCH] Adding a setting of TTTrack word to allow Track Quality MVA to read variables --- L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc b/L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc index b6381bd4221e9..789ee15ba8cf1 100644 --- a/L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc +++ b/L1Trigger/TrackFindingTracklet/plugins/L1FPGATrackProducer.cc @@ -739,6 +739,9 @@ void L1FPGATrackProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSe aTrack.setStubPtConsistency( StubPtConsistency::getConsistency(aTrack, theTrackerGeom, tTopo, settings_.bfield(), settings_.nHelixPar())); + // set TTTrack word first to allow Track Quality MVA to read variables: + aTrack.setTrackWordBits(); + if (trackQuality_) { trackQualityModel_->setL1TrackQuality(aTrack); }