45 produces<PFCandToVertexAssMap>();
48 produces<VertexToPFCandAssMap>();
51 produces<PFCandToVertexAssMap>();
52 produces<VertexToPFCandAssMap>();
54 std::cout <<
"No correct InputTag for AssociationType!" << std::endl;
55 std::cout <<
"Won't produce any AssociationMap!" << std::endl;
89 if (asstype ==
"PFCandsToVertex" || asstype ==
"VertexToPFCands" || asstype ==
"Both") {
91 if (asstype ==
"PFCandsToVertex" || asstype ==
"Both") {
94 if (asstype ==
"VertexToPFCands" || asstype ==
"Both") {
T getParameter(std::string const &) const
void GetInputCollections(edm::Event &, const edm::EventSetup &) override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EDProductGetter const & productGetter() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::pair< std::unique_ptr< PFCandToVertexAssMap >, std::unique_ptr< VertexToPFCandAssMap > > createMappings(edm::Handle< reco::PFCandidateCollection > pfCandH, const edm::EventSetup &iSetup)
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
edm::InputTag input_AssociationType_
~PFCand_AssoMap() override
edm::EDGetTokenT< reco::PFCandidateCollection > token_PFCandidates_
void produce(edm::Event &, const edm::EventSetup &) override
PFCand_AssoMap(const edm::ParameterSet &)
std::unique_ptr< PFCandToVertexAssMap > SortPFCandAssociationMap(PFCandToVertexAssMap *, edm::EDProductGetter const *getter)