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