ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MCExecStep.MCExecStep Class Reference
Inheritance diagram for MCExecStep.MCExecStep:
Collaboration diagram for MCExecStep.MCExecStep:

Public Member Functions

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

Public Attributes

 type
 
 job_options
 
 flags
 

Detailed Description

Provides standard default settings for the MC test execution

Definition at line 13 of file MCExecStep.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented in MCExecStep.MCGridStep, and MCExecStep.MCBuildStep.

Definition at line 18 of file MCExecStep.py.

18  def __init__(
19  self, name=None, menu=None, signatures=None,
20  global_tag=mcDefaults.global_tag, mc_campaign=mcDefaults.mc_campaign
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

MCExecStep.MCExecStep.flags

Definition at line 27 of file MCExecStep.py.

◆ job_options

MCExecStep.MCExecStep.job_options

Definition at line 24 of file MCExecStep.py.

◆ type

MCExecStep.MCExecStep.type

Definition at line 23 of file MCExecStep.py.


The documentation for this class was generated from the following file:
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18