44 : theFieldToken(
esConsumes()), theSFPTConfig(consumesCollector()) {
45 produces<L3MuonTrajectorySeedCollection>();
58 std::make_unique<L1MuonRegionProducer>(
cfg.getParameter<
edm::ParameterSet>(
"RegionFactoryPSet"), iC);
62 theMerger = std::make_unique<L1MuonSeedsMerger>(cleanerPSet);
68 auto result = std::make_unique<L3MuonTrajectorySeedCollection>();
78 LogDebug(
"TSGFromL1Muon") << l1muon->size() <<
" l1 muons to seed from.";
80 L1MuonParticleCollection::const_iterator muItr = l1muon->begin();
81 L1MuonParticleCollection::const_iterator muEnd = l1muon->end();
82 for (
size_t iL1 = 0; muItr < muEnd; ++muItr, ++iL1) {
83 if (muItr->gmtMuonCand().empty())
92 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
94 for (Regions::const_iterator ir =
regions.begin(); ir !=
regions.end(); ++ir) {
100 for (
unsigned int ic = 0; ic < nSets; ic++) {
102 std::vector<const TrackingRecHit*> trh;
104 trh.push_back(
hits[
i]->hit());
120 for (L1MuonSeedsMerger::TracksAndHits::const_iterator it =
tracks.begin(); it !=
tracks.end(); ++it) {
134 LogDebug(
"TSGFromL1Muon") <<
result->size() <<
" seeds to the event.";
T getParameter(std::string const &) const
TSGFromL1Muon(const edm::ParameterSet &cfg)
~TSGFromL1Muon() override
void produce(edm::Event &ev, const edm::EventSetup &es) override
std::unique_ptr< L1MuonPixelTrackFitter > theFitter
std::unique_ptr< L1MuonRegionProducer > theRegionProducer
edm::EDGetTokenT< PixelTrackFilter > theFilterToken
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
std::vector< TrackAndHits > TracksAndHits
edm::InputTag theSourceTag
bool getData(T &iHolder) const
std::unique_ptr< OrderedHitsGenerator > theHitGenerator
auto const & tracks
cannot be loose
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
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
Square< F >::type sqr(const F &f)
const SeedFromProtoTrack::Config theSFPTConfig