67 _tracks1(iConfig.getParameter< edm::InputTag > (
"trackCol1")),
68 _tracks2(iConfig.getParameter< edm::InputTag > (
"trackCol2"))
71 produces<reco::TrackCollection>();
94 std::vector< edm::Handle<reco::TrackCollection> > cols;
101 cols.push_back(tks1);
102 cols.push_back(tks2);
108 std::vector< edm::Handle<reco::TrackCollection> >::iterator it = cols.begin();
109 for(;it != cols.end(); ++it)
112 for ( reco::TrackCollection::const_iterator itT = (*it)->begin() ; itT != (*it)->end(); ++itT)
121 newCol->push_back(*itT);
#define DEFINE_FWK_MODULE(type)
std::vector< Track > TrackCollection
collection of Tracks
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
RecoTracksMixer(const edm::ParameterSet &)