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
Peter Sherwood
athena
Commits
2c91d536
Commit
2c91d536
authored
7 years ago
by
Stewart Martin-Haugh
Browse files
Options
Downloads
Patches
Plain Diff
New test (L1 simulation)
parent
2ba029dc
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/TrigUpgradeTest/share/testL1MC.py
+73
-0
73 additions, 0 deletions
Trigger/TrigValidation/TrigUpgradeTest/share/testL1MC.py
with
73 additions
and
0 deletions
Trigger/TrigValidation/TrigUpgradeTest/share/testL1MC.py
0 → 100644
+
73
−
0
View file @
2c91d536
#Adapted from L1 test in TriggerTest
from
RecExConfig.RecFlags
import
rec
from
AthenaCommon.AthenaCommonFlags
import
athenaCommonFlags
as
acf
if
not
acf
.
EvtMax
.
is_locked
():
acf
.
EvtMax
=
10
if
not
(
'
OutputLevel
'
in
dir
()):
rec
.
OutputLevel
=
INFO
#scan for RTT files (only if dsName and fileRange set)
include
(
"
TriggerTest/TrigScanFiles.py
"
)
###############################
doTrigger
=
True
TriggerModernConfig
=
True
from
AthenaCommon.AlgScheduler
import
AlgScheduler
AlgScheduler
.
OutputLevel
(
INFO
)
AlgScheduler
.
CheckDependencies
(
True
)
AlgScheduler
.
ShowControlFlow
(
True
)
AlgScheduler
.
ShowDataDependencies
(
True
)
rec
.
doWriteAOD
=
False
rec
.
doWriteESD
=
False
rec
.
doWriteTAG
=
False
rec
.
doAOD
=
False
rec
.
doESD
.
set_Value_and_Lock
(
False
)
doTAG
=
False
rec
.
doCBNT
=
False
#rec.doTruth=False
rec
.
doTruth
.
set_Value_and_Lock
(
False
)
#-----------------------------------------------------------
include
(
"
RecExCond/RecExCommon_flags.py
"
)
#-----------------------------------------------------------
#------------ This is for ATN/RTT tests only ---------
#TriggerFlags.triggerMenuSetup = 'default'
TriggerFlags
.
triggerMenuSetup
=
'
Physics_pp_v7
'
#------------ run only LVL1 --------------------------
TriggerFlags
.
doHLT
=
False
#TriggerFlags.doL1Topo=True
def
L1Only
():
TriggerFlags
.
Slices_all_setOff
()
try
:
from
TriggerMenu
import
useNewTriggerMenu
useNewTM
=
useNewTriggerMenu
()
log
.
info
(
"
Using new TriggerMenu: %r
"
%
useNewTM
)
except
:
useNewTM
=
False
log
.
info
(
"
Using old TriggerMenuPython since TriggerMenu.useNewTriggerMenu can
'
t be imported
"
)
if
useNewTM
:
from
TriggerMenu.menu.GenerateMenu
import
GenerateMenu
else
:
from
TriggerMenuPython.GenerateMenu
import
GenerateMenu
GenerateMenu
.
overwriteSignaturesWith
(
L1Only
)
#-----------------------------------------------------------
include
(
"
RecExCommon/RecExCommon_topOptions.py
"
)
#-----------------------------------------------------------
#------------------------------------------------------------
include
(
"
TriggerTest/TriggerTestCommon.py
"
)
#------------------------------------------------------------
DetFlags
.
makeRIO
.
Calo_setOff
()
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