#include <PF_PU_AssoMapAlgos.h>
Public Member Functions | |
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 *) |
Protected Member Functions | |
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 81 of file PF_PU_AssoMapAlgos.h.
PF_PU_AssoMapAlgos::PF_PU_AssoMapAlgos | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 26 of file PF_PU_AssoMapAlgos.cc.
References cleanedColls_, ConversionsCollection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ignoremissingpfcollection_, input_BeamSpot_, input_doReassociation_, input_FinalAssociation_, input_MaxNumAssociations_, input_nTrack_, input_VertexCollection_, KshortCollection_, LambdaCollection_, and NIVertexCollection_.
|
staticprivate |
Definition at line 474 of file PF_PU_AssoMapAlgos.cc.
References ConversionTools::matchesConversion().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 737 of file PF_PU_AssoMapAlgos.cc.
Referenced by FindAssociation().
|
staticprivate |
Definition at line 619 of file PF_PU_AssoMapAlgos.cc.
References reco::RecoChargedCandidate::track().
Referenced by FindAssociation().
std::auto_ptr< TrackToVertexAssMap > PF_PU_AssoMapAlgos::CreateTrackToVertexMap | ( | edm::Handle< reco::TrackCollection > | trkcollH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 110 of file PF_PU_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, CreateVertexVector(), DefineQuality(), EraseVertex(), FindAssociation(), input_MaxNumAssociations_, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), launcher::step, and vtxcollH.
Referenced by PF_PU_AssoMap::produce().
std::auto_ptr< VertexToTrackAssMap > PF_PU_AssoMapAlgos::CreateVertexToTrackMap | ( | edm::Handle< reco::TrackCollection > | trkcollH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 162 of file PF_PU_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, CreateVertexVector(), DefineQuality(), EraseVertex(), FindAssociation(), input_MaxNumAssociations_, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), launcher::step, and vtxcollH.
Referenced by PF_PU_AssoMap::produce().
|
protected |
Definition at line 299 of file PF_PU_AssoMapAlgos.cc.
References convertSQLitetoXML_cfg::output.
Referenced by PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), and CreateVertexToTrackMap().
|
protected |
Definition at line 948 of file PF_PU_AssoMapAlgos.cc.
References fin_50, fin_70, sec_50, sec_70, tw_50, tw_70, and tw_90.
Referenced by PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), and CreateVertexToTrackMap().
|
staticprivate |
Definition at line 416 of file PF_PU_AssoMapAlgos.cc.
References deltaR(), create_public_lumi_plots::log, mathSSE::sqrt(), and funct::tan().
Referenced by GetCleanedKshort(), GetCleanedLambda(), and GetCleanedNI().
|
protected |
Definition at line 321 of file PF_PU_AssoMapAlgos.cc.
Referenced by PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), and CreateVertexToTrackMap().
|
protected |
Definition at line 842 of file PF_PU_AssoMapAlgos.cc.
References cleanedConvCollP, cleanedKshortCollP, cleanedLambdaCollP, cleanedNICollP, ComesFromConversion(), ComesFromNI(), ComesFromV0Decay(), FindClosest3D(), FindClosestZ(), FindConversionVertex(), FindNIVertex(), FindV0Vertex(), input_doReassociation_, input_FinalAssociation_, input_nTrack_, missingColls, reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and TrackWeightAssociation().
Referenced by PFCand_AssoMapAlgos::CreatePFCandToVertexMap(), CreateTrackToVertexMap(), PFCand_AssoMapAlgos::CreateVertexToPFCandMap(), and CreateVertexToTrackMap().
|
staticprivate |
Definition at line 379 of file PF_PU_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), and mathSSE::sqrt().
Referenced by FindAssociation(), FindConversionVertex(), FindNIVertex(), and FindV0Vertex().
|
staticprivate |
Definition at line 343 of file PF_PU_AssoMapAlgos.cc.
References mathSSE::sqrt().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 497 of file PF_PU_AssoMapAlgos.cc.
References reco::Conversion::conversionVertex(), FindClosest3D(), reco::Vertex::position(), and reco::Conversion::refittedPair4Momentum().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 761 of file PF_PU_AssoMapAlgos.cc.
References FindClosest3D(), reco::PFDisplacedVertex::isIncomingTrack(), reco::PFDisplacedVertex::isThereMergedTracks(), reco::PFDisplacedVertex::isTherePrimaryTracks(), reco::Vertex::originalTrack(), reco::Vertex::position(), reco::PFDisplacedVertex::primaryMomentum(), reco::Vertex::refittedTracks(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and TrackWeightAssociation().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 665 of file PF_PU_AssoMapAlgos.cc.
References FindClosest3D(), reco::LeafCandidate::momentum(), and reco::LeafCandidate::vertex().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 442 of file PF_PU_AssoMapAlgos.cc.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 521 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), VertexDistance3D::distance(), dR(), and kMass.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 570 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), VertexDistance3D::distance(), dR(), and lamMass.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 690 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), VertexDistance3D::distance(), and dR().
Referenced by GetInputCollections().
void PF_PU_AssoMapAlgos::GetInputCollections | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 60 of file PF_PU_AssoMapAlgos.cc.
References beamspotH, bFieldH, cleanedColls_, cleanedConvCollP, cleanedKshortCollP, cleanedLambdaCollP, cleanedNICollP, convCollH, ConversionsCollection_, displVertexCollH, edm::EventSetup::get(), edm::Event::getByLabel(), GetCleanedConversions(), GetCleanedKshort(), GetCleanedLambda(), GetCleanedNI(), ignoremissingpfcollection_, input_BeamSpot_, input_VertexCollection_, KshortCollection_, LambdaCollection_, maxNumWarnings_, missingColls, NIVertexCollection_, numWarnings_, vertCompCandCollKshortH, vertCompCandCollLambdaH, and vtxcollH.
Referenced by PFCand_AssoMapAlgos::GetInputCollections(), and PF_PU_AssoMap::produce().
auto_ptr< TrackToVertexAssMap > PF_PU_AssoMapAlgos::SortAssociationMap | ( | TrackToVertexAssMap * | trackvertexassInput | ) |
Definition at line 213 of file PF_PU_AssoMapAlgos.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), edm::Ref< C, T, F >::key(), and edm::second().
Referenced by PF_PU_AssoMap::produce().
|
staticprivate |
Definition at line 813 of file PF_PU_AssoMapAlgos.cc.
References CommonMethods::weight().
Referenced by FindAssociation(), and FindNIVertex().
|
private |
Definition at line 177 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and GetInputCollections().
|
private |
Definition at line 179 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and GetInputCollections().
|
private |
Definition at line 182 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 186 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 190 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 194 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 198 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 185 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 184 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 197 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 202 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 176 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 181 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 200 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 171 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 205 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 173 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 188 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 192 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 207 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 203 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 196 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 208 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 189 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 193 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 174 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and GetInputCollections().