Go to the documentation of this file.
6 unsigned int sharedTracks = 0;
8 auto found = trackRecoToSimAssociation.
find(*iTrack);
10 if (
found == trackRecoToSimAssociation.
end())
14 for (
const auto &
tp :
found->val) {
16 return tp.first == vtp;
30 unsigned int sharedTracks = 0;
32 auto found = trackSimToRecoAssociation.
find(*iTP);
34 if (
found == trackSimToRecoAssociation.
end())
38 for (
const auto &tk :
found->val) {
40 return tk.first == vtk;
const_iterator find(const key_type &k) const
find element with specified reference key
unsigned int calculateVertexSharedTracks(const reco::Vertex &recoV, const TrackingVertex &simV, const reco::RecoToSimCollection &trackRecoToSimAssociation)
tp_iterator daughterTracks_begin() const
tp_iterator daughterTracks_end() const
trackRef_iterator tracks_end() const
last iterator over tracks
const_iterator end() const
last iterator over the map (read only)
trackRef_iterator tracks_begin() const
first iterator over tracks