From 118471936d84c635281370b0f8d0a2b401386092 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Thu, 8 May 2025 16:13:59 +0200 Subject: [PATCH] Revert "Add ability to output JetTagClass to std::ostream" --- DataFormats/L1TParticleFlow/interface/jets.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/DataFormats/L1TParticleFlow/interface/jets.h b/DataFormats/L1TParticleFlow/interface/jets.h index 4ade0a5f3682d..01491e7ca3f2a 100644 --- a/DataFormats/L1TParticleFlow/interface/jets.h +++ b/DataFormats/L1TParticleFlow/interface/jets.h @@ -5,7 +5,6 @@ #include "DataFormats/L1TParticleFlow/interface/gt_datatypes.h" #include "DataFormats/L1TParticleFlow/interface/bit_encoding.h" #include -#include #include #include #include @@ -34,15 +33,6 @@ namespace l1ct { JetTagClassValue value_; static const std::unordered_map labels_; - friend std::ostream &operator<<(std::ostream &ost, const l1ct::JetTagClass &jtc) { - auto it = std::find_if( - std::begin(jtc.labels_), std::end(jtc.labels_), [&jtc](auto &&p) { return p.second == jtc.value_; }); - if (it != std::end(jtc.labels_)) { - ost << it->first; - } - return ost; - } - }; // JetTagClass // Define a separate class/struct for jet tag handling