SimDataFormats
Track
interface
UniqueSimTrackId.h
Go to the documentation of this file.
1
#ifndef SimDataFormatsTrackUniqueSimTrackId_H
2
#define SimDataFormatsTrackUniqueSimTrackId_H
3
4
#include "
FWCore/Utilities/interface/hash_combine.h
"
5
6
#include "
SimDataFormats/EncodedEventId/interface/EncodedEventId.h
"
7
#include <tuple>
8
9
using
UniqueSimTrackId
= std::pair<uint32_t, EncodedEventId>;
10
struct
UniqueSimTrackIdHash
{
11
std::size_t
operator()
(
UniqueSimTrackId
const
&
s
)
const
noexcept {
12
return
edm::hash_value
(
s
.first,
s
.second.rawId());
13
}
14
};
15
16
#endif
edm::hash_value
std::size_t hash_value(const Types &... args)
Definition:
hash_combine.h:36
UniqueSimTrackId
std::pair< uint32_t, EncodedEventId > UniqueSimTrackId
Definition:
UniqueSimTrackId.h:9
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
UniqueSimTrackIdHash
Definition:
UniqueSimTrackId.h:10
UniqueSimTrackIdHash::operator()
std::size_t operator()(UniqueSimTrackId const &s) const noexcept
Definition:
UniqueSimTrackId.h:11
hash_combine.h
EncodedEventId.h
Generated for CMSSW Reference Manual by
1.8.16