14 const std::vector <reco::TrackRef>& fTracks)
const 16 for (
unsigned j = 0; j < fJets.size(); ++j) {
18 if ( pfJet !=
nullptr ) {
23 <<
"From JetTracksAssociationExplicit::produce: Only PFJets are currently supported for this module" << std::endl;
JetTracksAssociationExplicit()
Jets made from PFObjects.
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated ...
void produce(reco::JetTracksAssociation::Container *fAssociation, const std::vector< edm::RefToBase< reco::Jet > > &fJets, const std::vector< reco::TrackRef > &fTracks) const
reco::TrackRefVector getTrackRefs() const