72 produces<TrajectorySeedCollection>();
102 if(
muon->innerTrack().isNull() )
continue;
107 if( (!track->innerOk()) || (!track->recHit(0)->isValid()))
continue;
108 GlobalPoint innerPosition(track->innerPosition().x(), track->innerPosition().y(), track->innerPosition().z());
109 GlobalVector innerMomentum(track->innerMomentum().x(), track->innerMomentum().y(), track->innerMomentum().z());
110 int charge = track->charge();
112 DetId innerDetId =
DetId(track->innerDetId());
117 LogTrace(
"MuonIdentification") <<
"Track Inner FTS: "<<tracker_state;
123 trackHits.
push_back(track->recHit(0)->clone() );
128 LogTrace(
"MuonIdentification")<<
"Trajectory Seed Direction: "<< trajectorySeed.direction()<<endl;
129 result->push_back(trajectorySeed);
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
edm::InputTag trackCollectionTag_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
virtual void produce(edm::Event &, const edm::EventSetup &) override
reco::TrackRef findOppositeTrack(const edm::Handle< reco::TrackCollection > &collection, const reco::Track &muon, double angleMatch=0.01, double momentumMatch=0.05)
edm::EDGetTokenT< edm::View< reco::Muon > > muonCollectionToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::InputTag muonCollectionTag_
uint32_t rawId() const
get the raw id
bool isNonnull() const
Checks for non-null.
std::vector< TrajectorySeed > TrajectorySeedCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
TrajectorySeedFromMuonProducer(const edm::ParameterSet &)
math::Error< dimension >::type CovarianceMatrix
5 parameter covariance matrix