Package madgraph :: Package various :: Module hepmc_parser :: Class HEPMC_EventFile
[hide private]
[frames] | no frames]

Class HEPMC_EventFile

source code

object --+
         |
        HEPMC_EventFile
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, path, mode='r', *args, **opt)
open file and read the banner [if in read mode]
source code
 
seek(self, value, fromwhat=0) source code
 
next(self)
get next event
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(self, path, mode='r', *args, **opt) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(self, path, mode='r', *args, **opt)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

__init__(self, path, mode='r', *args, **opt)
(Constructor)

source code 

open file and read the banner [if in read mode]

Overrides: object.__init__