ATLAS Offline Software
Functions | Variables
RAWSkim_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 
def addMyArgs (parser)
 

Variables

list ListOfDefaultPositionalKeys = ['--amiConfig', '--amiMetadataTag', '--checkEventCount', '--env', '--execOnly', '--filterFile', '--ignoreErrors', '--inputBSFile', '--noimf', '--notcmalloc', '--outputBS_SKIMFile', '--reportName', '--showGraph', '--showPath', '--showSteps', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']
 

Function Documentation

◆ addMyArgs()

def RAWSkim_tf.addMyArgs (   parser)

Definition at line 48 of file RAWSkim_tf.py.

48 def addMyArgs(parser):
49  # Use arggroup to get these arguments in their own sub-section (of --help)
50  parser.defineArgGroup('SkimRAW', 'Skim RAW Options')
51  parser.add_argument('--inputBSFile', nargs='+',
52  type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='input', type='bs'),
53  help='Input bytestream file(s)', group='SkimRAW', metavar='FILE')
54  parser.add_argument('--outputBS_SKIMFile', '--outputBSFile',
55  type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='output', type='bs'),
56  help='Output skimmed bytestream file', group='SkimRAW', metavar='SkimmedFILE')
57  parser.add_argument('--filterFile',
58  type=trfArgClasses.argFactory(trfArgClasses.argString),
59  help='Filter file for skimming bytestream', group='SkimRAW')
60 
61 

◆ getTransform()

def RAWSkim_tf.getTransform ( )

Definition at line 38 of file RAWSkim_tf.py.

38 def getTransform():
39  executorSet = set()
40  executorSet.add(skimRawExecutor(name = 'SkimRAW', inData = ['BS'], outData = ['BS_SKIM'], exe = 'acmd.py'))
41 
42  trf = transform(executor = executorSet)
43 
44  addMyArgs(trf.parser)
45  return trf
46 
47 

◆ main()

def RAWSkim_tf.main ( )

Definition at line 26 of file RAWSkim_tf.py.

26 def main():
27 
28  msg.info('This is %s' % sys.argv[0])
29 
30  trf = getTransform()
31  trf.parseCmdLineArgs(sys.argv[1:])
32  trf.execute()
33  trf.generateReport()
34 
35  msg.info("%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
36  sys.exit(trf.exitCode)
37 

Variable Documentation

◆ ListOfDefaultPositionalKeys

list RAWSkim_tf.ListOfDefaultPositionalKeys = ['--amiConfig', '--amiMetadataTag', '--checkEventCount', '--env', '--execOnly', '--filterFile', '--ignoreErrors', '--inputBSFile', '--noimf', '--notcmalloc', '--outputBS_SKIMFile', '--reportName', '--showGraph', '--showPath', '--showSteps', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']

Definition at line 22 of file RAWSkim_tf.py.

RAWSkim_tf.main
def main()
Definition: RAWSkim_tf.py:26
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
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
RAWSkim_tf.addMyArgs
def addMyArgs(parser)
Definition: RAWSkim_tf.py:48
RAWSkim_tf.getTransform
def getTransform()
Definition: RAWSkim_tf.py:38