1 #ifndef RecoLocalTracker_Cluster_Parameter_Estimator_Fake_H 2 #define RecoLocalTracker_Cluster_Parameter_Estimator_Fake_H 14 #include <unordered_map> 29 template<
typename Cluster>
32 template<
typename Cluster>
35 if (
p!=
m_map.end()) {
return (*p).second; }
44 return (u1<<32) | (u2<<16) | u3;
53 std::unordered_map<uint64_t,LocalValues>
m_map;
static uint64_t encode(const SiStripCluster &cluster, const GeomDetUnit &det)
constexpr uint32_t rawId() const
get the raw id
uint16_t firstStrip() const
void error(const GeomDetUnit &gd) const
DetId geographicalId() const
The label of this GeomDet.
unsigned long long uint64_t
static uint64_t encode(const SiPixelCluster &cluster, const GeomDetUnit &det)
Pixel cluster – collection of neighboring pixels above threshold.
std::pair< LocalPoint, LocalError > LocalValues
void add(const Cluster &cluster, const GeomDetUnit &gd, LocalValues const &lv)
std::unordered_map< uint64_t, LocalValues > m_map
std::pair< LocalPoint, LocalError > LocalValues