38 produces<TrackToVertexAssMap>();
41 produces<VertexToTrackAssMap>();
44 produces<TrackToVertexAssMap>();
45 produces<VertexToTrackAssMap>();
47 edm::LogWarning(
"Trck2VtxAssociation") <<
"No correct InputTag for AssociationType!" << std::endl
48 <<
"Won't produce any AssociationMap!" << std::endl;
86 if ( ( asstype ==
"TracksToVertex" ) || ( asstype ==
"Both" ) ) {
91 if ( ( asstype ==
"VertexToTracks" ) || ( asstype ==
"Both" ) ) {
93 iEvent.
put( Vertex2Track );
T getParameter(std::string const &) const
PF_PU_AssoMap(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
std::auto_ptr< TrackToVertexAssMap > CreateTrackToVertexMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::InputTag input_TrackCollection_
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 &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::auto_ptr< TrackToVertexAssMap > SortAssociationMap(TrackToVertexAssMap *)
edm::InputTag input_AssociationType_
std::auto_ptr< VertexToTrackAssMap > CreateVertexToTrackMap(edm::Handle< reco::TrackCollection >, const edm::EventSetup &)