ATLAS Offline Software
Functions | Variables
plot_av_times Namespace Reference

Functions

def get_av (fn)
 
def get_nbkgd (fn)
 

Variables

 stub
 
 outname
 
 fns
 
 av_times
 
 n_bkgd
 

Function Documentation

◆ get_av()

def plot_av_times.get_av (   fn)

Definition at line 23 of file plot_av_times.py.

23 def get_av(fn):
24  t = times(fn)
25  return sum(t)/float(len(t))
26 

◆ get_nbkgd()

def plot_av_times.get_nbkgd (   fn)

Definition at line 29 of file plot_av_times.py.

29 def get_nbkgd(fn):
30  print(fn)
31  x = fn.split('.')[0] # remove .log
32  toks = x.split('_')
33  x = [t for t in toks if t.startswith('b')][0]
34  x = x[1:] # remove 'b'
35  print(x)
36  return float(x)
37 

Variable Documentation

◆ av_times

plot_av_times.av_times

Definition at line 27 of file plot_av_times.py.

◆ fns

plot_av_times.fns

Definition at line 17 of file plot_av_times.py.

◆ n_bkgd

plot_av_times.n_bkgd

Definition at line 38 of file plot_av_times.py.

◆ outname

plot_av_times.outname

Definition at line 14 of file plot_av_times.py.

◆ stub

plot_av_times.stub

Definition at line 13 of file plot_av_times.py.

plot_av_times.get_av
def get_av(fn)
Definition: plot_av_times.py:23
convertTimingResiduals.sum
sum
Definition: convertTimingResiduals.py:55
plot_av_times.get_nbkgd
def get_nbkgd(fn)
Definition: plot_av_times.py:29
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28
readCCLHist.float
float
Definition: readCCLHist.py:83
plot_times.times
def times(fn)
Definition: plot_times.py:11