diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc index 34d7e0970abeb..bc2e1c9c7bfdc 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc @@ -563,6 +563,13 @@ void L1TrackVertexAssociationProducer::produce(edm::StreamID, edm::Event& iEvent } //end if (processEmulatedTracks_) } //end loop over input converted tracks + if (processSimulatedTracks_ && processEmulatedTracks_ && debug_ >= 2) { + printDebugInfo(l1SelectedTracksHandle, + l1SelectedTracksEmulationHandle, + vTTTrackAssociatedOutput, + vTTTrackAssociatedEmulationOutput); + } + if (processSimulatedTracks_) { iEvent.put(std::move(vTTTrackAssociatedOutput), outputCollectionName_); } @@ -572,13 +579,6 @@ void L1TrackVertexAssociationProducer::produce(edm::StreamID, edm::Event& iEvent if (debug_ >= 2) linkLimitSelEmu.log(); } - - if (processSimulatedTracks_ && processEmulatedTracks_ && debug_ >= 2) { - printDebugInfo(l1SelectedTracksHandle, - l1SelectedTracksEmulationHandle, - vTTTrackAssociatedOutput, - vTTTrackAssociatedEmulationOutput); - } } // ------------ method fills 'descriptions' with the allowed parameters for the module ------------