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
!69181
Clean up of TrackToCalo legacy config
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Clean up of TrackToCalo legacy config
tstreble-24.0-patch-f6a8
into
24.0
Overview
3
Commits
1
Pipelines
1
Changes
1
Merged
Thomas Strebler
requested to merge
tstreble-24.0-patch-f6a8
into
24.0
1 year ago
Overview
3
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
718b0a6b
Show latest version
1 file
+
0
−
51
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
718b0a6b
Clean up of TrackToCalo legacy config
· 718b0a6b
Thomas Strebler
authored
1 year ago
Reconstruction/RecoTools/TrackToCalo/python/CaloExtensionBuilderAlgConfig.py deleted
100644 → 0
+
0
−
51
Options
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
def
CaloExtensionBuilder
(
useLRT
):
import
traceback
from
AthenaCommon.Logging
import
logging
mlog
=
logging
.
getLogger
(
'
CaloExtensionBuilder
'
)
try
:
from
TrkExTools.AtlasExtrapolator
import
AtlasExtrapolator
from
TrackToCalo.TrackToCaloConf
import
Trk__ParticleCaloExtensionTool
except
Exception
:
mlog
.
error
(
"
could not import
"
"
TrackToCaloConf.Trk__ParticleCaloExtensionTool
"
)
mlog
.
error
(
"
could not import TrkExTools.AtlasExtrapolator
"
)
mlog
.
error
(
traceback
.
format_exc
())
try
:
from
TrackToCalo.TrackToCaloConf
import
Trk__CaloExtensionBuilderAlg
as
CaloExtensionBuilderAlg
except
Exception
:
mlog
.
error
(
"
could not import TrackToCaloConf.Trk__CaloExtensionBuilderAlg
"
)
mlog
.
error
(
traceback
.
format_exc
())
try
:
from
AthenaCommon.AppMgr
import
ToolSvc
except
Exception
:
mlog
.
error
(
"
could not import ToolSvc
"
)
mlog
.
error
(
traceback
.
format_exc
())
try
:
from
AthenaCommon.AlgSequence
import
AlgSequence
except
Exception
:
mlog
.
error
(
"
could not import AlgSequence
"
)
mlog
.
error
(
traceback
.
format_exc
())
topSequence
=
AlgSequence
()
theAtlasExtrapolator
=
AtlasExtrapolator
(
name
=
"
CaloExtensionBuilderAtlasExtrapolator
"
)
pcExtensionTool
=
Trk__ParticleCaloExtensionTool
(
Extrapolator
=
theAtlasExtrapolator
)
ToolSvc
+=
pcExtensionTool
if
(
True
is
useLRT
):
algName
=
"
CaloExtensionBuilderAlg_LRT
"
else
:
algName
=
"
CaloExtensionBuilderAlg
"
CaloExtensionBuilderTool
=
CaloExtensionBuilderAlg
(
algName
,
LastCaloExtentionTool
=
pcExtensionTool
)
if
True
is
useLRT
:
CaloExtensionBuilderTool
.
TrkPartContainerName
=
"
InDetLargeD0TrackParticles
"
CaloExtensionBuilderTool
.
ParticleCache
=
"
ParticleCaloExtension_LRT
"
ToolSvc
+=
CaloExtensionBuilderTool
.
LastCaloExtentionTool
topSequence
+=
CaloExtensionBuilderTool
return
True
Loading