Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!65793
Rm seemingly un-needed HIP300 flag
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rm seemingly un-needed HIP300 flag
ATLAS-EGamma/athena:rm_HIP300
into
23.0
Overview
3
Commits
1
Pipelines
1
Changes
2
Merged
Christos Anastopoulos
requested to merge
ATLAS-EGamma/athena:rm_HIP300
into
23.0
1 year ago
Overview
3
Commits
1
Pipelines
1
Changes
2
Expand
Rm seemingly un-needed HIP300 flag
ping
@stapiaar
@tstreble
1
0
Merge request reports
Compare
23.0
23.0 (base)
and
latest version
latest version
96cb0319
1 commit,
1 year ago
2 files
+
5
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Tracking/TrkConfig/python/TrackingPassFlags.py
+
5
−
11
Options
@@ -585,7 +585,6 @@ def createUPCTrackingPassFlags():
def
createHIPTrackingPassFlags
():
icf
=
createMinBiasTrackingPassFlags
()
icf
.
extension
=
"
HIP
"
icf
.
minPT
=
lambda
pcf
:
(
0.3
if
pcf
.
Tracking
.
doHIP300
else
0.1
)
*
Units
.
GeV
return
icf
@@ -971,11 +970,10 @@ def createPixelTrackingPassFlags():
return
0.5
*
Units
.
GeV
if
pcf
.
Tracking
.
PrimaryPassConfig
is
PrimaryPassConfig
.
UPC
:
return
0.05
*
Units
.
GeV
if
pcf
.
Tracking
.
PrimaryPassConfig
is
PrimaryPassConfig
.
HIP
:
return
0.05
*
Units
.
GeV
if
pcf
.
Tracking
.
doMinBias
:
if
pcf
.
Tracking
.
doHIP300
:
return
0.3
*
Units
.
GeV
else
:
return
0.05
*
Units
.
GeV
return
0.05
*
Units
.
GeV
return
0.1
*
Units
.
GeV
icf
.
minPT
=
_minPt
@@ -1052,21 +1050,17 @@ def createSCTTrackingPassFlags():
icf
.
usePixel
=
False
icf
.
useTRT
=
False
def
_pick
(
default
,
cosmics
,
minbias
,
hion
):
def
_pick
(
default
,
cosmics
,
minbias
):
def
_internal
(
pcf
):
if
pcf
.
Beam
.
Type
is
BeamType
.
Cosmics
:
return
cosmics
if
pcf
.
Tracking
.
doMinBias
:
if
pcf
.
Tracking
.
doHIP300
:
return
hion
else
:
return
minbias
return
minbias
return
default
return
_internal
icf
.
minPT
=
_pick
(
default
=
0.1
*
Units
.
GeV
,
minbias
=
0.1
*
Units
.
GeV
,
hion
=
0.3
*
Units
.
GeV
,
cosmics
=
0.5
*
Units
.
GeV
)
icf
.
maxPrimaryImpact
=
lambda
pcf
:
1000.
*
Units
.
mm
if
pcf
.
Beam
.
Type
is
BeamType
.
Cosmics
\
else
maxPrimaryImpact_ranges
(
pcf
)
Loading