1 #ifndef SimTracker_TrackerHitAssociation_ClusterTPAssociation_h 2 #define SimTracker_TrackerHitAssociation_ClusterTPAssociation_h 28 using range = std::pair<const_iterator, const_iterator>;
44 map_.emplace_back(cluster,
tp);
85 return compare(
i,
j) || (
i.first.rawIndex() ==
j.first.rawIndex() &&
i.second.key() >
j.second.key());
const_iterator end() const
void checkKeyProductID(const OmniClusterRef &key) const
range equal_range(const OmniClusterRef &key) const
typename map_type::const_iterator const_iterator
const_iterator begin() const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void swap(ProductID &other)
void checkMappedProductID(const TrackingParticleRef &tp) const
edm::ProductID mappedProductId_
const_iterator cend() const
edm::ProductID id() const
void addKeyID(edm::ProductID id)
def unique(seq, keepstr=True)
const_iterator cbegin() const
static bool compareSort(const value_type &i, const value_type &j)
static bool compare(const value_type &i, const value_type &j)
std::vector< value_type > map_type
const map_type & map() const
ClusterTPAssociation(const edm::HandleBase &mappedHandle)
void swap(ClusterTPAssociation &other)
void emplace_back(Args &&... args)
std::pair< const_iterator, const_iterator > range
void checkMappedProductID(const edm::HandleBase &mappedHandle) const
edm::VecArray< edm::ProductID, 2 > keyProductIDs_
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)