Go to the documentation of this file. 1 #ifndef PF_PU_AssoMapAlgos_h
2 #define PF_PU_AssoMapAlgos_h
95 std::pair<std::unique_ptr<TrackToVertexAssMap>, std::unique_ptr<VertexToTrackAssMap>>
createMappings(
120 const std::vector<reco::VertexRef>&,
154 const std::vector<reco::VertexRef>&,
158 static std::unique_ptr<reco::VertexCompositeCandidateCollection>
GetCleanedKshort(
162 static std::unique_ptr<reco::VertexCompositeCandidateCollection>
GetCleanedLambda(
176 const std::vector<reco::VertexRef>&,
192 const std::vector<reco::VertexRef>&,
196 template <
typename TREF>
std::vector< reco::VertexRef > CreateVertexVector(edm::Handle< reco::VertexCollection >)
edm::Handle< reco::PFDisplacedVertexCollection > displVertexCollH
std::unique_ptr< VertexToTrackAssMap > CreateVertexToTrackMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)
virtual void GetInputCollections(edm::Event &, const edm::EventSetup &)
edm::AssociationMap< edm::OneToManyWithQuality< reco::TrackCollection, reco::VertexCollection, int > > VertexToTrackAssMap
static std::unique_ptr< reco::ConversionCollection > GetCleanedConversions(edm::Handle< reco::ConversionCollection >, edm::Handle< reco::BeamSpot >, bool)
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > createMappings(edm::Handle< reco::TrackCollection > trkcollH, const edm::EventSetup &iSetup)
edm::EDGetTokenT< reco::VertexCollection > token_VertexCollection_
static reco::VertexRef FindConversionVertex(const reco::TrackRef, const reco::Conversion &, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, const std::vector< reco::VertexRef > &, double)
std::vector< TrackQualityPair > TrackQualityPairVector
std::pair< reco::TrackRef, int > TrackQualityPair
static double dR(const math::XYZPoint &, const math::XYZVector &, edm::Handle< reco::BeamSpot >)
edm::Handle< reco::VertexCollection > vtxcollH
std::vector< PFDisplacedVertex > PFDisplacedVertexCollection
collection of PFDisplacedVertex objects
std::vector< VertexPtsumPair > VertexPtsumVector
edm::Handle< reco::ConversionCollection > convCollH
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
static reco::VertexRef FindNIVertex(const reco::TrackRef, const reco::PFDisplacedVertex &, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, const std::vector< reco::VertexRef > &, double)
edm::EDGetTokenT< reco::ConversionCollection > ConversionsCollectionToken_
void EraseVertex(std::vector< reco::VertexRef > &, reco::VertexRef)
edm::Handle< reco::VertexCompositeCandidateCollection > vertCompCandCollKshortH
static reco::VertexRef FindClosestZ(const reco::TrackRef, const std::vector< reco::VertexRef > &, double tWeight=0.)
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > KshortCollectionToken_
static bool ComesFromConversion(const reco::TrackRef, const reco::ConversionCollection &, reco::Conversion *)
std::unique_ptr< reco::ConversionCollection > cleanedConvCollP
std::unique_ptr< reco::VertexCompositeCandidateCollection > cleanedKshortCollP
static std::unique_ptr< reco::PFDisplacedVertexCollection > GetCleanedNI(edm::Handle< reco::PFDisplacedVertexCollection >, edm::Handle< reco::BeamSpot >, bool)
int input_FinalAssociation_
edm::EDGetTokenT< reco::BeamSpot > token_BeamSpot_
XYZPointD XYZPoint
point in space with cartesian internal representation
XYZVectorD XYZVector
spatial vector with cartesian internal representation
edm::ESHandle< MagneticField > bFieldH
VertexStepPair FindAssociation(const reco::TrackRef &, const std::vector< reco::VertexRef > &, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, int)
static std::unique_ptr< reco::VertexCompositeCandidateCollection > GetCleanedKshort(edm::Handle< reco::VertexCompositeCandidateCollection >, edm::Handle< reco::BeamSpot >, bool)
int DefineQuality(int, int, double)
edm::Handle< reco::BeamSpot > beamspotH
virtual ~PF_PU_AssoMapAlgos() noexcept(false)
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > LambdaCollectionToken_
std::unique_ptr< reco::VertexCompositeCandidateCollection > cleanedLambdaCollP
static std::unique_ptr< reco::VertexCompositeCandidateCollection > GetCleanedLambda(edm::Handle< reco::VertexCompositeCandidateCollection >, edm::Handle< reco::BeamSpot >, bool)
std::unique_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *, edm::Handle< reco::TrackCollection >)
std::vector< VertexCompositeCandidate > VertexCompositeCandidateCollection
collection of Candidate objects
edm::EDGetTokenT< reco::PFDisplacedVertexCollection > NIVertexCollectionToken_
edm::AssociationMap< edm::OneToManyWithQuality< reco::VertexCollection, reco::TrackCollection, int > > TrackToVertexAssMap
bool ignoremissingpfcollection_
std::unique_ptr< TrackToVertexAssMap > CreateTrackToVertexMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)
static bool ComesFromNI(const reco::TrackRef, const reco::PFDisplacedVertexCollection &, reco::PFDisplacedVertex *)
std::pair< reco::VertexRef, TrackQualityPair > VertexTrackQuality
std::unique_ptr< reco::PFDisplacedVertexCollection > cleanedNICollP
edm::Handle< reco::VertexCompositeCandidateCollection > vertCompCandCollLambdaH
std::pair< reco::VertexRef, float > VertexPtsumPair
static reco::VertexRef FindV0Vertex(const reco::TrackRef, const reco::VertexCompositeCandidate &, edm::ESHandle< MagneticField >, const edm::EventSetup &, edm::Handle< reco::BeamSpot >, const std::vector< reco::VertexRef > &, double)
static reco::VertexRef FindClosest3D(reco::TransientTrack, const std::vector< reco::VertexRef > &, double tWeight=0.)
PF_PU_AssoMapAlgos(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
static bool ComesFromV0Decay(const reco::TrackRef, const reco::VertexCompositeCandidateCollection &, const reco::VertexCompositeCandidateCollection &, reco::VertexCompositeCandidate *)
static reco::VertexRef TrackWeightAssociation(const TREF &, const std::vector< reco::VertexRef > &)
std::pair< reco::VertexRef, int > VertexStepPair
int input_MaxNumAssociations_
bool input_doReassociation_