Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
161
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
Commits
718b0a6b
Commit
718b0a6b
authored
10 months ago
by
Thomas Strebler
Browse files
Options
Downloads
Patches
Plain Diff
Clean up of TrackToCalo legacy config
parent
decc1e97
Loading
Loading
Loading
Pipeline
#6946268
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Reconstruction/RecoTools/TrackToCalo/python/CaloExtensionBuilderAlgConfig.py
+0
-51
0 additions, 51 deletions
...Tools/TrackToCalo/python/CaloExtensionBuilderAlgConfig.py
with
0 additions
and
51 deletions
Reconstruction/RecoTools/TrackToCalo/python/CaloExtensionBuilderAlgConfig.py
deleted
100644 → 0
+
0
−
51
View file @
decc1e97
# 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
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