55 produces<std::vector<Trajectory>>();
56 produces<TrajTrackAssociationCollection>();
77 auto trajectoryCollection = std::make_unique<std::vector<Trajectory>>();
79 auto trajTrackMap = std::make_unique<TrajTrackAssociationCollection>();
89 for (reco::TrackCollection::const_iterator trackSA = tracksSA->begin(); trackSA != tracksSA->end(); ++trackSA) {
99 const GeomDet* myDet = theTrackingGeometry->
idToDet((*theHit)->geographicalId());
105 trajectoryCollection->push_back(myTraj);
106 trajToTrack_map[trajectoryIndex] = trackIndex;
113 for (trajectoryIndex = 0; trajectoryIndex < tracksSA->size(); ++trajectoryIndex) {
115 trajTrackMap->insert(
edm::Ref<std::vector<Trajectory>>(trajsRef, trajectoryIndex),