| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

Public Member Functions | Public Attributes

# ana::Step Class Reference

List of all members.

## 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.

    00020                       :
    00021         self.name=''
    00022         self.type=''
    00023         self.protocol = ''
    00024         self.data=''
    00025         self.usage=None
    00026         self.cpu = 0.
    00027         self.events = 0
    00028         self.user=0.
    00029         self.system=0.
    00030         self.ellapsed = 0.

## Member Function Documentation

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

Definition at line 36 of file ana.py.

    00037                         :
    00038         e1 = self.ellapsed/self.events
    00039         e2 = other.ellapsed/other.events
    00040         e3 = (self.user+self.system)/self.events
    00041         e4 = (other.user+other.system)/other.events
    00042         s1 = '%8.2e %8.2e'%(e1-e2,e3-e4)
            return s1

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

Definition at line 31 of file ana.py.

    00032                       :
    00033         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)
    00034         s2 = '%8.2e %8.2e %8.2e'%(self.ellapsed/self.events,self.user/self.events,self.system/self.events)
    00035         return s1+s2

## Member Data Documentation

ana::Step::cpu

Definition at line 19 of file ana.py.

ana::Step::data

Definition at line 19 of file ana.py.

ana::Step::ellapsed

Definition at line 19 of file ana.py.

ana::Step::events

Definition at line 19 of file ana.py.

ana::Step::name

Definition at line 19 of file ana.py.

ana::Step::protocol

Definition at line 19 of file ana.py.

ana::Step::system

Definition at line 19 of file ana.py.

ana::Step::type

Definition at line 19 of file ana.py.

ana::Step::usage

Definition at line 19 of file ana.py.

ana::Step::user

Definition at line 19 of file ana.py.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines