ATLAS Offline Software
Functions | Variables
HISTMerge_tf Namespace Reference

Functions

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

Variables

list ListOfDefaultPositionalKeys = ['--amiConfig', '--amiMetadataTag', '--checkEventCount', '--env', '--execOnly', '--ignoreErrors', '--inputHIST_File', '--noimf', '--notcmalloc', '--outputHISTFile', '--reportName', '--showGraph', '--showPath', '--showSteps', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation','--excludeDir','--excludeHist','--run_post_processing','--is_incremental_merge']
 

Function Documentation

◆ addMyArgs()

def HISTMerge_tf.addMyArgs (   parser)

Definition at line 45 of file HISTMerge_tf.py.

45 def addMyArgs(parser):
46  # Use arggroup to get these arguments in their own sub-section (of --help)
47  parser.defineArgGroup('DQHistMerge_tf', 'DQ merge specific options')
48  parser.add_argument('--inputHISTFile', nargs='+',
49  type=trfArgClasses.argFactory(trfArgClasses.argHISTFile, io='input',
50  countable=False),
51  help='Input DQ histogram file', group='DQHistMerge_tf')
52  parser.add_argument('--outputHIST_MRGFile', '--outputHISTFile',nargs='+',
53  type=trfArgClasses.argFactory(trfArgClasses.argHISTFile, io='output', countable=False),
54  help='Output DQ monitoring file', group='DQHistMerge_tf')
55 
56  parser.add_argument('--excludeDir', help='Regex pattern for directories to exclude from merge',group='DQHistMerge_tf')
57  parser.add_argument('--excludeHist', help='Regex pattern for histogram names to exclude from merge\n'
58  'Note that this is just the name - paths cannot be specified',group='DQHistMerge_tf')
59 
60  parser.add_argument('--run_post_processing', default=False, action="store_true", help='False/True/0/1 default=0',group='DQHistMerge_tf')
61  parser.add_argument('--is_incremental_merge', default=False, action="store_true", help='False/True/0/1 default=0',group='DQHistMerge_tf')
62 
63 

◆ getTransform()

def HISTMerge_tf.getTransform ( )

Definition at line 36 of file HISTMerge_tf.py.

36 def getTransform():
37  executorSet = DQMergeExecutor(name = 'HistogramMerge', inData = ['HIST'], outData = ['HIST_MRG'])
38 
39  trf = transform(executor = executorSet)
40 
41  addMyArgs(trf.parser)
42  return trf
43 
44 

◆ main()

def HISTMerge_tf.main ( )

Definition at line 24 of file HISTMerge_tf.py.

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

Variable Documentation

◆ ListOfDefaultPositionalKeys

list HISTMerge_tf.ListOfDefaultPositionalKeys = ['--amiConfig', '--amiMetadataTag', '--checkEventCount', '--env', '--execOnly', '--ignoreErrors', '--inputHIST_File', '--noimf', '--notcmalloc', '--outputHISTFile', '--reportName', '--showGraph', '--showPath', '--showSteps', '--skipFileValidation', '--skipInputFileValidation', '--skipOutputFileValidation','--excludeDir','--excludeHist','--run_post_processing','--is_incremental_merge']

Definition at line 20 of file HISTMerge_tf.py.

HISTMerge_tf.main
def main()
Definition: HISTMerge_tf.py:24
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
HISTMerge_tf.getTransform
def getTransform()
Definition: HISTMerge_tf.py:36
HISTMerge_tf.addMyArgs
def addMyArgs(parser)
Definition: HISTMerge_tf.py:45