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 ==
"Both" ) ) {
93 if ( ( asstype ==
"VertexToTracks" ) || ( asstype ==
"Both" ) ) {
95 iEvent.
put( Vertex2Track );
T getParameter(std::string const &) const
PF_PU_AssoMap(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::auto_ptr< TrackToVertexAssMap > CreateTrackToVertexMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &, const edm::EventSetup &)
virtual void GetInputCollections(edm::Event &, const edm::EventSetup &)
std::auto_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *)
edm::EDGetTokenT< reco::TrackCollection > token_TrackCollection_
edm::InputTag input_AssociationType_
std::auto_ptr< VertexToTrackAssMap > CreateVertexToTrackMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)