11 : mDeltaR2Threshold(fDr*fDr)
25 JetRefs::const_iterator ii = fJets.begin();
26 JetRefs::const_iterator jj = fJets.end();
27 for ( ; ii != jj; ++ii ) {
39 output.reserve( input->size() );
40 for (
unsigned ii = 0; ii < input->size(); ++ii ) {
41 output.push_back( input->refAt(ii) );
53 <<
" Unknown TrackQuality value: "
54 <<
static_cast<int>( quality )
55 <<
". See possible values in 'reco::TrackBase::TrackQuality'";
59 output.reserve( input->size() );
60 for (
unsigned ii = 0; ii < input->size(); ++ii ) {
61 if ( (*input)[ii].quality( quality ) ) {
JetTracksAssociationDR()
Private default constructor.
std::vector< reco::TrackRef > TrackRefs
virtual void associateTracksToJet(reco::TrackRefVector &, const reco::Jet &, const TrackRefs &)=0
Associate tracks to the given jet.
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated ...
std::vector< JetRef > JetRefs
This class analyses the reconstruction quality for a given track.
void associateTracksToJets(Association *, const JetRefs &, const TrackRefs &)
static void createJetRefs(JetRefs &, const Jets &)
virtual ~JetTracksAssociationDR()
Destructor.
static void createTrackRefs(TrackRefs &, const Tracks &, const TrackQuality &)