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

Functions

 main ()
 getTransform ()

Detailed Description

Run DAOD building from AOD or EVNT, or D2AOD building from DAOD, using the derivation framework

Function Documentation

◆ getTransform()

Derivation_tf.getTransform ( )

Definition at line 35 of file Derivation_tf.py.

35def getTransform():
36 executor_set = set()
37 from DerivationFrameworkConfiguration.DerivationTransformHelpers import \
38 addDerivationArguments, addDerivationSubstep, \
39 addPhysicsValidationArguments, addPhysicsValidationSubstep
40 addDerivationSubstep(executor_set)
41 addPhysicsValidationSubstep(executor_set)
42 trf = transform(executor=executor_set,
43 description='ATLAS derivation framework transform. Inputs must be EVNT, AOD or DAOD. Outputs must be DAOD or D2AOD.')
44 addAthenaArguments(trf.parser)
45 addDetectorArguments(trf.parser)
46 addDerivationArguments(trf.parser)
47 addPhysicsValidationArguments(trf.parser)
48 return trf
49
50
STL class.

◆ main()

Derivation_tf.main ( )

Definition at line 23 of file Derivation_tf.py.

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