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

Public Member Functions

def preExecute (self, input=set(), output=set())
 

Private Attributes

 _cmd
 

Detailed Description

Definition at line 15 of file trigCostExe.py.

Member Function Documentation

◆ preExecute()

def python.trigCostExe.trigCostExecutor.preExecute (   self,
  input = set(),
  output = set() 
)

Definition at line 17 of file trigCostExe.py.

17  def preExecute(self, input = set(), output = set()):
18 
19  # Build up the command line: RunTrigCostAnalysis.py Input.Files=inputDRAW_TRIGCOSTFile --outputHist=outputNTUP_TRIGCOSTFile
20  # All arguments have to be provided for step to be called
21  # inputDRAW_TRIGCOSTFile can be multiple files?
22  self._cmd = [self._exe]
23  self._cmd.extend(['Input.Files=' + str(self.conf.dataDictionary['DRAW_TRIGCOST'].value) ])
24  self._cmd.extend(['--outputHist='+self.conf.argdict['outputNTUP_TRIGCOSTFile'].value[0]])
25 
26  if 'costopts' in self.conf.argdict:
27  args = self.conf.argdict['costopts'].value['all']
28  if isinstance(args, list):
29  self._cmd.extend([ str(v) for v in args])
30  else:
31  self._cmd.append(str(args))
32 
33  if 'DBsmkey' in self.conf.argdict and 'DBserver' in self.conf.argdict:
34  self._cmd.append('--smk=' + self.conf.argdict['DBsmkey'].value)
35  self._cmd.append('--dbAlias=' + self.conf.argdict['DBserver'].value)
36 
37 
38  super(trigCostExecutor, self).preExecute()

Member Data Documentation

◆ _cmd

python.trigCostExe.trigCostExecutor._cmd
private

Definition at line 22 of file trigCostExe.py.


The documentation for this class was generated from the following file:
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
ActsTrk::detail::MakeDerivedVariant::extend
constexpr std::variant< Args..., T > extend(const std::variant< Args... > &, const T &)
Definition: MakeDerivedVariant.h:17
str
Definition: BTagTrackIpAccessor.cxx:11