32 using namespace l1extra;
42 produces<L3MuonTrajectorySeedCollection>();
59 theMerger = std::make_unique<L1MuonSeedsMerger>(cleanerPSet);
65 auto result = std::make_unique<L3MuonTrajectorySeedCollection>();
74 LogDebug(
"TSGFromL1Muon") << l1muon->size() <<
" l1 muons to seed from.";
76 L1MuonParticleCollection::const_iterator muItr = l1muon->begin();
77 L1MuonParticleCollection::const_iterator muEnd = l1muon->end();
78 for (
size_t iL1 = 0; muItr < muEnd; ++muItr, ++iL1) {
79 if (muItr->gmtMuonCand().empty())
88 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
90 for (Regions::const_iterator ir = regions.begin(); ir != regions.end(); ++ir) {
95 unsigned int nSets = candidates.
size();
96 for (
unsigned int ic = 0; ic < nSets; ic++) {
98 std::vector<const TrackingRecHit*> trh;
100 trh.push_back(hits[
i]->hit());
107 if (!
filter(track, trh)) {
116 for (L1MuonSeedsMerger::TracksAndHits::const_iterator it = tracks.begin(); it != tracks.end(); ++it) {
130 LogDebug(
"TSGFromL1Muon") <<
result->size() <<
" seeds to the event.";
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
TSGFromL1Muon(const edm::ParameterSet &cfg)
~TSGFromL1Muon() override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &ev, const edm::EventSetup &es) override
auto const & tracks
cannot be loose
virtual unsigned int size() const =0
std::unique_ptr< L1MuonPixelTrackFitter > theFitter
TrajectorySeed trajectorySeed() const
std::unique_ptr< L1MuonRegionProducer > theRegionProducer
edm::EDGetTokenT< PixelTrackFilter > theFilterToken
std::vector< TrackAndHits > TracksAndHits
edm::InputTag theSourceTag
std::unique_ptr< OrderedHitsGenerator > theHitGenerator
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
T getParameter(std::string const &) const
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > theSourceToken
std::unique_ptr< L1MuonSeedsMerger > theMerger
unsigned int size() const
const SeedFromProtoTrack::Config theSFPTConfig