20 JetRefs::const_iterator
ii = fJets.begin();
21 JetRefs::const_iterator
jj = fJets.end();
22 for (; ii !=
jj; ++
ii) {
33 output.reserve(input->size());
34 for (
unsigned ii = 0;
ii < input->size(); ++
ii) {
35 output.push_back(input->refAt(
ii));
43 edm::LogError(
"JetTracksAssociationDR") <<
" Unknown TrackQuality value: " <<
static_cast<int>(
quality)
44 <<
". See possible values in 'reco::TrackBase::TrackQuality'";
48 output.reserve(input->size());
49 for (
unsigned ii = 0;
ii < input->size(); ++
ii) {
50 if ((*input)[
ii].quality(quality)) {
uint32_t const *__restrict__ Quality * quality
JetTracksAssociationDR()
Private default constructor.
std::vector< reco::TrackRef > TrackRefs
Log< level::Error, false > LogError
static std::string const input
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 &)