Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions DataFormats/L1TParticleFlow/interface/jets.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "DataFormats/L1TParticleFlow/interface/gt_datatypes.h"
#include "DataFormats/L1TParticleFlow/interface/bit_encoding.h"
#include <array>
#include <algorithm>
#include <cstdint>
#include <vector>
#include <unordered_map>
Expand Down Expand Up @@ -34,15 +33,6 @@ namespace l1ct {
JetTagClassValue value_;
static const std::unordered_map<std::string, JetTagClassValue> 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
Expand Down