#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 >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, int) |
Definition at line 41 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, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 43 of file PFCand_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, PF_PU_AssoMapAlgos::CreateVertexVector(), PF_PU_AssoMapAlgos::DefineQuality(), HLT_FULL_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::setES(), and vtxcollH.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and PFCand_AssoMap::produce().
std::unique_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::CreatePFCandToVertexMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 109 of file PFCand_AssoMapAlgos.cc.
References createMappings().
std::unique_ptr< VertexToPFCandAssMap > PFCand_AssoMapAlgos::CreateVertexToPFCandMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 118 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::get(), get, PF_PU_AssoMapAlgos::GetInputCollections(), iEvent, token_BeamSpot_, token_VertexCollection_, and vtxcollH.
Referenced by PFCand_AssoMap::produce().
std::unique_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::SortPFCandAssociationMap | ( | PFCandToVertexAssMap * | pfcvertexassInput, |
edm::EDProductGetter const * | getter | ||
) |
Definition at line 127 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 77 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 71 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 76 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 73 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 74 of file PFCand_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().