Go to the documentation of this file. 1 #ifndef JetReco_JetTrackMatch_h
2 #define JetReco_JetTrackMatch_h
38 template <
typename JetC>
60 std::vector<JetRef>
result;
62 for (; it !=
mMap.
end(); ++it) {
69 std::vector<TrackRef>
result;
void insert(const JetRef &fJet)
insert orphan jet
void insert(const JetRef &fJet, const TrackRef &fTrack)
assign track to jet.
const_iterator end() const
last iterator over the map (read only)
edm::Ref< reco::TrackCollection > TrackRef
std::vector< TrackRef > getTracks(const JetRef &mJet) const
get all tracks associated with jet
friend struct const_iterator
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
void insert(const key_type &k, const data_type &v)
insert an association
std::vector< JetRef > allJets() const
get list of all jats in the map
const_iterator begin() const
first iterator over the map (read only)
edm::AssociationMap< edm::OneToMany< JetC, reco::TrackCollection > > Map
Association between Jets from jet collection and tracks from track collection.