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

Functions

 times (fn)

Variables

 fn = sys.argv[1]
 x = times(fn)

Function Documentation

◆ times()

plot_times.times ( fn)

Definition at line 10 of file plot_times.py.

10def times(fn):
11 result = []
12 with open(fn) as iff:
13 for l in iff:
14 if 'tav' in l and 'node: 0 parent: 0' in l:
15 result.append(float(l[:-1].split()[-1]))
16
17 return result
18
19
std::vector< std::string > split(const std::string &s, const std::string &t=":")
Definition hcg.cxx:177

Variable Documentation

◆ fn

plot_times.fn = sys.argv[1]

Definition at line 27 of file plot_times.py.

◆ x

plot_times.x = times(fn)

Definition at line 31 of file plot_times.py.