Definition at line 69 of file FakeTrackProducers.cc.
84 unique_ptr<vector<reco::Track>>
out(
new vector<reco::Track>());
86 unique_ptr<vector<reco::TrackExtra>> outEx(
new vector<reco::TrackExtra>());
87 outEx->reserve(
src->size());
92 for (
typename vector<T>::const_iterator it =
src->begin(), ed =
src->end(); it != ed; ++it) {
109 out->back().appendHits(
hits.first,
hits.second, ttopo);
115 if (det0 ==
nullptr || det1 ==
nullptr) {
116 std::cerr <<
"ERROR: bogus detids at beginning or end of range" << std::endl;
138 auto const firstHitIndex = outHits->size();
140 outHits->push_back(*it2);
142 ex.
setHits(rHits, firstHitIndex, outHits->size() - firstHitIndex);
References alongMomentum, beam_dqm_sourceclient-live_cfg::cerr, ALCARECOTkAlJpsiMuMu_cff::charge, LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::detId(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), runTauDisplay::gp, hfClusterShapes_cfi::hits, TrackerGeometry::idToDet(), iEvent, TrajectoryStateOnSurface::localParameters(), TrackingRecHit::localPosition(), eostools::move(), amptDefaultParameters_cff::mu, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), reco::TrackExtraBase::setHits(), edm::OwnVector< T, P >::size(), TrackRefitter_38T_cff::src, GeomDet::surface(), std::swap(), GeomDet::toGlobal(), trajectoryStateTransform::transientState(), PV3DBase< T, PVType, FrameType >::x(), testProducerWithPsetDescEmpty_cfi::x1, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().