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;
tp_iterator daughterTracks_begin() const
const_iterator end() const
last iterator over the map (read only)
const_iterator find(const key_type &k) const
find element with specified reference key
trackRef_iterator tracks_end() const
last iterator over tracks
trackRef_iterator tracks_begin() const
first iterator over tracks
tp_iterator daughterTracks_end() const
unsigned int calculateVertexSharedTracks(const reco::Vertex &recoV, const TrackingVertex &simV, const reco::RecoToSimCollection &trackRecoToSimAssociation)