- Author
- Luca Lista, INFN
-
Victor E. Bazterra, UIC
Definition at line 22 of file GenTrackMatcher.cc.
◆ GenParticleMatch
◆ GenTrackMatcher()
◆ produce()
Definition at line 50 of file GenTrackMatcher.cc.
62 for (
size_t i = 0;
i <
n; ++
i) {
67 int barCode = particle->barcode();
68 vector<int>::const_iterator
b = barCodes->begin(),
e = barCodes->end(),
f =
find(
b,
e, barCode);
73 <<
"found matching particle with barcode" << *
f <<
" which has not been found in " <<
labels.module;
References b, MillePedeFileConverter_cfg::e, TrackHistory::evaluate(), Exception, f, trigObjTnPSource_cfi::filler, spr::find(), GenParticle::GenParticle, HistoryBase::genParticle(), genParticles2HepMC_cfi::genParticles, genParticles_, edm::Event::getByToken(), mps_fire::i, bTagCombinedSVVariables_cff::indices, edm::errors::InvalidReference, SummaryClient_cfi::labels, match(), eostools::move(), dqmiodumpmetadata::n, TrackHistory::newEvent(), edm::Event::put(), tracer_, HLT_FULL_cff::track, tracks, and tracks_.
◆ genParticleInts_
◆ genParticles_
◆ tracer_
◆ tracks_
void newEvent(const edm::Event &, const edm::EventSetup &)
Pre-process event information (for accessing reconstruction information)
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
const HepMC::GenParticle * genParticle() const
bool evaluate(TrackingParticleRef tpr)
Evaluate track history using a TrackingParticleRef.