1 #ifndef SimTracker_TrackerHitAssociation_ClusterTPAssociation_h
2 #define SimTracker_TrackerHitAssociation_ClusterTPAssociation_h
27 using range = std::pair<const_iterator, const_iterator>;
35 map_.emplace_back(cluster, tp);
61 return i.first.rawIndex() > j.first.rawIndex();
const_iterator cbegin() const
void checkMappedProductID(const TrackingParticleRef &tp) const
const_iterator begin() const
typename map_type::const_iterator const_iterator
void swap(ProductID &other)
edm::ProductID mappedProductId_
ProductID id() const
Accessor for product ID.
const_iterator end() const
const_iterator cend() const
range equal_range(const OmniClusterRef &key) const
static bool compare(const value_type &i, const value_type &j)
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
std::vector< value_type > map_type
ClusterTPAssociation(const edm::HandleBase &mappedHandle)
void swap(ClusterTPAssociation &other)
void checkMappedProductID(const edm::HandleBase &mappedHandle) const
std::pair< const_iterator, const_iterator > range
std::pair< key_type, mapped_type > value_type
edm::Ref< TrackingParticleCollection > TrackingParticleRef
void emplace_back(const OmniClusterRef &cluster, const TrackingParticleRef &tp)
ClusterTPAssociation(const edm::ProductID &mappedProductId)