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") {
T getParameter(std::string const &) const
PF_PU_AssoMap(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::unique_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *, edm::Handle< reco::TrackCollection >)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
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
std::pair< std::unique_ptr< TrackToVertexAssMap >, std::unique_ptr< VertexToTrackAssMap > > createMappings(edm::Handle< reco::TrackCollection > trkcollH, const edm::EventSetup &iSetup)
edm::EDGetTokenT< reco::TrackCollection > token_TrackCollection_
edm::InputTag input_AssociationType_