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
This class traces the simulated and generated history of a given track.
bool evaluate(TrackingParticleRef tpr)
Evaluate track history using a TrackingParticleRef.