|
ATLAS Offline Software
|
◆ AddjFexRoIsToSlimmingHelper()
def python.TriggerMatchingCommonConfig.AddjFexRoIsToSlimmingHelper |
( |
** |
kwargs | ) |
|
Definition at line 80 of file TriggerMatchingCommonConfig.py.
81 slimmingHelper = kwargs[
'SlimmingHelper']
82 slimmingHelper.AppendToDictionary.update(
84 "L1_jFexSRJetRoI":
"xAOD::jFexSRJetRoIContainer",
85 "L1_jFexSRJetRoIAux":
"xAOD::jFexSRJetRoIAuxContainer"
88 slimmingHelper.AllVariables += [
"L1_jFexSRJetRoI"]
◆ AddLegacyL1JetRoIsToSlimmingHelper()
def python.TriggerMatchingCommonConfig.AddLegacyL1JetRoIsToSlimmingHelper |
( |
** |
kwargs | ) |
|
Definition at line 70 of file TriggerMatchingCommonConfig.py.
71 slimmingHelper = kwargs[
'SlimmingHelper']
72 slimmingHelper.AppendToDictionary.update(
74 "LVL1JetRoIs":
"xAOD::JetRoIContainer",
75 "LVL1JetRoIsAux":
"xAOD::JetRoIAuxContainer"
78 slimmingHelper.AllVariables += [
"LVL1JetRoIs"]
◆ AddRun2TriggerMatchingToSlimmingHelper()
def python.TriggerMatchingCommonConfig.AddRun2TriggerMatchingToSlimmingHelper |
( |
** |
kwargs | ) |
|
Adds the trigger matching info to the slimming helper
Definition at line 49 of file TriggerMatchingCommonConfig.py.
50 """Adds the trigger matching info to the slimming helper"""
52 slimmingHelper = kwargs[
'SlimmingHelper']
53 triggerList = kwargs[
'TriggerList']
54 containerPrefix = kwargs[
'OutputContainerPrefix']
58 for chain
in triggerList
61 slimmingHelper.AllVariables += outputContainers
62 for cont
in outputContainers:
63 slimmingHelper.AppendToDictionary.update(
65 cont:
"xAOD::TrigCompositeContainer",
66 cont +
"Aux":
"AOD::AuxContainerBase!",
◆ getDataYear()
def python.TriggerMatchingCommonConfig.getDataYear |
( |
|
flags | ) |
|
◆ read_trig_list_file()
def python.TriggerMatchingCommonConfig.read_trig_list_file |
( |
|
fname | ) |
|
Read a text file containing a list of triggers
Returns the list of triggers held in the file
Definition at line 16 of file TriggerMatchingCommonConfig.py.
17 """Read a text file containing a list of triggers
19 Returns the list of triggers held in the file
25 if line ==
"" or line.startswith(
"#"):
◆ TriggerMatchingCommonRun2Cfg()
def python.TriggerMatchingCommonConfig.TriggerMatchingCommonRun2Cfg |
( |
|
flags, |
|
|
|
name, |
|
|
** |
kwargs |
|
) |
| |
Configure the common trigger matching for run 2 DAODs using the run 2 analysis formalism (matching happens during derivation)
Definition at line 91 of file TriggerMatchingCommonConfig.py.
92 """Configure the common trigger matching for run 2 DAODs using the run 2 analysis formalism (matching happens during derivation)"""
97 from DerivationFrameworkTrigger.TriggerMatchingToolConfig
import TriggerMatchingToolCfg
99 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
100 outputContainerPrefix = kwargs[
'OutputContainerPrefix']
101 acc.addEventAlgo(CommonAugmentation(f
"{outputContainerPrefix}TriggerMatchingKernel",
102 AugmentationTools=[PhysCommonTriggerMatchingTool]))
◆ TriggerMatchingCommonRun2ToRun3Cfg()
def python.TriggerMatchingCommonConfig.TriggerMatchingCommonRun2ToRun3Cfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Covert run 2 trigger navigation data these data into the run 3 formalism (matching happens from DAOD)
Definition at line 106 of file TriggerMatchingCommonConfig.py.
107 """Covert run 2 trigger navigation data these data into the run 3 formalism (matching happens from DAOD)"""
111 if not flags.Trigger.doEDMVersionConversion:
114 from AthenaCommon.Logging
import logging
115 msg = logging.getLogger(
'TriggerMatchingCommonRun2ToRun3Cfg')
116 msg.info(
'doEDMVersionConversion is True, now scheduling conversion of Run 2 trigger navigation to Run 3')
118 from TrigNavTools.NavConverterConfig
import NavConverterCfg
121 triggerList = kwargs[
'TriggerList']
123 from TrigNavSlimmingMT.TrigNavSlimmingMTConfig
import TrigNavSlimmingMTDerivationCfg
◆ TriggerMatchingCommonRun3Cfg()
def python.TriggerMatchingCommonConfig.TriggerMatchingCommonRun3Cfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Configure the common trigger matching for run 3 DAODs using the run 3 formalism (matching happens from DAOD)
Definition at line 129 of file TriggerMatchingCommonConfig.py.
130 """Configure the common trigger matching for run 3 DAODs using the run 3 formalism (matching happens from DAOD)"""
132 if flags.Trigger.EDMVersion != 3:
133 raise ValueError(
'This configuration can only be used for Run 3 trigger navigation')
135 triggerList = kwargs[
'TriggerList']
140 from TrigNavSlimmingMT.TrigNavSlimmingMTConfig
import TrigNavSlimmingMTDerivationCfg
std::string replace(std::string s, const std::string &s2, const std::string &s3)
def TriggerMatchingCommonRun2Cfg(flags, name, **kwargs)
static std::string FindCalibFile(const std::string &logical_file_name)
def TrigNavSlimmingMTDerivationCfg(flags, chainsFilter=[])
def AddjFexRoIsToSlimmingHelper(**kwargs)
def AddRun2TriggerMatchingToSlimmingHelper(**kwargs)
def TriggerMatchingCommonRun2ToRun3Cfg(flags, **kwargs)
def read_trig_list_file(fname)
def AddLegacyL1JetRoIsToSlimmingHelper(**kwargs)
def TriggerMatchingCommonRun3Cfg(flags, **kwargs)
def NavConverterCfg(flags, chainsList=[], runTheChecker=False)