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") {
PF_PU_AssoMap(const edm::ParameterSet &)
T getParameter(std::string const &) const
std::unique_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *, edm::Handle< reco::TrackCollection >)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > createMappings(edm::Handle< reco::TrackCollection > trkcollH)
void addDefault(ParameterSetDescription const &psetDescription)
~PF_PU_AssoMap() override
virtual void GetInputCollections(edm::Event &, const edm::EventSetup &)
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< reco::TrackCollection > token_TrackCollection_
edm::InputTag input_AssociationType_