#include <PF_PU_AssoMapAlgos.h>
Public Member Functions | |
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > | createMappings (edm::Handle< reco::TrackCollection > trkcollH, const edm::EventSetup &iSetup) |
std::unique_ptr< TrackToVertexAssMap > | CreateTrackToVertexMap (edm::Handle< reco::TrackCollection >, const edm::EventSetup &) |
std::unique_ptr< VertexToTrackAssMap > | CreateVertexToTrackMap (edm::Handle< reco::TrackCollection >, const edm::EventSetup &) |
virtual void | GetInputCollections (edm::Event &, const edm::EventSetup &) |
PF_PU_AssoMapAlgos (const edm::ParameterSet &, edm::ConsumesCollector &) | |
PF_PU_AssoMapAlgos (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
std::unique_ptr< TrackToVertexAssMap > | SortAssociationMap (TrackToVertexAssMap *, edm::Handle< reco::TrackCollection >) |
virtual | ~PF_PU_AssoMapAlgos () noexcept(false) |
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 &, const std::vector< reco::VertexRef > &, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, int) |
Definition at line 83 of file PF_PU_AssoMapAlgos.h.
|
inline |
Definition at line 86 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_.
|
inlinevirtualnoexcept |
Definition at line 89 of file PF_PU_AssoMapAlgos.h.
|
staticprivate |
Definition at line 391 of file PF_PU_AssoMapAlgos.cc.
References CustomPhysics_cfi::gamma, and ConversionTools::matchesConversion().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 630 of file PF_PU_AssoMapAlgos.cc.
Referenced by FindAssociation().
|
staticprivate |
Definition at line 525 of file PF_PU_AssoMapAlgos.cc.
References reco::RecoChargedCandidate::track().
Referenced by FindAssociation().
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > PF_PU_AssoMapAlgos::createMappings | ( | edm::Handle< reco::TrackCollection > | trkcollH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 102 of file PF_PU_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), beamspotH, bFieldH, CreateVertexVector(), DefineQuality(), HLT_FULL_cff::distance, EraseVertex(), FindAssociation(), input_MaxNumAssociations_, eostools::move(), qcdUeDQM_cfi::quality, edm::second(), reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and vtxcollH.
Referenced by CreateTrackToVertexMap(), CreateVertexToTrackMap(), and PF_PU_AssoMap::produce().
std::unique_ptr< TrackToVertexAssMap > PF_PU_AssoMapAlgos::CreateTrackToVertexMap | ( | edm::Handle< reco::TrackCollection > | trkcollH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 152 of file PF_PU_AssoMapAlgos.cc.
References createMappings().
std::unique_ptr< VertexToTrackAssMap > PF_PU_AssoMapAlgos::CreateVertexToTrackMap | ( | edm::Handle< reco::TrackCollection > | trkcollH, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 161 of file PF_PU_AssoMapAlgos.cc.
References createMappings().
|
protected |
Definition at line 248 of file PF_PU_AssoMapAlgos.cc.
References mps_fire::i, convertSQLitetoXML_cfg::output, and vtxcollH.
Referenced by PFCand_AssoMapAlgos::createMappings(), and createMappings().
|
protected |
Definition at line 811 of file PF_PU_AssoMapAlgos.cc.
References HLT_FULL_cff::distance, fin_50, fin_70, qcdUeDQM_cfi::quality, sec_50, sec_70, tw_50, tw_70, and tw_90.
Referenced by PFCand_AssoMapAlgos::createMappings(), and createMappings().
|
staticprivate |
Definition at line 343 of file PF_PU_AssoMapAlgos.cc.
References PbPb_ZMuSkimMuonDPG_cff::deltaR, dqm-mbProfile::log, mathSSE::sqrt(), funct::tan(), reco::BeamSpot::x0(), reco::BeamSpot::y0(), and reco::BeamSpot::z0().
Referenced by GetCleanedKshort(), GetCleanedLambda(), and GetCleanedNI().
|
protected |
Definition at line 262 of file PF_PU_AssoMapAlgos.cc.
Referenced by PFCand_AssoMapAlgos::createMappings(), and createMappings().
|
protected |
Definition at line 718 of file PF_PU_AssoMapAlgos.cc.
References cleanedConvCollP, cleanedKshortCollP, cleanedLambdaCollP, cleanedNICollP, ComesFromConversion(), ComesFromNI(), ComesFromV0Decay(), FindClosest3D(), FindClosestZ(), FindConversionVertex(), FindNIVertex(), FindV0Vertex(), CustomPhysics_cfi::gamma, input_doReassociation_, input_FinalAssociation_, input_nTrack_, missingColls, reco::TransientTrack::setBeamSpot(), reco::TransientTrack::setES(), and TrackWeightAssociation().
Referenced by PFCand_AssoMapAlgos::createMappings(), and createMappings().
|
staticprivate |
Definition at line 309 of file PF_PU_AssoMapAlgos.cc.
References IPTools::absoluteImpactParameter3D(), HLT_FULL_cff::distance, BeamSpotPI::nTracks, and mathSSE::sqrt().
Referenced by FindAssociation(), FindConversionVertex(), FindNIVertex(), and FindV0Vertex().
|
staticprivate |
Definition at line 277 of file PF_PU_AssoMapAlgos.cc.
References BeamSpotPI::nTracks, and mathSSE::sqrt().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 408 of file PF_PU_AssoMapAlgos.cc.
References FindClosest3D(), CustomPhysics_cfi::gamma, and muons2muons_cfi::photon.
Referenced by FindAssociation().
|
staticprivate |
Definition at line 648 of file PF_PU_AssoMapAlgos.cc.
References bFieldH, 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 565 of file PF_PU_AssoMapAlgos.cc.
References bFieldH, FindClosest3D(), reco::LeafCandidate::momentum(), and reco::LeafCandidate::vertex().
Referenced by FindAssociation().
|
staticprivate |
Definition at line 367 of file PF_PU_AssoMapAlgos.cc.
References convCollH.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 433 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), reco::BeamSpot::covariance3D(), VertexDistance3D::distance(), dR(), kMass, reco::BeamSpot::position(), and met_cff::significance.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 479 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), reco::BeamSpot::covariance3D(), VertexDistance3D::distance(), dR(), lamMass, reco::BeamSpot::position(), and met_cff::significance.
Referenced by GetInputCollections().
|
staticprivate |
Definition at line 589 of file PF_PU_AssoMapAlgos.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), reco::BeamSpot::covariance3D(), VertexDistance3D::distance(), dR(), reco::BeamSpot::position(), and met_cff::significance.
Referenced by GetInputCollections().
|
virtual |
Reimplemented in PFCand_AssoMapAlgos.
Definition at line 59 of file PF_PU_AssoMapAlgos.cc.
References beamspotH, bFieldH, cleanedColls_, cleanedConvCollP, cleanedKshortCollP, cleanedLambdaCollP, cleanedNICollP, convCollH, ConversionsCollectionToken_, displVertexCollH, edm::EventSetup::get(), get, GetCleanedConversions(), GetCleanedKshort(), GetCleanedLambda(), GetCleanedNI(), iEvent, 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().
unique_ptr< TrackToVertexAssMap > PF_PU_AssoMapAlgos::SortAssociationMap | ( | TrackToVertexAssMap * | trackvertexassInput, |
edm::Handle< reco::TrackCollection > | trkcollH | ||
) |
Definition at line 170 of file PF_PU_AssoMapAlgos.cc.
References edm::AssociationMap< Tag >::begin(), edm::AssociationMap< Tag >::end(), edm::Ref< C, T, F >::key(), qcdUeDQM_cfi::quality, edm::second(), and vtxcollH.
Referenced by PF_PU_AssoMap::produce().
|
staticprivate |
Referenced by FindAssociation(), and FindNIVertex().
|
staticprivate |
|
private |
Definition at line 207 of file PF_PU_AssoMapAlgos.h.
Referenced by createMappings(), and GetInputCollections().
|
private |
Definition at line 209 of file PF_PU_AssoMapAlgos.h.
Referenced by createMappings(), FindNIVertex(), FindV0Vertex(), and GetInputCollections().
|
private |
Definition at line 212 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 216 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 220 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 224 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 228 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 215 of file PF_PU_AssoMapAlgos.h.
Referenced by GetCleanedConversions(), and GetInputCollections().
|
private |
Definition at line 214 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 227 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 232 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 FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 230 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 201 of file PF_PU_AssoMapAlgos.h.
Referenced by createMappings(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 235 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 218 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 222 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 237 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 233 of file PF_PU_AssoMapAlgos.h.
Referenced by FindAssociation(), and GetInputCollections().
|
private |
Definition at line 226 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 238 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 206 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 203 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections(), and PF_PU_AssoMapAlgos().
|
private |
Definition at line 219 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 223 of file PF_PU_AssoMapAlgos.h.
Referenced by GetInputCollections().
|
private |
Definition at line 204 of file PF_PU_AssoMapAlgos.h.
Referenced by createMappings(), CreateVertexVector(), GetInputCollections(), and SortAssociationMap().