ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigValAlgsConfig Namespace Reference

Functions

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

Variables

 flags = initConfigFlags()
 Files
 AtlasVersion
 cfg = ComponentAccumulator()

Function Documentation

◆ getEDMAuxList()

python.TrigValAlgsConfig.getEDMAuxList ( flags)

Definition at line 35 of file TrigValAlgsConfig.py.

35def 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()

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

Definition at line 27 of file TrigValAlgsConfig.py.

27def 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()

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

Definition at line 6 of file TrigValAlgsConfig.py.

6def TrigEDMCheckerCfg(flags, name="TrigEDMChecker", doDumpAll=True):
7 from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
8 cfg = ComponentAccumulator()
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 = ComponentAccumulator()

Definition at line 58 of file TrigValAlgsConfig.py.

◆ Files

python.TrigValAlgsConfig.Files

Definition at line 54 of file TrigValAlgsConfig.py.

◆ flags

python.TrigValAlgsConfig.flags = initConfigFlags()

Definition at line 53 of file TrigValAlgsConfig.py.