Skip to content
Snippets Groups Projects
Commit 93c67361 authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

DecodedDataAddMCInfo: Use unordered map

parent f5ade07f
No related branches found
No related tags found
2 merge requests!4386Merge master into FTRetinaSeedRawBanks,!4321RichFutureMCUtils: Add support for spillover events to RICH MC cheating algorithms
Pipeline #6333523 passed
......@@ -23,9 +23,9 @@
#include "Event/MCRichHit.h"
#include <algorithm>
#include <map>
#include <memory>
#include <tuple>
#include <unordered_map>
namespace Rich::Future::MC {
......@@ -59,7 +59,7 @@ namespace Rich::Future::MC {
DecodedData operator()( DecodedData const& data, LHCb::MCRichHits const& mchits ) const override {
// Collect all the (signal) hits in the same pixel
std::map<LHCb::RichSmartID, std::vector<LHCb::MCRichHit*>> hitsPerPix;
std::unordered_map<LHCb::RichSmartID, std::vector<LHCb::MCRichHit*>> hitsPerPix;
for ( const auto mchit : mchits ) {
auto id = mchit->sensDetID().channelDataOnly();
#ifdef USE_DD4HEP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment