#include <ClusterTPAssociation.h>
Public Types | |
using | const_iterator = typename map_type::const_iterator |
using | key_type = OmniClusterRef |
using | map_type = std::vector< value_type > |
using | mapped_type = TrackingParticleRef |
using | range = std::pair< const_iterator, const_iterator > |
using | value_type = std::pair< key_type, mapped_type > |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | checkMappedProductID (const edm::HandleBase &mappedHandle) const |
void | checkMappedProductID (const TrackingParticleRef &tp) const |
void | checkMappedProductID (const edm::ProductID &id) const |
ClusterTPAssociation () | |
ClusterTPAssociation (const edm::HandleBase &mappedHandle) | |
ClusterTPAssociation (const edm::ProductID &mappedProductId) | |
void | emplace_back (const OmniClusterRef &cluster, const TrackingParticleRef &tp) |
bool | empty () const |
const_iterator | end () const |
range | equal_range (const OmniClusterRef &key) const |
const map_type & | map () const |
size_t | size () const |
void | sort () |
void | swap (ClusterTPAssociation &other) |
Static Private Member Functions | |
static bool | compare (const value_type &i, const value_type &j) |
Private Attributes | |
map_type | map_ |
edm::ProductID | mappedProductId_ |
Maps OmniClusterRefs to TrackingParticleRefs
Assumes that the TrackingParticleRefs point to a single TrackingParticle collection.
Definition at line 20 of file ClusterTPAssociation.h.
using ClusterTPAssociation::const_iterator = typename map_type::const_iterator |
Definition at line 26 of file ClusterTPAssociation.h.
Definition at line 22 of file ClusterTPAssociation.h.
using ClusterTPAssociation::map_type = std::vector<value_type> |
Definition at line 25 of file ClusterTPAssociation.h.
Definition at line 23 of file ClusterTPAssociation.h.
using ClusterTPAssociation::range = std::pair<const_iterator, const_iterator> |
Definition at line 27 of file ClusterTPAssociation.h.
using ClusterTPAssociation::value_type = std::pair<key_type, mapped_type> |
Definition at line 24 of file ClusterTPAssociation.h.
|
inline |
Definition at line 29 of file ClusterTPAssociation.h.
|
inlineexplicit |
Definition at line 30 of file ClusterTPAssociation.h.
|
inlineexplicit |
Definition at line 31 of file ClusterTPAssociation.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file ClusterTPAssociation.h.
References checkMappedProductID(), and edm::HandleBase::id().
Referenced by checkMappedProductID(), and emplace_back().
|
inline |
Definition at line 58 of file ClusterTPAssociation.h.
References checkMappedProductID(), and edm::Ref< C, T, F >::id().
Referenced by checkMappedProductID().
void ClusterTPAssociation::checkMappedProductID | ( | const edm::ProductID & | id | ) | const |
Definition at line 4 of file ClusterTPAssociation.cc.
References Exception, and mappedProductId_.
|
inlinestaticprivate |
|
inline |
Definition at line 33 of file ClusterTPAssociation.h.
References checkMappedProductID(), and map_.
|
inline |
Definition at line 43 of file ClusterTPAssociation.h.
References map_.
Referenced by QuickTrackAssociatorByHitsImpl::associateTrack().
|
inline |
|
inline |
Definition at line 51 of file ClusterTPAssociation.h.
References compare(), and map_.
Referenced by QuickTrackAssociatorByHitsImpl::associateTrack(), and QuickTrackAssociatorByHitsImpl::getDoubleCount().
|
inline |
|
inline |
|
inline |
Definition at line 37 of file ClusterTPAssociation.h.
References compare(), and map_.
|
inline |
Definition at line 38 of file ClusterTPAssociation.h.
References map_, mappedProductId_, and edm::ProductID::swap().
|
private |
Definition at line 66 of file ClusterTPAssociation.h.
Referenced by begin(), cbegin(), cend(), emplace_back(), empty(), end(), equal_range(), map(), size(), sort(), and swap().
|
private |
Definition at line 67 of file ClusterTPAssociation.h.
Referenced by checkMappedProductID(), and swap().