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 ==
"Both" ) ) {
94 if ( ( asstype ==
"VertexToPFCands" ) || ( asstype ==
"Both" ) ) {
96 iEvent.
put( Vertex2PFCand );
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
EDProductGetter const & productGetter() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::auto_ptr< PFCandToVertexAssMap > SortPFCandAssociationMap(PFCandToVertexAssMap *, edm::EDProductGetter const *getter)
void addDefault(ParameterSetDescription const &psetDescription)
std::auto_ptr< VertexToPFCandAssMap > CreateVertexToPFCandMap(edm::Handle< reco::PFCandidateCollection >, const edm::EventSetup &)
std::auto_ptr< PFCandToVertexAssMap > CreatePFCandToVertexMap(edm::Handle< reco::PFCandidateCollection >, const edm::EventSetup &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag input_AssociationType_
edm::EDGetTokenT< reco::PFCandidateCollection > token_PFCandidates_
void GetInputCollections(edm::Event &, const edm::EventSetup &)
PFCand_AssoMap(const edm::ParameterSet &)
virtual void produce(edm::Event &, const edm::EventSetup &)