ATLAS Offline Software
Functions
ValidateFiles_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 
def addArgs (parser)
 

Function Documentation

◆ addArgs()

def ValidateFiles_tf.addArgs (   parser)

Definition at line 38 of file ValidateFiles_tf.py.

38 def addArgs(parser):
39  # N.B. Although the trf does not generate these files, badge them as 'output' to run full validation
40  parser.add_argument('--outputBSFile', type=trfArgClasses.argFactory(trfArgClasses.argBSFile, io='output', type='bs', multipleOK=True), nargs='+')
41  parser.add_argument('--outputESDFile', type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='output', type='esd', multipleOK=True), nargs='+')
42  parser.add_argument('--outputAODFile', type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='output', type='aod', multipleOK=True), nargs='+')
43  parser.add_argument('--outputRDOFile', type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile, io='output', type='rdo', multipleOK=True), nargs='+')
44  parser.add_argument('--outputEVNTFile', type=trfArgClasses.argFactory(trfArgClasses.argEVNTFile, io='output', type='evnt', multipleOK=True), nargs='+')
45  parser.add_argument('--outputHISTFile', type=trfArgClasses.argFactory(trfArgClasses.argHISTFile, io='output', type='hist', multipleOK=True), nargs='+')
46  parser.add_argument('--outputTXT_FTKIPFile', type=trfArgClasses.argFactory(trfArgClasses.argFTKIPFile, io='output', multipleOK=True), nargs='+')
47  parser.add_argument('--outputNTUP_FTKSIMFile', type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile, io='output', type='ntup_ftksim', treeNames = ['ftkdata'], multipleOK=True), nargs='+')
48  parser.add_argument('--outputEvtFile', type=trfArgClasses.argFactory(trfArgClasses.argHepEvtAsciiFile, io='output', type='evt', multipleOK=True), nargs='+')
49  parser.add_argument('--logfile', type=trfArgClasses.argFactory(trfArgClasses.argString))
50 
51 
52  # This is a dummy argument which makes the graph tracer code happy
53  parser.add_argument('--inputFile', type=trfArgClasses.argFactory(trfArgClasses.argFile, io='input', type='dummy'), default=trfArgClasses.argFile(type='dummy'))
54 
55 

◆ getTransform()

def ValidateFiles_tf.getTransform ( )

Definition at line 29 of file ValidateFiles_tf.py.

29 def getTransform():
30  trf=transform(executor = logscanExecutor())
31 
32  # Mostly reco types...
33  addArgs(trf.parser)
34  trfArgs.addParallelJobProcessorArguments(trf.parser)
35 
36  return trf
37 

◆ main()

def ValidateFiles_tf.main ( )

Definition at line 21 of file ValidateFiles_tf.py.

21 def main():
22 
23  trf=getTransform()
24  trf.parseCmdLineArgs(sys.argv[1:])
25  trf.execute()
26  trf.generateReport()
27  sys.exit(trf.exitCode)
28 
ValidateFiles_tf.getTransform
def getTransform()
Definition: ValidateFiles_tf.py:29
ValidateFiles_tf.addArgs
def addArgs(parser)
Definition: ValidateFiles_tf.py:38
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
ValidateFiles_tf.main
def main()
Definition: ValidateFiles_tf.py:21