55 virtual void endJob() ;
78 _col1(iConfig.getParameter< edm::InputTag > (
"collection1")),
79 _col2(iConfig.getParameter< edm::InputTag > (
"collection2"))
83 produces<reco::GsfTrackCollection>();
84 produces<reco::TrackExtraCollection>();
85 produces<reco::GsfTrackExtraCollection>();
116 using namespace reco;
138 std::vector< edm::Handle< reco::GsfTrackCollection > > cols;
139 cols.push_back(hcol1);
140 cols.push_back(hcol2);
146 for (GsfTrackCollection::const_iterator it = (*itCols)->begin(); it!=(*itCols)->end(); ++ it){
157 outputTColl->push_back(gsfTrack);
158 outputTEColl->push_back(te);
159 outputGsfTEColl->push_back(ge);
165 iEvent.
put(outputTColl);
166 iEvent.
put(outputTEColl);
167 iEvent.
put(outputGsfTEColl);
virtual void produce(edm::Event &, const edm::EventSetup &)
void setGsfExtra(const GsfTrackExtraRef &ref)
set reference to GSF "extra" object
#define DEFINE_FWK_MODULE(type)
std::vector< GsfTrackExtra > GsfTrackExtraCollection
collection of GsfTrackExtra objects
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< GsfTrack > GsfTrackCollection
collection of GsfTracks
GsfTrackMixer(const edm::ParameterSet &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
RefProd< PROD > getRefBeforePut()
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
boost::remove_cv< typename boost::remove_reference< argument_type >::type >::type key_type