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

Functions

 main ()
 getTransform ()

Function Documentation

◆ getTransform()

IDAlign_tf.getTransform ( )

Definition at line 39 of file IDAlign_tf.py.

39def getTransform():
40 executorSet = set()
41 executorSet.add(athenaExecutor(name = 'IDAlign',
42 skeletonCA = 'InDetAlignJobTransforms.IDAlign_Skeleton'
43 ))
44
45 trf = transform(executor = executorSet, description = 'Running the ID alignment using refitted tracks reconstructed from RAW files. Either accumulation step (track refitting, calculating derivates) or solve step (matrix inversion + constant update) can be run.')
46
47 addAthenaArguments(trf.parser)
48 addIDAlignArguments(trf.parser)
49
50 return trf
51
52
STL class.

◆ main()

IDAlign_tf.main ( )

Definition at line 24 of file IDAlign_tf.py.

24def main():
25 trf = getTransform()
26 trf.parseCmdLineArgs(sys.argv[1:])
27
28 # Just add a note here that this is the place to insert extra checks or manipulations
29 # after the arguments are known, but before the transform tries to trace the graph
30 # path or actually execute (e.g., one can add some steering based on defined arguments)
31
32 trf.execute()
33 trf.generateReport()
34
35 msg.info("%s stopped at %s, trf exit code %d", sys.argv[0], time.asctime(), trf.exitCode)
36 sys.exit(trf.exitCode)
37
38
int main()
Definition hello.cxx:18