Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Davide Di Croce
athena
Commits
e9cf5b02
Commit
e9cf5b02
authored
1 year ago
by
Denis Oliveira Damazio
Committed by
Johannes Elmsheuser
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixing/adding some configuration for TopoCluster GPU HLT running
Fixing/adding some configuration for TopoCluster GPU HLT running
parent
5c9566e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Calorimeter/CaloRecGPU/python/CaloRecGPUFlags.py
+2
-0
2 additions, 0 deletions
Calorimeter/CaloRecGPU/python/CaloRecGPUFlags.py
Trigger/TrigAlgorithms/TrigCaloRec/python/TrigCaloRecConfig.py
+18
-4
18 additions, 4 deletions
...er/TrigAlgorithms/TrigCaloRec/python/TrigCaloRecConfig.py
with
20 additions
and
4 deletions
Calorimeter/CaloRecGPU/python/CaloRecGPUFlags.py
+
2
−
0
View file @
e9cf5b02
...
...
@@ -95,6 +95,8 @@ def configFlagsCaloRecGPU(flags,categoryFlags,cellsName="AllCalo",ClustersOutput
categoryFlags
.
ClustersOutputName
=
ClustersOutputName
if
(
flags
.
hasFlag
(
'
Concurrency.NumThreads
'
)):
categoryFlags
.
NumPreAllocatedDataHolders
=
flags
.
Concurrency
.
NumThreads
if
(
categoryFlags
.
NumPreAllocatedDataHolders
<
1
):
categoryFlags
.
NumPreAllocatedDataHolders
=
1
if
(
flags
.
hasFlag
(
'
Calo.TopoCluster.doTwoGaussianNoise
'
)):
categoryFlags
.
TwoGaussianNoise
=
flags
.
Calo
.
TopoCluster
.
doTwoGaussianNoise
if
(
flags
.
hasCategory
(
'
flags.Calo.TopoCluster
'
)):
...
...
This diff is collapsed.
Click to expand it.
Trigger/TrigAlgorithms/TrigCaloRec/python/TrigCaloRecConfig.py
+
18
−
4
View file @
e9cf5b02
...
...
@@ -219,6 +219,8 @@ def hltTopoClusterMakerCfg(flags, name, clustersKey="HLT_TopoCaloClustersFS",
topoMaker
=
acc
.
popToolsAndMerge
(
CaloTopoClusterToolCfg
(
flags
,
cellsname
=
cells
))
topoMaker
.
RestrictPSNeighbors
=
False
if
(
flags
.
hasFlag
(
'
CaloRecGPU.UseOriginalCriteria
'
)):
topoMaker
.
UseGPUCriteria
=
flags
.
CaloRecGPU
.
UseOriginalCriteria
listClusterCorrectionTools
=
[]
if
doLC
:
from
CaloTools.CaloNoiseCondAlgConfig
import
CaloNoiseCondAlgCfg
...
...
@@ -339,6 +341,15 @@ TrigEgammaKeys = getTrigEgammaKeys()
TrigEgammaKeys_LRT
=
getTrigEgammaKeys
(
name
=
'
_LRT
'
)
TrigEgammaKeys_HI
=
getTrigEgammaKeys
(
ion
=
True
)
def
prepareFlagsGPUHLT
(
flags
):
from
CaloRecGPU.CaloRecGPUFlags
import
createFlagsCaloRecGPU
,
configFlagsCaloRecGPU
flags
.
addFlagsCategory
(
'
CaloRecGPU
'
,
createFlagsCaloRecGPU
,
prefix
=
True
)
flags
.
LAr
.
doHVCorr
=
True
configFlagsCaloRecGPU
(
flags
,
flags
.
CaloRecGPU
,
cellsName
=
"
CaloCellsFS
"
,
ClustersOutputName
=
"
HLT_TopoCaloClustersFS
"
)
if
(
flags
.
CaloRecGPU
.
NumPreAllocatedDataHolders
<
1
):
flags
.
CaloRecGPU
.
NumPreAllocatedDataHolders
=
1
return
@AccumulatorCache
def
hltCaloTopoClusteringCfg
(
flags
,
namePrefix
=
None
,
nameSuffix
=
None
,
CellsName
=
None
,
monitorCells
=
False
,
roisKey
=
"
UNSPECIFIED
"
,
clustersKey
=
None
,
doLCFS
=
False
,
doTau
=
False
):
...
...
@@ -354,10 +365,13 @@ def hltCaloTopoClusteringCfg(
acc
.
merge
(
hltCaloCellMakerCfg
(
flags
,
namePrefix
+
"
HLTCaloCellMaker
"
+
nameSuffix
,
roisKey
=
roisKey
,
CellsName
=
CellsName
,
monitorCells
=
monitorCells
,
doTau
=
doTau
)
)
acc
.
merge
(
hltTopoClusterMakerCfg
(
flags
,
namePrefix
+
"
HLTCaloClusterMaker
"
+
nameSuffix
,
cellsKey
=
CellsName
,
clustersKey
=
clusters
,
doLC
=
doTau
)
)
if
flags
.
hasFlag
(
'
CaloRecGPU.CellsName
'
)
and
(
nameSuffix
==
"
FS
"
)
and
(
not
doTau
):
from
CaloRecGPU.CaloRecGPUConfig
import
HybridClusterProcessorCfg
hyb
=
HybridClusterProcessorCfg
(
flags
,
namePrefix
+
"
HLTCaloClusterMaker
"
+
nameSuffix
)
acc
.
merge
(
hyb
)
else
:
calt
=
hltTopoClusterMakerCfg
(
flags
,
namePrefix
+
"
HLTCaloClusterMaker
"
+
nameSuffix
,
cellsKey
=
CellsName
,
clustersKey
=
clusters
,
doLC
=
doTau
)
acc
.
merge
(
calt
)
if
doLCFS
:
acc
.
merge
(
hltCaloTopoClusterCalibratorCfg
(
flags
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment