diff --git a/RecoTracker/LST/interface/LSTOutput.h b/RecoTracker/LST/interface/LSTOutput.h index f862ddf9b9e29..e1c3b5544e825 100644 --- a/RecoTracker/LST/interface/LSTOutput.h +++ b/RecoTracker/LST/interface/LSTOutput.h @@ -13,34 +13,22 @@ class LSTOutput { void setLSTOutputTraits(std::vector> hitIdx, std::vector len, - std::vector pt, - std::vector eta, - std::vector phi, std::vector seedIdx, std::vector trackCandidateType) { hitIdx_ = hitIdx; len_ = len; - pt_ = pt; - eta_ = eta; - phi_ = phi; seedIdx_ = seedIdx; trackCandidateType_ = trackCandidateType; } std::vector> const& hitIdx() const { return hitIdx_; } std::vector const& len() const { return len_; } - std::vector const& pt() const { return pt_; } - std::vector const& eta() const { return eta_; } - std::vector const& phi() const { return phi_; } std::vector const& seedIdx() const { return seedIdx_; } std::vector const& trackCandidateType() const { return trackCandidateType_; } private: std::vector> hitIdx_; std::vector len_; - std::vector pt_; - std::vector eta_; - std::vector phi_; std::vector seedIdx_; std::vector trackCandidateType_; }; diff --git a/RecoTracker/LST/plugins/LSTOutputConverter.cc b/RecoTracker/LST/plugins/LSTOutputConverter.cc index 3b288d515438a..88f7631c1e0e1 100644 --- a/RecoTracker/LST/plugins/LSTOutputConverter.cc +++ b/RecoTracker/LST/plugins/LSTOutputConverter.cc @@ -106,9 +106,6 @@ void LSTOutputConverter::produce(edm::StreamID, edm::Event& iEvent, const edm::E // Vector definitions std::vector> const& lstTC_hitIdx = lstOutput.hitIdx(); std::vector const& lstTC_len = lstOutput.len(); - std::vector const& lstTC_pt = lstOutput.pt(); - std::vector const& lstTC_eta = lstOutput.eta(); - std::vector const& lstTC_phi = lstOutput.phi(); std::vector const& lstTC_seedIdx = lstOutput.seedIdx(); std::vector const& lstTC_trackCandidateType = lstOutput.trackCandidateType(); @@ -121,8 +118,7 @@ void LSTOutputConverter::produce(edm::StreamID, edm::Event& iEvent, const edm::E LogDebug("LSTOutputConverter") << "lstTC size " << lstTC_len.size(); for (unsigned int i = 0; i < lstTC_len.size(); i++) { - LogDebug("LSTOutputConverter") << " cand " << i << " " << lstTC_len[i] << " " << lstTC_pt[i] << " " << lstTC_eta[i] - << " " << lstTC_phi[i] << " " << lstTC_seedIdx[i]; + LogDebug("LSTOutputConverter") << " cand " << i << " " << lstTC_len[i] << " " << lstTC_seedIdx[i]; TrajectorySeed seed; if (lstTC_trackCandidateType[i] != LSTOutput::LSTTCType::T5) seed = pixelSeeds[lstTC_seedIdx[i]]; @@ -177,8 +173,7 @@ void LSTOutputConverter::produce(edm::StreamID, edm::Event& iEvent, const edm::E seedCreator_->makeSeed(seeds, hitsForSeed); if (seeds.empty()) { edm::LogInfo("LSTOutputConverter") - << "failed to convert a LST object to a seed" << i << " " << lstTC_len[i] << " " << lstTC_pt[i] << " " - << lstTC_eta[i] << " " << lstTC_phi[i] << " " << lstTC_seedIdx[i]; + << "failed to convert a LST object to a seed" << i << " " << lstTC_len[i] << " " << lstTC_seedIdx[i]; if (lstTC_trackCandidateType[i] == LSTOutput::LSTTCType::T5) continue; } @@ -210,8 +205,7 @@ void LSTOutputConverter::produce(edm::StreamID, edm::Event& iEvent, const edm::E } } else { edm::LogInfo("LSTOutputConverter") << "Failed to make a candidate initial state. Seed state is " << tsos - << " TC cand " << i << " " << lstTC_len[i] << " " << lstTC_pt[i] << " " - << lstTC_eta[i] << " " << lstTC_phi[i] << " " << lstTC_seedIdx[i] + << " TC cand " << i << " " << lstTC_len[i] << " " << lstTC_seedIdx[i] << " first hit " << recHits.front().globalPosition() << " last hit " << recHits.back().globalPosition(); } diff --git a/RecoTracker/LST/plugins/alpaka/LSTProducer.cc b/RecoTracker/LST/plugins/alpaka/LSTProducer.cc index 4014b1ab2b33e..00bd439460dd3 100644 --- a/RecoTracker/LST/plugins/alpaka/LSTProducer.cc +++ b/RecoTracker/LST/plugins/alpaka/LSTProducer.cc @@ -70,8 +70,7 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE { void produce(edm::Event& event, edm::EventSetup const&) override { // Output LSTOutput lstOutput; - lstOutput.setLSTOutputTraits( - lst_.hits(), lst_.len(), lst_.pt(), lst_.eta(), lst_.phi(), lst_.seedIdx(), lst_.trackCandidateType()); + lstOutput.setLSTOutputTraits(lst_.hits(), lst_.len(), lst_.seedIdx(), lst_.trackCandidateType()); event.emplace(lstOutputToken_, std::move(lstOutput)); }