Go to the documentation of this file.
44 produces<PFCandToVertexAssMap>();
47 produces<VertexToPFCandAssMap>();
50 produces<PFCandToVertexAssMap>();
51 produces<VertexToPFCandAssMap>();
53 std::cout <<
"No correct InputTag for AssociationType!" << std::endl;
54 std::cout <<
"Won't produce any AssociationMap!" << std::endl;
80 if (asstype ==
"PFCandsToVertex" || asstype ==
"VertexToPFCands" || asstype ==
"Both") {
82 if (asstype ==
"PFCandsToVertex" || asstype ==
"Both") {
85 if (asstype ==
"VertexToPFCands" || asstype ==
"Both") {
~PFCand_AssoMap() override
void produce(edm::Event &, const edm::EventSetup &) override
PFCand_AssoMap(const edm::ParameterSet &)
void GetInputCollections(edm::Event &, const edm::EventSetup &) override
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)
edm::EDGetTokenT< reco::PFCandidateCollection > token_PFCandidates_
edm::InputTag input_AssociationType_
std::unique_ptr< PFCandToVertexAssMap > SortPFCandAssociationMap(PFCandToVertexAssMap *, edm::EDProductGetter const *getter)
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)