Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue 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
Soumya Mohapatra
athena
Commits
82f7b8c8
Commit
82f7b8c8
authored
3 years ago
by
Tim Martin
Browse files
Options
Downloads
Patches
Plain Diff
Proper setup of TDT via python
parent
ac3e132c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigValidation/TrigAnalysisTest/share/testAthenaTrigAOD_TrigDecTool.py
+9
-10
9 additions, 10 deletions
...n/TrigAnalysisTest/share/testAthenaTrigAOD_TrigDecTool.py
with
9 additions
and
10 deletions
Trigger/TrigValidation/TrigAnalysisTest/share/testAthenaTrigAOD_TrigDecTool.py
+
9
−
10
View file @
82f7b8c8
...
...
@@ -87,20 +87,19 @@ TrigDecChecker = TrigDecisionChecker("TrigDecChecker")
TrigDecChecker
.
WriteEventDecision
=
False
TrigDecChecker
.
MonitoringBlock
=
100
TrigDecChecker
.
MonitoredChains
=
[]
#TrigDecChecker.OutputLevel=DEBUG
#from TrigDecisionTool.TrigDecisionToolConf import Trig__TrigDecisionTool
#tdt = Trig__TrigDecisionTool("TrigDecisionTool")
#ToolSvc += tdt
from
AthenaCommon.Configurable
import
Configurable
Configurable
.
configurableRun3Behavior
+=
1
from
TrigDecisionTool.TrigDecisionToolConfig
import
getTrigDecisionTool
tdtAcc
=
getTrigDecisionTool
(
ConfigFlags
)
Configurable
.
configurableRun3Behavior
-=
1
#from AthenaCommon.GlobalFlags import GlobalFlags
#GlobalFlags.DetGeo.set_atlas()
theTDT
=
tdtAcc
.
getPrimary
()
from
AthenaConfiguration.ComponentAccumulator
import
conf2toConfigurable
,
appendCAtoAthena
from
TrigDecisionTool.TrigDecisionToolConf
import
Trig__TrigDecisionTool
ToolSvc
+=
Trig__TrigDecisionTool
(
"
TrigDecisionTool
"
)
TrigDecChecker
.
TrigDecisionTool
=
conf2toConfigurable
(
theTDT
)
from
TrigEDMConfig.TriggerEDM
import
EDMLibraries
ToolSvc
.
TrigDecisionTool
.
Navigation
.
Dlls
=
EDMLibraries
appendCAtoAthena
(
tdtAcc
)
from
AthenaCommon.AlgSequence
import
AlgSequence
topSequence
=
AlgSequence
()
...
...
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