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
std::remove_cv< typename std::remove_reference< argument_type >::type >::type key_type
~MuonMillepedeTrackRefitter() override
Destructor.
#define DEFINE_FWK_MODULE(type)
TrajectoryStateOnSurface innermostMeasurementState() const
edm::InputTag SACollectionTag
virtual TrackingRecHit * clone() const =0
trackingRecHit_iterator recHitsEnd() const
last iterator to RecHits
const GeomDet * idToDet(DetId) const override
void produce(edm::Event &event, const edm::EventSetup &eventSetup) override
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.