ATLAS Offline Software
Loading...
Searching...
No Matches
MCExecStep.MCExecStep Class Reference
Inheritance diagram for MCExecStep.MCExecStep:
Collaboration diagram for MCExecStep.MCExecStep:

Public Member Functions

 __init__ (self, name=None, menu=None, signatures=None, global_tag=mcDefaults.global_tag, mc_campaign=mcDefaults.mc_campaign)

Public Attributes

str type = 'athena'
str job_options = 'TriggerJobOpts/runHLT.py'
list flags

Detailed Description

Provides standard default settings for the MC test execution

Definition at line 13 of file MCExecStep.py.

Constructor & Destructor Documentation

◆ __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

Member Data Documentation

◆ 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'

Definition at line 27 of file MCExecStep.py.

◆ type

str MCExecStep.MCExecStep.type = 'athena'

Definition at line 26 of file MCExecStep.py.


The documentation for this class was generated from the following file: