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
5459f7ef
Commit
5459f7ef
authored
4 years ago
by
Kenji Hamano
Browse files
Options
Downloads
Patches
Plain Diff
Run2 Run3 switch in TrigMETMonitorAlgorithm.py
parent
a0bb1b41
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigMonitoring/TrigMETMonitoring/python/TrigMETMonitorAlgorithm.py
+39
-18
39 additions, 18 deletions
...oring/TrigMETMonitoring/python/TrigMETMonitorAlgorithm.py
with
39 additions
and
18 deletions
Trigger/TrigMonitoring/TrigMETMonitoring/python/TrigMETMonitorAlgorithm.py
+
39
−
18
View file @
5459f7ef
...
@@ -50,24 +50,46 @@ def TrigMETMonConfig(inputFlags):
...
@@ -50,24 +50,46 @@ def TrigMETMonConfig(inputFlags):
# without filters, all events are processed.
# without filters, all events are processed.
TrigMETMonChain1Alg
.
TriggerChain
=
'
HLT_xe65_cell_L1XE50
'
TrigMETMonChain1Alg
.
TriggerChain
=
'
HLT_xe65_cell_L1XE50
'
### check Run2 or Run3 MT
from
TriggerJobOpts.HLTTriggerResultGetter
import
EDMDecodingVersion
from
TriggerJobOpts.TriggerFlags
import
TriggerFlags
### use the follwoing if you run on Run2 AOD
EDMDecodingVersion
()
#TrigMETMonAlg.hlt_cell_key = 'HLT_xAOD__TrigMissingETContainer_TrigEFMissingET'
#TrigMETMonAlg.hlt_mt_key = 'HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht'
#TrigMETMonAlg.hlt_tc_key = 'HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl'
#TrigMETMonAlg.hlt_tcpufit_key = 'HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PUC'
### use the follwoing if you run on older Run3 AOD
mt_chains
=
True
#TrigMETMonAlg.hlt_tcpufit_key = 'HLT_MET_tcPufit'
if
(
TriggerFlags
.
EDMDecodingVersion
<
3
)
:
#TrigMETMonAlg.hlt_trkmht_key = 'HLT_MET_mht'
mt_chains
=
False
### set chain names
### container name selection
### These are the active chains as of 01 April 2020 for testing
if
mt_chains
:
#TrigMETMonAlg.L1Chain1 = 'L1_XE10'
TrigMETMonAlg
.
hlt_tcpufit_key
=
'
HLT_MET_tcpufit
'
#TrigMETMonAlg.HLTChain1 = 'HLT_xe65_cell_L1XE50'
### use the follwoing if you run on older Run3 AOD
#TrigMETMonAlg.HLTChain2 = 'HLT_xe100_tcpufit_L1XE50'
#TrigMETMonAlg.hlt_tcpufit_key = 'HLT_MET_tcPufit'
TrigMETMonAlg
.
HLTChain2
=
'
HLT_xe100_trkmht_L1XE50
'
#TrigMETMonAlg.hlt_trkmht_key = 'HLT_MET_mht'
#TrigMETMonAlg.HLTChain2 = 'HLT_xe100_pfsum_L1XE50'
else
:
TrigMETMonAlg
.
hlt_cell_key
=
'
HLT_xAOD__TrigMissingETContainer_TrigEFMissingET
'
TrigMETMonAlg
.
hlt_mt_key
=
'
HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht
'
TrigMETMonAlg
.
hlt_tc_key
=
'
HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl
'
TrigMETMonAlg
.
hlt_tcpufit_key
=
'
HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PUC
'
### chain name selection
if
mt_chains
:
TrigMETMonAlg
.
HLTChain2
=
'
HLT_xe100_trkmht_L1XE50
'
else
:
#TrigMETMonAlg.L1Chain02 = 'L1_XE50'
#TrigMETMonAlg.L1Chain03 = 'L1_XE50'
#TrigMETMonAlg.L1Chain04 = 'L1_XE50'
#TrigMETMonAlg.L1Chain05 = 'L1_XE50'
#TrigMETMonAlg.L1Chain06 = 'L1_XE50'
#TrigMETMonAlg.L1Chain07 = 'L1_XE50'
TrigMETMonAlg
.
HLTChain1
=
'
HLT_xe70_mht_L1XE50
'
TrigMETMonAlg
.
HLTChain2
=
'
HLT_xe90_mht_L1XE50
'
#TrigMETMonAlg.HLTChain03 = 'HLT_xe110_mht_L1XE50'
#TrigMETMonAlg.HLTChain04 = 'HLT_xe90_pufit_L1XE50'
#TrigMETMonAlg.HLTChain05 = 'HLT_xe100_pufit_L1XE50'
#TrigMETMonAlg.HLTChain06 = 'HLT_xe110_pufit_L1XE50'
#TrigMETMonAlg.HLTChain07 = 'HLT_xe110_pufit_xe65_L1XE50'
#TrigMETMonAlg.HLTChain08 = 'HLT_xe110_pufit_xe70_L1XE50'
### STEP 4 ###
### STEP 4 ###
...
@@ -466,8 +488,7 @@ if __name__=='__main__':
...
@@ -466,8 +488,7 @@ if __name__=='__main__':
from
AthenaConfiguration.AllConfigFlags
import
ConfigFlags
from
AthenaConfiguration.AllConfigFlags
import
ConfigFlags
nightly
=
'
/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CommonInputs/
'
nightly
=
'
/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CommonInputs/
'
file
=
'
data16_13TeV.00311321.physics_Main.recon.AOD.r9264/AOD.11038520._000001.pool.root.1
'
file
=
'
data16_13TeV.00311321.physics_Main.recon.AOD.r9264/AOD.11038520._000001.pool.root.1
'
#ConfigFlags.Input.Files = [nightly+file]
ConfigFlags
.
Input
.
Files
=
[
nightly
+
file
]
ConfigFlags
.
Input
.
Files
=
[
'
/hep300/data/khamano/data18_athenaMT/fromElin/AOD_old.pool.root
'
]
ConfigFlags
.
Input
.
isMC
=
True
ConfigFlags
.
Input
.
isMC
=
True
ConfigFlags
.
Output
.
HISTFileName
=
'
TrigMETMonitorOutput.root
'
ConfigFlags
.
Output
.
HISTFileName
=
'
TrigMETMonitorOutput.root
'
...
...
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