ATLAS Offline Software
Functions | Variables
RAWMerge_tf Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ addMyArgs()

def RAWMerge_tf.addMyArgs (   parser)

Definition at line 48 of file RAWMerge_tf.py.

48 def addMyArgs(parser):
49  # Use arggroup to get these arguments in their own sub-section (of --help)
50  parser.defineArgGroup('RAWMerge_tf', 'RAWMerge specific options')
51  parser.add_argument('--inputBSFile', nargs='+',
52  type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='input'),
53  help='Input BS file(s)', group='RAWMerge_tf')
54  parser.add_argument('--outputBS_MRGFile', '--outputBSFile',
55  type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='output'),
56  help='Output merged BS file (best if this file ends in ._0001.data, but see allowRename option below)',
57  group='RAWMerge_tf')
58  parser.add_argument('--maskEmptyInputs', type=trfArgClasses.argFactory(trfArgClasses.argBool), group='RAWMerge_tf',
59  help='If true then empty BS files are not included in the merge (default True)',
60  default=trfArgClasses.argBool('True'))
61  parser.add_argument('--allowRename', type=trfArgClasses.argFactory(trfArgClasses.argBool), group='RAWMerge_tf',
62  help='If true merged BS file will be forcibly renamed to the value of "outputBSFile" (default True)',
63  default=trfArgClasses.argBool('True'))
64 
65 

◆ getTransform()

def RAWMerge_tf.getTransform ( )

Definition at line 40 of file RAWMerge_tf.py.

40 def getTransform():
41  trf = transform(executor = bsMergeExecutor(name = 'RAWFileMerge', exe = 'file_merging',
42  inData = set(['BS']), outData = set(['BS_MRG'])))
43 
44  addMyArgs(trf.parser)
45  return trf
46 
47 

◆ main()

def RAWMerge_tf.main ( )

Definition at line 28 of file RAWMerge_tf.py.

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

Variable Documentation

◆ ListOfDefaultPositionalKeys

list RAWMerge_tf.ListOfDefaultPositionalKeys = ['--allowRename', '--amiConfig', '--amiMetadataTag', '--checkEventCount', '--env', '--execOnly', '--ignoreErrors', '--inputBSFile', '--maskEmptyInputs', '--noimf', '--notcmalloc', '--outputBS_MRGFile', '--reportName', '--showGraph', '--showPath', '--showSteps', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation']

Definition at line 14 of file RAWMerge_tf.py.

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
RAWMerge_tf.getTransform
def getTransform()
Definition: RAWMerge_tf.py:40
RAWMerge_tf.main
def main()
Definition: RAWMerge_tf.py:28
RAWMerge_tf.addMyArgs
def addMyArgs(parser)
Definition: RAWMerge_tf.py:48