59 produces<std::vector<Trajectory> >();
60 produces<TrajTrackAssociationCollection>();
85 =
event.getRefBeforePut<std::vector<Trajectory> >();
88 auto trajectoryCollection = std::make_unique<std::vector<Trajectory>>();
90 auto trajTrackMap = std::make_unique<TrajTrackAssociationCollection>();
101 for (reco::TrackCollection::const_iterator trackSA = tracksSA->begin(); trackSA != tracksSA->end(); ++trackSA ) {
114 const GeomDet* myDet = theTrackingGeometry->
idToDet( (*theHit)->geographicalId() );
120 trajectoryCollection->push_back(myTraj);
121 trajToTrack_map[trajectoryIndex] = trackIndex;
128 for( trajectoryIndex = 0; trajectoryIndex < tracksSA->size(); ++trajectoryIndex)
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
virtual void produce(edm::Event &event, const edm::EventSetup &eventSetup)
TrajectoryStateOnSurface innermostMeasurementState() const
virtual const GeomDet * idToDet(DetId) const
virtual ~MuonMillepedeTrackRefitter()
Destructor.
edm::InputTag SACollectionTag
virtual TrackingRecHit * clone() const =0
trackingRecHit_iterator recHitsEnd() const
last iterator to RecHits
static MuonRecHitPointer specificBuild(const GeomDet *geom, const TrackingRecHit *rh)
void push(const TrajectoryMeasurement &tm)
trackingRecHit_iterator recHitsBegin() const
first iterator to RecHits
MuonMillepedeTrackRefitter(const edm::ParameterSet &pset)
Constructor.
boost::remove_cv< typename boost::remove_reference< argument_type >::type >::type key_type
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection