ATLAS Offline Software
Functions | Variables
python.TrigValAlgsConfig Namespace Reference

Functions

def TrigEDMCheckerCfg (flags, name="TrigEDMChecker", doDumpAll=True)
 
def TrigEDMAuxCheckerCfg (flags, name="TrigEDMAuxChecker")
 
def getEDMAuxList (flags)
 

Variables

 flags
 
 Files
 
 AtlasVersion
 
 cfg
 

Function Documentation

◆ getEDMAuxList()

def python.TrigValAlgsConfig.getEDMAuxList (   flags)

Definition at line 35 of file TrigValAlgsConfig.py.

35 def getEDMAuxList(flags):
36  from TrigEDMConfig.TriggerEDM import getTriggerEDMList
37  tlist=getTriggerEDMList(flags, key=flags.Trigger.AODEDMSet)
38  objlist=[]
39  for t,kset in tlist.items():
40  for k in kset:
41  if 'Aux.' in k:
42  s = k.split('.',1)[0] + "."
43  # Types of these collections from Run 2 do not inherit from xAOD::AuxContainerBase, so can't test them here
44  if flags.Trigger.EDMVersion == 2 and "HLT_xAOD__JetContainer" in s or "xTrigDecisionAux" in s or "TrigNavigationAux" in s:
45  continue
46  objlist += [s]
47  return objlist
48 
49 

◆ TrigEDMAuxCheckerCfg()

def python.TrigValAlgsConfig.TrigEDMAuxCheckerCfg (   flags,
  name = "TrigEDMAuxChecker" 
)

Definition at line 27 of file TrigValAlgsConfig.py.

27 def TrigEDMAuxCheckerCfg(flags, name="TrigEDMAuxChecker"):
28  cfg = ComponentAccumulator()
29 
30  alg = CompFactory.TrigEDMAuxChecker(name, AuxContainerList=getEDMAuxList(flags))
31  cfg.addEventAlgo(alg)
32  return cfg
33 
34 

◆ TrigEDMCheckerCfg()

def python.TrigValAlgsConfig.TrigEDMCheckerCfg (   flags,
  name = "TrigEDMChecker",
  doDumpAll = True 
)

Definition at line 6 of file TrigValAlgsConfig.py.

6 def TrigEDMCheckerCfg(flags, name="TrigEDMChecker", doDumpAll=True):
7  from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
9  edmchecker = CompFactory.TrigEDMChecker(
10  name,
11  doDumpAll = doDumpAll,
12  TriggerDecisionTool = cfg.getPrimaryAndMerge(TrigDecisionToolCfg(flags)) )
13 
14  if doDumpAll:
15  from MuonConfig.MuonRecToolsConfig import MuonEDMPrinterToolCfg
16  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg, MuonIdHelperSvcCfg
17  cfg.merge(MuonGeoModelCfg(flags))
18  cfg.merge(MuonIdHelperSvcCfg(flags))
19  edmchecker.MuonPrinter = CompFactory.Rec.MuonPrintingTool(
20  MuonStationPrinter = cfg.getPrimaryAndMerge(MuonEDMPrinterToolCfg(flags)) )
21 
22  cfg.addEventAlgo(edmchecker)
23 
24  return cfg
25 
26 

Variable Documentation

◆ AtlasVersion

python.TrigValAlgsConfig.AtlasVersion

Definition at line 55 of file TrigValAlgsConfig.py.

◆ cfg

python.TrigValAlgsConfig.cfg

Definition at line 58 of file TrigValAlgsConfig.py.

◆ Files

python.TrigValAlgsConfig.Files

Definition at line 54 of file TrigValAlgsConfig.py.

◆ flags

python.TrigValAlgsConfig.flags

Definition at line 53 of file TrigValAlgsConfig.py.

python.TrigValAlgsConfig.TrigEDMCheckerCfg
def TrigEDMCheckerCfg(flags, name="TrigEDMChecker", doDumpAll=True)
Definition: TrigValAlgsConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonRecToolsConfig.MuonEDMPrinterToolCfg
def MuonEDMPrinterToolCfg(flags, name="MuonEDMPrinterTool", **kwargs)
Definition: MuonRecToolsConfig.py:10
python.TrigValAlgsConfig.TrigEDMAuxCheckerCfg
def TrigEDMAuxCheckerCfg(flags, name="TrigEDMAuxChecker")
Definition: TrigValAlgsConfig.py:27
python.TriggerEDM.getTriggerEDMList
def getTriggerEDMList(flags, key, runVersion=-1)
Definition: TriggerEDM.py:149
python.MuonGeometryConfig.MuonIdHelperSvcCfg
def MuonIdHelperSvcCfg(flags)
Definition: MuonGeometryConfig.py:15
python.TriggerInterface.TrigDecisionToolCfg
def TrigDecisionToolCfg(flags)
Definition: TriggerInterface.py:14
python.MuonGeometryConfig.MuonGeoModelCfg
def MuonGeoModelCfg(flags)
Definition: MuonGeometryConfig.py:28
python.TrigValAlgsConfig.getEDMAuxList
def getEDMAuxList(flags)
Definition: TrigValAlgsConfig.py:35