#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 &) |
virtual void | GetInputCollections (edm::Event &, const edm::EventSetup &) |
PF_PU_AssoMapAlgos (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
PF_PU_AssoMapAlgos (const edm::ParameterSet &, edm::ConsumesCollector &) | |
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 82 of file PF_PU_AssoMapAlgos.h.
|
inline |
Definition at line 87 of file PF_PU_AssoMapAlgos.h.
PF_PU_AssoMapAlgos::PF_PU_AssoMapAlgos | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 26 of file PF_PU_AssoMapAlgos.cc.
References cleanedColls_, edm::ConsumesCollector::consumes(), ConversionsCollectionToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ignoremissingpfcollection_, input_doReassociation_, input_FinalAssociation_, input_MaxNumAssociations_, input_nTrack_, KshortCollectionToken_, LambdaCollectionToken_, NIVertexCollectionToken_, token_BeamSpot_, and token_VertexCollection_.
|
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(), relval_parameters_module::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(), relval_parameters_module::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(), fff_deleter::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(), tkAlTrackRefitSequence_cff::refittedTracks, 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().
|
virtual |
Reimplemented in PFCand_AssoMapAlgos.
Definition at line 60 of file PF_PU_AssoMapAlgos.cc.
References beamspotH, bFieldH, cleanedColls_, cleanedConvCollP, cleanedKshortCollP, cleanedLambdaCollP, cleanedNICollP, convCollH, ConversionsCollectionToken_, displVertexCollH, edm::EventSetup::get(), edm::Event::getByToken(), GetCleanedConversions(), GetCleanedKshort(), GetCleanedLambda(), GetCleanedNI(), ignoremissingpfcollection_, KshortCollectionToken_, LambdaCollectionToken_, maxNumWarnings_, missingColls, NIVertexCollectionToken_, numWarnings_, token_BeamSpot_, token_VertexCollection_, 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 histoStyle::weight.
Referenced by FindAssociation(), and FindNIVertex().
|
private |
Definition at line 180 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 CreateTrackToVertexMap(), CreateVertexToTrackMap(), and GetInputCollections().
|
private |
Definition at line 185 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 189 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 193 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 197 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 201 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 188 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 187 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 200 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 205 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 184 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 203 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 174 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 208 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 191 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 195 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 210 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 206 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 199 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 211 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 179 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 192 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 196 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 177 of file PF_PU_AssoMapAlgos.h.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and GetInputCollections().