ATLAS Offline Software
Functions | Variables
RunTriggerMatchingConfig Namespace Reference

Functions

def RunTriggerMatchingCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 MaxEvents
 
 cfg = MainServicesCfg(flags)
 

Function Documentation

◆ RunTriggerMatchingCfg()

def RunTriggerMatchingConfig.RunTriggerMatchingCfg (   flags)
Method to configure the ReadTriggerDecision algorithm

Definition at line 10 of file RunTriggerMatchingConfig.py.

10 def RunTriggerMatchingCfg(flags):
11  '''Method to configure the ReadTriggerDecision algorithm'''
12  acc = ComponentAccumulator()
13 
14  # Trigger decision tool configuration
15  # https://twiki.cern.ch/twiki/bin/viewauth/Atlas/TrigDecisionTool
16  from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
17  tdt = acc.getPrimaryAndMerge(TrigDecisionToolCfg(flags))
18 
19  # Trigger matching configuration
20  # https://twiki.cern.ch/twiki/bin/view/Atlas/R22TriggerAnalysis
21  r3MatchingTool = CompFactory.Trig.R3MatchingTool("R3MatchingTool")
22  r3MatchingTool.TrigDecisionTool = tdt
23 
24  # Configure the algorithm.... note that the tool from above is passed
25  # add the algorithm to the accumulator
26  acc.addEventAlgo(CompFactory.RunTriggerMatching(name = "RunTriggerMatching",
27  TriggerDecisionTool = tdt,
28  R3MatchingTool = r3MatchingTool,
29  TriggerString = "HLT_mu24.*",
30  ContainerName = "Muons"))
31  return acc
32 
33 # Lines to allow the script to be run stand-alone via python

Variable Documentation

◆ cfg

RunTriggerMatchingConfig.cfg = MainServicesCfg(flags)

Definition at line 53 of file RunTriggerMatchingConfig.py.

◆ Files

RunTriggerMatchingConfig.Files

Definition at line 45 of file RunTriggerMatchingConfig.py.

◆ flags

RunTriggerMatchingConfig.flags = initConfigFlags()

Definition at line 40 of file RunTriggerMatchingConfig.py.

◆ MaxEvents

RunTriggerMatchingConfig.MaxEvents

Definition at line 48 of file RunTriggerMatchingConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TriggerInterface.TrigDecisionToolCfg
def TrigDecisionToolCfg(flags)
Definition: TriggerInterface.py:14
RunTriggerMatchingConfig.RunTriggerMatchingCfg
def RunTriggerMatchingCfg(flags)
Definition: RunTriggerMatchingConfig.py:10