This class traces the simulated and generated history of a given track.
const reco::VertexBaseRef & recoVertex() const
Return a reference to the reconstructed track.
reco::VertexRecoToSimCollection recoToSim_
void newEvent(const edm::Event &, const edm::EventSetup &)
Pre-process event information (for accessing reconstruction information)
bool bestMatchByMaxValue_
reco::VertexSimToRecoCollection simToReco_
bool evaluate(TrackingVertexRef tvr)
Evaluate track history using a TrackingParticleRef.
edm::InputTag trackingTruth_
edm::InputTag vertexAssociator_
reco::VertexBaseRef recovertex_
double quality() const
Return the quality of the match.
VertexHistory(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.
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
edm::InputTag vertexProducer_