Go to the documentation of this file.
36 produces<TrackToVertexAssMap>();
39 produces<VertexToTrackAssMap>();
42 produces<TrackToVertexAssMap>();
43 produces<VertexToTrackAssMap>();
45 std::cout <<
"No correct InputTag for AssociationType!" << std::endl;
46 std::cout <<
"Won't produce any AssociationMap!" << std::endl;
75 if (asstype ==
"TracksToVertex" || asstype ==
"VertexToTracks" || asstype ==
"Both") {
77 if (asstype ==
"TracksToVertex" || asstype ==
"Both") {
80 if (asstype ==
"VertexToTracks" || asstype ==
"Both") {
virtual void GetInputCollections(edm::Event &, const edm::EventSetup &)
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > createMappings(edm::Handle< reco::TrackCollection > trkcollH, const edm::EventSetup &iSetup)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::TrackCollection > token_TrackCollection_
#define DEFINE_FWK_MODULE(type)
~PF_PU_AssoMap() override
void produce(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *, edm::Handle< reco::TrackCollection >)
PF_PU_AssoMap(const edm::ParameterSet &)
T getParameter(std::string const &) const
void addDefault(ParameterSetDescription const &psetDescription)
edm::InputTag input_AssociationType_