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 ~MuonMillepedeTrackRefitter()
Destructor.
edm::InputTag SACollectionTag
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
trackingRecHit_iterator recHitsEnd() const
last iterator to RecHits
virtual TrackingRecHit * clone() const =0
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