ATLAS Offline Software
Functions
PRWConfig_tf Namespace Reference

Functions

def main ()
 
def getTransform ()
 Get the base transform with all arguments added. More...
 

Function Documentation

◆ getTransform()

def PRWConfig_tf.getTransform ( )

Get the base transform with all arguments added.

Definition at line 42 of file PRWConfig_tf.py.

42 def getTransform():
43  trf = transform(executor = athenaExecutor(name = 'athena',
44  skeletonFile='PATJobTransforms/skeleton.AODtoNTUP_PILEUP.py'))
45 
46  trf.parser.defineArgGroup("PRWConfig_tf","PRWConfig_tf options")
47 
48  #for input and output file lists to be put correctly into the runArgs and tested in the pre and post corruption
49  #tests, the format of option must be inputXXXXFile and outputYYYYFile
50  trf.parser.add_argument("--inputAODFile",type=trfArgClasses.argFactory(trfArgClasses.argPOOLFile,io='input',type='aod',multipleOK=True),nargs='+',help="The input files",group="PRWConfig_tf")
51  trf.parser.add_argument("--outputNTUP_PILEUPFile",type=trfArgClasses.argFactory(trfArgClasses.argNTUPFile,io='output',type='hist',multipleOK=False),help="The output filename",group="PRWConfig_tf")
52 
53  return trf
54 
55 

◆ main()

def PRWConfig_tf.main ( )

Definition at line 29 of file PRWConfig_tf.py.

29 def main():
30 
31  msg.info('This is %s' % sys.argv[0])
32 
33  trf = getTransform()
34  trf.parseCmdLineArgs(sys.argv[1:])
35  trf.execute()
36  trf.generateReport()
37 
38  msg.info("%s stopped at %s, trf exit code %d" % (sys.argv[0], time.asctime(), trf.exitCode))
39  sys.exit(trf.exitCode)
40 
PRWConfig_tf.main
def main()
Definition: PRWConfig_tf.py:29
PRWConfig_tf.getTransform
def getTransform()
Get the base transform with all arguments added.
Definition: PRWConfig_tf.py:42
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156