#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 | sortAndUnique () |
void | swap (ClusterTPAssociation &other) |
Static Private Member Functions | |
static bool | compare (const value_type &i, const value_type &j) |
static bool | compareSort (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 62 of file ClusterTPAssociation.h.
References checkMappedProductID(), and edm::HandleBase::id().
Referenced by checkMappedProductID(), and emplace_back().
|
inline |
Definition at line 63 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 |
Definition at line 67 of file ClusterTPAssociation.h.
Referenced by compareSort(), and equal_range().
|
inlinestaticprivate |
Definition at line 71 of file ClusterTPAssociation.h.
References compare().
Referenced by sortAndUnique().
|
inline |
Definition at line 33 of file ClusterTPAssociation.h.
References checkMappedProductID(), and map_.
|
inline |
Definition at line 48 of file ClusterTPAssociation.h.
References map_.
Referenced by QuickTrackAssociatorByHitsImpl::associateTrack().
|
inline |
|
inline |
Definition at line 56 of file ClusterTPAssociation.h.
References compare(), and map_.
Referenced by QuickTrackAssociatorByHitsImpl::associateTrack(), QuickTrackAssociatorByHitsImpl::getDoubleCount(), and TrackingNtuple::matchCluster().
|
inline |
Definition at line 60 of file ClusterTPAssociation.h.
References map_.
Referenced by BDHadronTrackMonitoringAnalyzer::analyze().
|
inline |
Definition at line 49 of file ClusterTPAssociation.h.
References map_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inline |
Definition at line 37 of file ClusterTPAssociation.h.
References compareSort(), plotBeamSpotDB::last, map_, and tier0::unique().
|
inline |
Definition at line 43 of file ClusterTPAssociation.h.
References map_, mappedProductId_, and edm::ProductID::swap().
|
private |
Definition at line 77 of file ClusterTPAssociation.h.
Referenced by begin(), cbegin(), cend(), emplace_back(), empty(), end(), equal_range(), map(), size(), sortAndUnique(), and swap().
|
private |
Definition at line 78 of file ClusterTPAssociation.h.
Referenced by checkMappedProductID(), and swap().