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

Class HEPMC_EventFile

source code

object --+
         |
        HEPMC_EventFile

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, *args, **opts) source code
 
tell(self) source code
 
__iter__(self) source code
 
__del__(self) source code
 
__len__(self) source code
 
close(self, *args, **opts) source code
 
next(self) source code
 
__next__(self) source code
 
next_event(self)
get next event
source code
 
getfilesize(self) source code
 
write(self, text) source code

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

Properties [hide private]
  name
  closed

Inherited from object: __class__

Method Details [hide private]

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

source code 

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

Overrides: object.__init__

Property Details [hide private]

name

Get Method:
unreachable.name(self)

closed

Get Method:
unreachable.closed(self)