38 produces<TrackToVertexAssMap>();
41 produces<VertexToTrackAssMap>();
44 produces<TrackToVertexAssMap>();
45 produces<VertexToTrackAssMap>();
47 std::cout <<
"No correct InputTag for AssociationType!" << std::endl;
48 std::cout <<
"Won't produce any AssociationMap!" << std::endl;
88 if (asstype ==
"TracksToVertex" || asstype ==
"VertexToTracks" || asstype ==
"Both") {
90 if (asstype ==
"TracksToVertex" || asstype ==
"Both") {
93 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_