#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 &, std::vector< reco::VertexRef > *, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, int) |
Definition at line 40 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::unique_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::CreatePFCandToVertexMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 50 of file PFCand_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, PF_PU_AssoMapAlgos::CreateVertexVector(), PF_PU_AssoMapAlgos::DefineQuality(), SoftLeptonByDistance_cfi::distance, PF_PU_AssoMapAlgos::EraseVertex(), PF_PU_AssoMapAlgos::FindAssociation(), mps_fire::i, input_MaxNumAssociations_, edm::Ref< C, T, F >::isNull(), jets_cff::quality, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and vtxcollH.
Referenced by PFCand_AssoMap::produce().
std::unique_ptr< VertexToPFCandAssMap > PFCand_AssoMapAlgos::CreateVertexToPFCandMap | ( | edm::Handle< reco::PFCandidateCollection > | pfCandH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 116 of file PFCand_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, PF_PU_AssoMapAlgos::CreateVertexVector(), PF_PU_AssoMapAlgos::DefineQuality(), SoftLeptonByDistance_cfi::distance, PF_PU_AssoMapAlgos::EraseVertex(), PF_PU_AssoMapAlgos::FindAssociation(), mps_fire::i, input_MaxNumAssociations_, edm::Ref< C, T, F >::isNull(), eostools::move(), jets_cff::quality, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and vtxcollH.
Referenced by PFCand_AssoMap::produce().
|
overridevirtual |
Reimplemented from PF_PU_AssoMapAlgos.
Definition at line 30 of file PFCand_AssoMapAlgos.cc.
References beamspotH, bFieldH, edm::EventSetup::get(), edm::Event::getByToken(), PF_PU_AssoMapAlgos::GetInputCollections(), 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 181 of file PFCand_AssoMapAlgos.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), edm::Ref< C, T, F >::key(), eostools::move(), jets_cff::quality, and edm::second().
Referenced by PFCand_AssoMap::produce().
|
private |
Definition at line 72 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().
|
private |
Definition at line 74 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().
|
private |
Definition at line 66 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 71 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 68 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 69 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().