ATLAS Offline Software
Loading...
Searching...
No Matches
RAWMerge_tf Namespace Reference

Functions

 main ()
 getTransform ()
 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()

RAWMerge_tf.addMyArgs ( parser)

Definition at line 48 of file RAWMerge_tf.py.

48def 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()

RAWMerge_tf.getTransform ( )

Definition at line 40 of file RAWMerge_tf.py.

40def 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
STL class.

◆ main()

RAWMerge_tf.main ( )

Definition at line 28 of file RAWMerge_tf.py.

28def 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
int main()
Definition hello.cxx:18

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.