CMS 3D CMS Logo

UniqueSimTrackId.h
Go to the documentation of this file.
1 #ifndef SimDataFormatsTrackUniqueSimTrackId_H
2 #define SimDataFormatsTrackUniqueSimTrackId_H
3 
7 #include <tuple>
8 
9 using UniqueSimTrackId = std::pair<uint32_t, EncodedEventId>;
10 
12  std::size_t operator()(UniqueSimTrackId const &s) const noexcept {
13  return edm::hash_value(s.first, s.second.rawId());
14  }
15 };
16 
18  std::unordered_map<UniqueSimTrackId, TrackingParticleRef, UniqueSimTrackIdHash> mapping;
19 };
20 
21 #endif
std::pair< uint32_t, EncodedEventId > UniqueSimTrackId
std::unordered_map< UniqueSimTrackId, TrackingParticleRef, UniqueSimTrackIdHash > mapping
std::size_t hash_value(const Types &... args)
Definition: hash_combine.h:36
std::size_t operator()(UniqueSimTrackId const &s) const noexcept