Description: EDPRoducer to generate L3MuonTracjectorySeed from L1MuonParticles
- Author
- Marcin Konecki
Definition at line 28 of file TSGFromL1Muon.h.
Definition at line 67 of file TSGFromL1Muon.cc.
References HLT_2024v11_cff::candidates, makeMEIFBenchmarkPlots::ev, ALCARECOTkAlBeamHalo_cff::filter, edm::EventSetup::getData(), hfClusterShapes_cfi::hits, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, eostools::move(), nHits, nano_mu_digi_cff::region, SiPixelRawToDigiRegional_cfi::Regions, mps_fire::result, fileCollector::seed, theFieldToken, theFilterToken, theFitter, theHitGenerator, theMerger, theRegionProducer, theSFPTConfig, theSourceToken, HLT_2024v11_cff::track, and DiMuonV_cfg::tracks.
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 const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::unique_ptr< L1MuonPixelTrackFitter > theFitter
std::unique_ptr< L1MuonRegionProducer > theRegionProducer
edm::EDGetTokenT< PixelTrackFilter > theFilterToken
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
std::vector< TrackAndHits > TracksAndHits
std::unique_ptr< OrderedHitsGenerator > theHitGenerator
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > theSourceToken
std::unique_ptr< L1MuonSeedsMerger > theMerger
const SeedFromProtoTrack::Config theSFPTConfig
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits