void newEvent(const edm::Event &, const edm::EventSetup &)
Pre-process event information (for accessing reconstruction information)
reco::SimToRecoCollection simToReco_
edm::InputTag trackProducer_
reco::RecoToSimCollection recoToSim_
This class traces the simulated and generated history of a given track.
edm::InputTag trackAssociator_
TrackHistory(const edm::ParameterSet &, edm::ConsumesCollector &&)
Constructor by pset.
Base class to all the history types.
bool evaluate(TrackingParticleRef tpr)
Evaluate track history using a TrackingParticleRef.
bool evaluate(TrackingParticleRef tpr)
Evaluate track history using a TrackingParticleRef.
bool bestMatchByMaxValue_
edm::InputTag trackingTruth_
const reco::TrackBaseRef & recoTrack() const
Return a reference to the reconstructed track.
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
reco::TrackBaseRef recotrack_