template<class T>
class FakeTrackProducer< T >
Definition at line 39 of file FakeTrackProducers.cc.
Definition at line 74 of file FakeTrackProducers.cc.
86 unique_ptr<vector<reco::Track>>
out(
new vector<reco::Track>());
88 unique_ptr<vector<reco::TrackExtra>> outEx(
new vector<reco::TrackExtra>());
89 outEx->reserve(
src->size());
94 for (
typename vector<T>::const_iterator it =
src->begin(), ed =
src->end(); it != ed; ++it) {
100 std::cerr <<
"ERROR: bogus detid " << pstate.
detId() << std::endl;
111 out->back().appendHits(
hits.begin(),
hits.end(), ttopo);
117 if (det0 ==
nullptr || det1 ==
nullptr) {
118 std::cerr <<
"ERROR: bogus detids at beginning or end of range" << std::endl;
140 auto const firstHitIndex = outHits->size();
141 for (
auto const &it2 :
hits) {
142 outHits->push_back(it2);
144 ex.
setHits(rHits, firstHitIndex, outHits->size() - firstHitIndex);
References alongMomentum, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, ALCARECOTkAlJpsiMuMu_cff::charge, PTrajectoryStateOnDet::detId(), TrackingRecHit::geographicalId(), edm::EventSetup::getHandle(), runTauDisplay::gp, hfClusterShapes_cfi::hits, TrackerGeometry::idToDet(), iEvent, 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().