Skip to content
Snippets Groups Projects
Commit 7ff2b793 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'master' into 'master'

Online jet monitoring: always require >=1 jet trigger to fire to fill plots

See merge request atlas/athena!39772
parents 715f8d64 47dde0fa
No related branches found
No related tags found
No related merge requests found
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
#
'''@file MTMonitoring.py
......@@ -236,7 +236,7 @@ def basicJetMonAlgSpec(jetcoll,isOnline,athenaMT):
jetcollFolder = jetcoll
if jetcoll in JetCollRemapping.JetCollRun2ToRun3 and not athenaMT:
jetcollFolder = JetCollRemapping.JetCollRun2ToRun3[jetcoll]
Conf = JetMonAlgSpec(jetcoll+"Mon",JetContainerName = jetcoll, defaultPath = path, topLevelDir=TopLevelDir, bottomLevelDir=jetcollFolder, failureOnMissingContainer=False)
Conf = JetMonAlgSpec(jetcoll+"Mon",JetContainerName = jetcoll, defaultPath = path, TriggerChain="HLT_[1-9]?0?j[0-9]+.*", topLevelDir=TopLevelDir, bottomLevelDir=jetcollFolder, failureOnMissingContainer=False)
# Now start filling the histo spec list
Conf.appendHistos(
......@@ -270,7 +270,9 @@ def basicJetMonAlgSpec(jetcoll,isOnline,athenaMT):
SelectSpec( 'forward', '3.2<|eta|', path, FillerTools = ["pt","et","m"] ),
SelectSpec( 'lowmu', 'avgMu<30', path, isEventVariable=True, FillerTools = ["pt","et","m","phi","eta"]),
SelectSpec( 'highmu', '30<avgMu', path, isEventVariable=True, FillerTools = ["pt","et","m","phi","eta"]),
# To select on multiple variables simultaneously, simply combine the selection strings via &
# Example below to select on ET > 100 GeV and |eta| > 3.2:
# SelectSpec( 'ETeta', '100<et:GeV&|eta|<3.2', path, FillerTools = ["pt","et","m","eta"] )
EventHistoSpec('njets', (25,0,25), title='NJets;NJets;Entries' ),
EventHistoSpec('njetsPt20', (25,0,25), title='NJetsPt20;NJetsPt20;Entries' ),
EventHistoSpec('njetsPt50', (25,0,25), title='NJetsPt50;NJetsPt50;Entries' ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment