-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[NGT] Extension of CA Pixel Tracking to Phase 2 Outer Tracker barrel #48921
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
Open
Parsifal-2045
wants to merge
44
commits into
cms-sw:master
Choose a base branch
from
cms-ngt-hlt:ngt_phase2CAExtension
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,414
−576
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e5b0695
Implement Phase 2 PixelTracks CA Extension
rovere 819661c
Cache PinPSinOTBarrel. Use vector and unordered_map instead of set.
rovere 744dd0f
Move geometry-related logic in BeginRun.
rovere 892ff52
Update logic in PixelTrackProducerFromSoAAlpaka to reuse the HitModul…
JanGerritSchulz 34f27d8
Fix a few CA bugs, add procModifier to enable the extension
JanGerritSchulz c3f31df
Reduce code duplication and improve readability in SoA merging
Parsifal-2045 bc3d441
Add new vector cuts for doublet building in CA
JanGerritSchulz 38f1b3c
Add option in PixelTrackProducerFromSoAAlpaka to exclude quadruplets …
JanGerritSchulz c2ae844
make chi2 cut on CA Tracks dependent on the number of ReCHits
JanGerritSchulz dad6f54
change default for Phase2 CA extension to requiring quadruplets to ha…
JanGerritSchulz ce26c87
Apply improved CA cuts for regular and extend configurations
JanGerritSchulz f933e92
Change effect of useCAExtension flag in PixelTrack converter to inclu…
JanGerritSchulz 01362b7
Unify CA cuts for min/max inner/outer r/z based on the type of layer …
JanGerritSchulz 8db4311
Remove OT recHits conversion from sequences without CA extension
Parsifal-2045 bf16032
Change meaning of ngtScouting modifier in combination with trackingLST
mmusich 64bd1f3
Fix isOuterLadder of CA PixelDoubletAlgo for Phase-2
JanGerritSchulz 21f3770
Implement layer-pair dependent ptCuts
Parsifal-2045 5968055
Update CA parameters to tighten cuts
JanGerritSchulz 77e68ba
Restructure HLT_75e33 Phase2 PixelTracking configuration
JanGerritSchulz 749b698
Make Patatrack Pixel Tracking the default for Phase2
JanGerritSchulz 0947217
Simplify isPh2Pixel check
Parsifal-2045 15d412b
allow SingleMuPt15Eta0p_0p4 configuration fragment for NGT scouting w…
mmusich 1622c70
Add CA Extension workflows to ph2_hlt short matrix and IB matrix
Parsifal-2045 e4d4c57
Add customization of HLT Run3 for new CA cuts introduced in CA exten…
JanGerritSchulz d676f2d
Fix size of default ptCut vector in CA for Phase1
JanGerritSchulz bd22c0e
Adjust customization functions for Alpaka Pixel Tracking
JanGerritSchulz f36db3e
clean-up of missing newlines
mmusich 4c7c775
restructure HLTPhase2PixelTracksAndVerticesSequence for vertex trimmi…
mmusich e1b5d80
Improve PixelTrack selection settings for non-extended CA in Phase-2
JanGerritSchulz d07b596
Remove printouts and cleanup PixelTrack converter from SoA
JanGerritSchulz adccd60
Rename maxChi2Quadruplets in Pixel Tracking to maxChi2TripletsOrQuadr…
JanGerritSchulz 7fff616
Update with code-format
JanGerritSchulz 85a5d89
Add column types to SoA descriptor
Parsifal-2045 aaa76b2
Fix check-by-index for scalar in recHits SoA
Parsifal-2045 0f747e0
Remove unecessary loop and alpaka::memcpy
Parsifal-2045 19c768c
Change back max pT for multiple scattering in BrokenLinFit
JanGerritSchulz 24768d3
Set max number of modules in ClusteringConstants to the actual number…
JanGerritSchulz 960e77c
Improve CA and SimplePixelTopology
JanGerritSchulz ea576e0
Introduce phase2LegacyPixelTracks procModifier to enable the usage of…
JanGerritSchulz cfd0594
Remove isBarrel from hltPhase2PixelTracksSoA config
JanGerritSchulz 9b88c98
Update SoA view accessors in CA OT RecHit converter chain
JanGerritSchulz 8528c8e
Fix filling of ptCut vector for Pixel Triplets customization
JanGerritSchulz c303b74
Simplify usage of +1 in merging hitModuleStart SoAs
Parsifal-2045 180944b
Document access to columns' types via the SoA descriptor
Parsifal-2045 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 hidden or 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifier is for running ngt scouting menu validation | ||
|
||
# This modifier is for running ngt scouting menu | ||
ngtScouting = cms.Modifier() |
4 changes: 4 additions & 0 deletions
4
Configuration/ProcessModifiers/python/phase2CAExtension_cff.py
This file contains hidden or 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,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifiers enables the extension of the Pixel CA algorithm to the first 3 layers of the Outer Tracker | ||
phase2CAExtension = cms.Modifier() |
4 changes: 4 additions & 0 deletions
4
Configuration/ProcessModifiers/python/phase2LegacyPixelTracks_cff.py
This file contains hidden or 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,4 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# This modifiers reverts the Pixel Tracking in the HLT Phase-2 to the Legacy algorithm from Run-2 | ||
phase2LegacyPixelTracks = cms.Modifier() |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | ||||
---|---|---|---|---|---|---|
@@ -1,6 +1,8 @@ | ||||||
#ifndef DataFormats_TrackSoA_interface_alpaka_TrackUtilities_h | ||||||
#define DataFormats_TrackSoA_interface_alpaka_TrackUtilities_h | ||||||
|
||||||
//#define NTUPLE_FIT_DEBUG | ||||||
|
||||||
#include <algorithm> | ||||||
#include <cmath> | ||||||
#include <cstdint> | ||||||
|
@@ -43,7 +45,7 @@ namespace pixelTrack { | |||||
(std::abs(reco::zip(tracks, it)) < region.maxZip); | ||||||
} | ||||||
|
||||||
ALPAKA_FN_ACC ALPAKA_FN_INLINE bool strictCut(const TrackSoAConstView &tracks, int it) const { | ||||||
ALPAKA_FN_ACC ALPAKA_FN_INLINE bool strictCut(const TrackSoAConstView &tracks, int nHits, int it) const { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
auto roughLog = [](float x) { | ||||||
// max diff [0.5,12] at 1.25 0.16143 | ||||||
// average diff 0.0662998 | ||||||
|
@@ -83,6 +85,8 @@ namespace pixelTrack { | |||||
using TrackSoAConstView = reco::TrackSoAConstView; | ||||||
|
||||||
float maxChi2; | ||||||
float maxChi2TripletsOrQuadruplets; | ||||||
float maxChi2Quintuplets; | ||||||
float minPt; | ||||||
float maxTip; | ||||||
float maxZip; | ||||||
|
@@ -91,7 +95,13 @@ namespace pixelTrack { | |||||
return (std::abs(reco::tip(tracks, it)) < maxTip) and (tracks.pt(it) > minPt) and | ||||||
(std::abs(reco::zip(tracks, it)) < maxZip); | ||||||
} | ||||||
ALPAKA_FN_ACC ALPAKA_FN_INLINE bool strictCut(const TrackSoAConstView &tracks, int it) const { | ||||||
ALPAKA_FN_ACC ALPAKA_FN_INLINE bool strictCut(const TrackSoAConstView &tracks, int nHits, int it) const { | ||||||
if (nHits <= 4) { | ||||||
return tracks.chi2(it) >= maxChi2TripletsOrQuadruplets; | ||||||
} | ||||||
if (nHits == 5) { | ||||||
return tracks.chi2(it) >= maxChi2Quintuplets; | ||||||
} | ||||||
return tracks.chi2(it) >= maxChi2; | ||||||
} | ||||||
}; | ||||||
|
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.
Can you add to the DataFormats/SoATemplate/README.md a description of what this method does and how it should be used ?
@leobeltra does this conflict or overlap with any of the features under development ?
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.
No, this change is independent of any ongoing development.