ATLAS Offline Software
Functions
EVNTMerge_tf Namespace Reference

Functions

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

Function Documentation

◆ addMyArgs()

def EVNTMerge_tf.addMyArgs (   parser)

Definition at line 49 of file EVNTMerge_tf.py.

49 def addMyArgs(parser):
50  # Use arggroup to get these arguments in their own sub-section (of --help)
51  parser.defineArgGroup('EVNTMerge_tf', 'EVNT merge job specific options')
52  parser.add_argument('--inputEVNTFile', nargs='+',
53  type=trfArgClasses.argFactory(trfArgClasses.argEVNTFile, io='input', runarg=True, type='evnt'),
54  help='Input EVNT file', group='EVNTMerge_tf')
55  parser.add_argument('--outputEVNT_MRGFile', '--outputEVNTFile',
56  type=trfArgClasses.argFactory(trfArgClasses.argEVNTFile, io='output', runarg=True, type='evnt'),
57  help='Output merged EVNT file', group='EVNTMerge_tf')
58  parser.add_argument('--eventService', type=trfArgClasses.argFactory(trfArgClasses.argBool), metavar = "BOOL",
59  help='Switch AthenaMP to the Event Service configuration', group='EVNTMerge_tf')
60 
61 
62 
63 

◆ getTransform()

def EVNTMerge_tf.getTransform ( )

Definition at line 37 of file EVNTMerge_tf.py.

37 def getTransform():
38  executorSet = set()
39  print(type(executorSet))
40  executorSet.add(athenaExecutor(name = 'EVNTMerge', skeletonCA = 'EvgenJobTransforms.EVNTMerge_Skeleton', inData = ['EVNT'], outData = ['EVNT_MRG']))
41 
42  trf = transform(executor = executorSet)
43 
44  addAthenaArguments(trf.parser)
45  addMyArgs(trf.parser)
46  return trf
47 
48 

◆ main()

def EVNTMerge_tf.main ( )

Definition at line 25 of file EVNTMerge_tf.py.

25 def main():
26 
27  msg.info('This is %s', sys.argv[0])
28 
29  trf = getTransform()
30  trf.parseCmdLineArgs(sys.argv[1:])
31  trf.execute()
32  trf.generateReport()
33 
34  msg.info("%s stopped at %s, trf exit code %d", sys.argv[0], time.asctime(), trf.exitCode)
35  sys.exit(trf.exitCode)
36 
python.trfArgs.addAthenaArguments
def addAthenaArguments(parser, maxEventsDefaultSubstep='first', addValgrind=True, addPerfMon=True, addVTune=True)
Options related to running athena in general TODO: Some way to mask certain options (perExec,...
Definition: trfArgs.py:59
EVNTMerge_tf.addMyArgs
def addMyArgs(parser)
Definition: EVNTMerge_tf.py:49
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
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
EVNTMerge_tf.main
def main()
Definition: EVNTMerge_tf.py:25
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
EVNTMerge_tf.getTransform
def getTransform()
Definition: EVNTMerge_tf.py:37