-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New seeding framework #16635
Merged
Merged
New seeding framework #16635
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
e13def5
Add TrackingRegionEDProducerT, and instantiate it with GlobalTracking…
makortel af0a674
Remove Event from TrackingRegion::hits() parameters
makortel c4bda7a
Add HitPairEDProducer and IntermediateHitDoublets
makortel e60ae23
LayerHitMapCache::SimpleCache::add() takes non-const pointer
makortel fd3301f
Use mayown_ptr in LayerHitMapCache and provide extend()
makortel c8392fa
Improve interface of PixelTripletHLTGenerator
makortel fb8a094
Add HitTripletEDProducerT and IntermediateHitTriplets
makortel 7b07dda
Fix LayerTriplets for quadruplet layer sets
makortel 556c763
Produce pairs only for the necessary layers
makortel 12f0e75
Switch IntermediateHitTriplets data layout to pair+3rd layers
makortel bb0aa19
Finalize IntermediateHitTriplets
makortel 8e4d2bc
Add PixelQuadrupletEDProducer
makortel 41a159b
Add RegionsSeedingHitSets and migrate {HitPair,HitTriplet,PixelQuadru…
makortel e0d5382
Add SeedGeneratorFromSeedingHitsEDProducerT, and instantiate it with …
makortel 747d022
#ifndef CINT etc. no longer needed
makortel 95619d6
Add support for ClusterCheck with ClusterCheckerEDProducer
makortel 8f1c063
Use InitialStepPreSplitting as a testbed
makortel 6357ff0
Update seeding layer deduction in TrackValidation_cff
makortel 49db1be
Add PixelQuadrupletMergerEDProducer
makortel d8ed2e3
Add HIMuonTrackingRegionEDProducer
makortel f76a8d2
Migrate InitialStep to the new seeding modules
makortel c8ccfb5
"Fix" PixelQuadrupletMergerEDProducer to preserve old behaviour
makortel 87fe045
Migrate HighPtTripletStep and LowPtQuadStep
makortel 21bfb4d
Migrate LowPtTripletStep
makortel c7fbdd7
Add PixelTripletLargeTipEDProducer and SeedCreatorFromRegionConsecuti…
makortel 4e181c3
Migrate DetachedQuadStep
makortel 71dbc41
Migrate DetachedTripletStep
makortel a08e44b
Add GlobalTrackingRegionWithVerticesEDProducer
makortel 860d628
Migrate PixelPairStep
makortel ec52d99
Migrate MixedTripletStep
makortel 02ef592
Add MultiHitFromChi2EDProducer
makortel 16a8111
Migrate PixelLessStep
makortel 241846a
Migrate TobTecStep
makortel 88c34bb
Add TauRegionalPixelSeedTrackingRegionEDProducer
makortel db4ede9
Migrate JetCoreRegionalStep
makortel bd3ca8d
Migrate ElectronSeeds
makortel 6ff51c0
Do cluster check only once
makortel c116a3f
Improve the maxElements defaults
makortel 36b8273
Use filler pattern also for IntermediateHitDoublets and IntermediateH…
makortel 15caa08
Fix (optimize) the use of LayerHitMapCache
makortel cd22efa
Simplify IntermediateHitTriplets
makortel 1ad84a8
Improve documentation and interfaces (for self-documentation)
makortel 0a76318
Migrate CAHitQuadrupletGenerator
makortel d3e4cd4
Migrate CAHiTripletGenerator and generalize
makortel 560791d
TauRegionalPixelSeedGenerator accepts measurementTrackerName as eithe…
makortel d2e35ac
Add support for new modules to tracking validation timing plots
makortel 53df150
Fix era customizations in PixelLessStep
makortel 1335830
Put temporary TrajectorySeedCollection to event in PixelQuadrupletMer…
makortel 6d9695d
Add explicit UseVertex=True
makortel 886beb8
Rename MuonTrackingRegionBuilder::fillDescriptions2() to fillDescript…
makortel 99e7a4c
Change exception categories to LogicError
makortel 87f8a59
Add line breaks
makortel 9b594c8
Move era customizations to _cfi's
makortel 871c3e5
Migrate FastSim to read TrackingRegions from Event
makortel 216de84
Migrate customiseClusterCheckForHighPileup.py
makortel bb4f845
Migrate peripheralPbPb era customizations
makortel 57fd324
Remove commented unnecessary config
makortel 7cf68d1
Remove newline
makortel a55b93a
Remove HiRegitMuonLowPtTripletStep_cff, HiRegitMuonTobTecStep_cff and…
makortel 5548d68
Remove HiTrackingRegionFactoryFromSTAMuonsBlock as obsolete
makortel 1714b15
Add customize function to early-delete new temporary data products
makortel 3e0925e
Fix one forgotten cff->cfi import
makortel dae1408
Add back missing MuonTrackingRegionCommon
makortel fc8e50e
Add calls to shrink_to_fit()
makortel 607ad0d
Replace repeated if's with template-based abstractions
makortel 356f681
Fix HitTripletEDProducerT for empty input
makortel 4a87e64
Fix reconstruction_fromRECO
makortel 0fd1027
Add early deletion customise after everything else
makortel 71a871a
Abstract early deletion settings to a separate file
makortel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
Configuration/StandardSequences/python/earlyDeleteSettings_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Abstract all early deletion settings here | ||
|
||
from RecoTracker.Configuration.customiseEarlyDeleteForSeeding import customiseEarlyDeleteForSeeding | ||
|
||
def customiseEarlyDeleteForRECO(process): | ||
process = customiseEarlyDeleteForSeeding(process) | ||
return process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
def _copy(old, new, skip=[]): | ||
skipSet = set(skip) | ||
for key in old.parameterNames_(): | ||
if key not in skipSet: | ||
setattr(new, key, getattr(old, key)) | ||
|
||
def _hitSetProducerToFactoryPSet(producer): | ||
_map = { | ||
"PixelTripletHLTEDProducer": "PixelTripletHLTGenerator", | ||
"PixelTripletLargeTipEDProducer": "PixelTripletLargeTipGenerator", | ||
"MultiHitFromChi2EDProducer": "MultiHitGeneratorFromChi2", | ||
} | ||
ret = cms.PSet() | ||
_copy(producer, ret) | ||
ret.ComponentName = cms.string(_map[producer._TypedParameterizable__type]); | ||
return ret |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @makortel a comment and question here
the same changes need to be applied to self.process
can't we just remove the if statement to future proof this?