| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ana.Step Class Reference

## Public Member Functions
def | __init__
def | toString
def | diff

## Public Attributes
| name
| type
| protocol
| data
| usage
| cpu
| events
| user
| system
| ellapsed

## Detailed Description

Definition at line 18 of file ana.py.

## Constructor & Destructor Documentation

def ana.Step.__init__ | ( |  | self | ) |

Definition at line 19 of file ana.py.

19
20 def __init__(self):
21 self.name=''
22 self.type=''
23 self.protocol = ''
24 self.data=''
25 self.usage=None
26 self.cpu = 0.
27 self.events = 0
28 self.user=0.
29 self.system=0.
30 self.ellapsed = 0.

## Member Function Documentation

def ana.Step.diff | ( |  | self,
|  |  | other
| ) |  |

Definition at line 36 of file ana.py.

36
37 def diff(self,other):
38 e1 = self.ellapsed/self.events
39 e2 = other.ellapsed/other.events
40 e3 = (self.user+self.system)/self.events
41 e4 = (other.user+other.system)/other.events
42 s1 = '%8.2e %8.2e'%(e1-e2,e3-e4)
return s1

def ana.Step.toString | ( |  | self | ) |

Definition at line 31 of file ana.py.

31
32 def toString(self):
33 s1 = '%-8s %-8s %-12s %7d %8.2f %8.2f %8.2f %7.2f '%(self.type,self.protocol,self.name,self.events,self.ellapsed,self.user,self.system,self.cpu)
34 s2 = '%8.2e %8.2e %8.2e'%(self.ellapsed/self.events,self.user/self.events,self.system/self.events)
35 return s1+s2

## Member Data Documentation

ana.Step.cpu

Definition at line 25 of file ana.py.

ana.Step.data

Definition at line 23 of file ana.py.

ana.Step.ellapsed

Definition at line 29 of file ana.py.

ana.Step.events

Definition at line 26 of file ana.py.

ana.Step.name

Definition at line 20 of file ana.py.

ana.Step.protocol

Definition at line 22 of file ana.py.

ana.Step.system

Definition at line 28 of file ana.py.

ana.Step.type

Definition at line 21 of file ana.py.

ana.Step.usage

Definition at line 24 of file ana.py.

ana.Step.user

Definition at line 27 of file ana.py.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/RootCnv/cmt/ana.py