10 : mDeltaR2Threshold(fDr*fDr)
24 JetRefs::const_iterator
ii = fJets.begin();
25 JetRefs::const_iterator
jj = fJets.end();
26 for ( ; ii !=
jj; ++
ii ) {
38 output.reserve( input->
size() );
39 for (
unsigned ii = 0;
ii < input->
size(); ++
ii ) {
40 output.push_back( input->
refAt(
ii) );
52 <<
" Unknown TrackQuality value: "
54 <<
". See possible values in 'reco::TrackBase::TrackQuality'";
58 output.reserve( input->size() );
59 for (
unsigned ii = 0;
ii < input->size(); ++
ii ) {
60 if ( (*input)[
ii].quality( quality ) ) {
JetTracksAssociationDR()
Private default constructor.
std::vector< reco::TrackRef > TrackRefs
static std::string const input
RefToBase< value_type > refAt(size_type i) const
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 &)