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_2022v14_cff::candidates, makeMEIFBenchmarkPlots::ev, ALCARECOTkAlBeamHalo_cff::filter, edm::EventSetup::getData(), hfClusterShapes_cfi::hits, mps_fire::i, LogDebug, eostools::move(), nHits, HLT_2022v14_cff::region, SiPixelRawToDigiRegional_cfi::Regions, mps_fire::result, fileCollector::seed, theFieldToken, theFilterToken, theFitter, theHitGenerator, theMerger, theRegionProducer, theSFPTConfig, theSourceToken, HLT_2022v14_cff::track, and 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.";
std::unique_ptr< L1MuonPixelTrackFitter > theFitter
std::unique_ptr< L1MuonRegionProducer > theRegionProducer
edm::EDGetTokenT< PixelTrackFilter > theFilterToken
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
std::vector< TrackAndHits > TracksAndHits
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
const SeedFromProtoTrack::Config theSFPTConfig