|
| | __init__ (self, name=None, menu=None, signatures=None, global_tag=mcDefaults.global_tag, mc_campaign=mcDefaults.mc_campaign) |
Provides standard default settings for the MC test execution
Definition at line 13 of file MCExecStep.py.
◆ __init__()
| MCExecStep.MCExecStep.__init__ |
( |
| self, |
|
|
| name = None, |
|
|
| menu = None, |
|
|
| signatures = None, |
|
|
| global_tag = mcDefaults.global_tag, |
|
|
| mc_campaign = mcDefaults.mc_campaign ) |
Definition at line 18 of file MCExecStep.py.
21 ):
22 super(MCExecStep, self).__init__(name)
23
24 assert menu is not None, "Menu must be supplied to MCExecStep"
25
26 self.type = 'athena'
27 self.job_options = 'TriggerJobOpts/runHLT.py'
28
29
30 self.flags = [
31 f'Trigger.triggerMenuSetup="{menu}"',
32 f'IOVDb.GlobalTag="{global_tag}"'
33 ]
34 self.args += f'--preInclude "{mc_campaign}"'
35
36 if signatures is not None:
37 enabled_signatures_str = ','.join([f'\\\"{sig}\\\"' for sig in signatures])
38 self.flags.append(f'Trigger.enabledSignatures=[{enabled_signatures_str}]')
39
◆ flags
| list MCExecStep.MCExecStep.flags |
Initial value:= [
f'Trigger.triggerMenuSetup="{menu}"',
f'IOVDb.GlobalTag="{global_tag}"'
]
Definition at line 30 of file MCExecStep.py.
◆ job_options
| str MCExecStep.MCExecStep.job_options = 'TriggerJobOpts/runHLT.py' |
◆ type
| str MCExecStep.MCExecStep.type = 'athena' |
The documentation for this class was generated from the following file: