#include <PFCand_AssoMapAlgos.h>
Additional Inherited Members | |
Protected Member Functions inherited from PF_PU_AssoMapAlgos | |
std::vector< reco::VertexRef > | CreateVertexVector (edm::Handle< reco::VertexCollection >) |
int | DefineQuality (int, int, double) |
void | EraseVertex (std::vector< reco::VertexRef > &, reco::VertexRef) |
VertexStepPair | FindAssociation (const reco::TrackRef &, const std::vector< reco::VertexRef > &, edm::ESHandle< MagneticField >, edm::ESHandle< GlobalTrackingGeometry >, edm::Handle< reco::BeamSpot >, int) |
Definition at line 42 of file PFCand_AssoMapAlgos.h.
PFCand_AssoMapAlgos::PFCand_AssoMapAlgos | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 14 of file PFCand_AssoMapAlgos.cc.
References edm::ParameterSet::getParameter(), input_MaxNumAssociations_, token_BeamSpot_, and token_VertexCollection_.
std::pair< std::unique_ptr< PFCandToVertexAssMap >, std::unique_ptr< VertexToPFCandAssMap > > PFCand_AssoMapAlgos::createMappings | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH | ) |
Definition at line 44 of file PFCand_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, PF_PU_AssoMapAlgos::CreateVertexVector(), PF_PU_AssoMapAlgos::DefineQuality(), HLT_2024v13_cff::distance, PF_PU_AssoMapAlgos::EraseVertex(), PF_PU_AssoMapAlgos::FindAssociation(), mps_fire::i, input_MaxNumAssociations_, edm::Ref< C, T, F >::isNull(), eostools::move(), quality, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setTrackingGeometry(), trackingGeometryH, and vtxcollH.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and PFCand_AssoMap::produce().
std::unique_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::CreatePFCandToVertexMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH | ) |
Definition at line 111 of file PFCand_AssoMapAlgos.cc.
References createMappings().
std::unique_ptr< VertexToPFCandAssMap > PFCand_AssoMapAlgos::CreateVertexToPFCandMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH | ) |
Definition at line 120 of file PFCand_AssoMapAlgos.cc.
References createMappings().
|
overridevirtual |
Reimplemented from PF_PU_AssoMapAlgos.
Definition at line 27 of file PFCand_AssoMapAlgos.cc.
References beamspotH, bFieldH, edm::EventSetup::getHandle(), PF_PU_AssoMapAlgos::GetInputCollections(), iEvent, token_BeamSpot_, token_bField_, token_TrackingGeometry_, token_VertexCollection_, trackingGeometryH, and vtxcollH.
Referenced by PFCand_AssoMap::produce().
std::unique_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::SortPFCandAssociationMap | ( | PFCandToVertexAssMap * | pfcvertexassInput, |
edm::EDProductGetter const * | getter | ||
) |
Definition at line 129 of file PFCand_AssoMapAlgos.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), edm::Ref< C, T, F >::key(), quality, and edm::second().
Referenced by PFCand_AssoMap::produce().
|
private |
Definition at line 76 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().
|
private |
Definition at line 79 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().
|
private |
Definition at line 70 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 75 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 78 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 80 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 72 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 81 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().
|
private |
Definition at line 73 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().