#include <PFCand_AssoMapAlgos.h>
Public Member Functions | |
std::auto_ptr < PFCandToVertexAssMap > | CreatePFCandToVertexMap (edm::Handle< reco::PFCandidateCollection >, const edm::EventSetup &) |
std::auto_ptr < VertexToPFCandAssMap > | CreateVertexToPFCandMap (edm::Handle< reco::PFCandidateCollection >, const edm::EventSetup &) |
void | GetInputCollections (edm::Event &, const edm::EventSetup &) |
PFCand_AssoMapAlgos (const edm::ParameterSet &) | |
std::auto_ptr < PFCandToVertexAssMap > | SortPFCandAssociationMap (PFCandToVertexAssMap *) |
Public Member Functions inherited from PF_PU_AssoMapAlgos | |
std::auto_ptr < TrackToVertexAssMap > | CreateTrackToVertexMap (edm::Handle< reco::TrackCollection >, const edm::EventSetup &) |
std::auto_ptr < VertexToTrackAssMap > | CreateVertexToTrackMap (edm::Handle< reco::TrackCollection >, const edm::EventSetup &) |
void | GetInputCollections (edm::Event &, const edm::EventSetup &) |
PF_PU_AssoMapAlgos (const edm::ParameterSet &) | |
std::auto_ptr < TrackToVertexAssMap > | SortAssociationMap (TrackToVertexAssMap *) |
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 34 of file PFCand_AssoMapAlgos.h.
PFCand_AssoMapAlgos::PFCand_AssoMapAlgos | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 14 of file PFCand_AssoMapAlgos.cc.
References edm::ParameterSet::getParameter(), input_BeamSpot_, input_MaxNumAssociations_, and input_VertexCollection_.
std::auto_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(), PF_PU_AssoMapAlgos::EraseVertex(), PF_PU_AssoMapAlgos::FindAssociation(), i, input_MaxNumAssociations_, edm::Ref< C, T, F >::isNull(), edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), launcher::step, and vtxcollH.
Referenced by PFCand_AssoMap::produce().
std::auto_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(), PF_PU_AssoMapAlgos::EraseVertex(), PF_PU_AssoMapAlgos::FindAssociation(), i, input_MaxNumAssociations_, edm::Ref< C, T, F >::isNull(), edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), launcher::step, and vtxcollH.
Referenced by PFCand_AssoMap::produce().
void PFCand_AssoMapAlgos::GetInputCollections | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 30 of file PFCand_AssoMapAlgos.cc.
References beamspotH, bFieldH, edm::EventSetup::get(), edm::Event::getByLabel(), PF_PU_AssoMapAlgos::GetInputCollections(), input_BeamSpot_, input_VertexCollection_, and vtxcollH.
Referenced by PFCand_AssoMap::produce().
std::auto_ptr< PFCandToVertexAssMap > PFCand_AssoMapAlgos::SortPFCandAssociationMap | ( | PFCandToVertexAssMap * | pfcvertexassInput | ) |
Definition at line 181 of file PFCand_AssoMapAlgos.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), edm::Ref< C, T, F >::key(), and edm::second().
Referenced by PFCand_AssoMap::produce().
|
private |
Definition at line 65 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().
|
private |
Definition at line 67 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().
|
private |
Definition at line 64 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 59 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 61 of file PFCand_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PFCand_AssoMapAlgos().
|
private |
Definition at line 62 of file PFCand_AssoMapAlgos.h.
Referenced by CreatePFCandToVertexMap(), CreateVertexToPFCandMap(), and GetInputCollections().