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

Class HEPMC_EventFileNoGzip

source code

     object --+    
              |    
HEPMC_EventFile --+
                  |
     object --+   |
              |   |
           file --+
                  |
                 HEPMC_EventFileNoGzip

A way to read a standard event file

Instance Methods [hide private]
None or (perhaps) an integer
close(self, *args, **opts)
Close the file.
source code
 
getfilesize(self) source code

Inherited from HEPMC_EventFile: __init__, next, seek

Inherited from file: __delattr__, __enter__, __exit__, __getattribute__, __iter__, __repr__, __setattr__, fileno, flush, isatty, read, readinto, readline, readlines, tell, truncate, write, writelines, xreadlines

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from HEPMC_EventFile: __new__

Properties [hide private]

Inherited from file: closed, encoding, errors, mode, name, newlines, softspace

Inherited from object: __class__

Method Details [hide private]

close(self, *args, **opts)

source code 

Close the file.

Sets data attribute .closed to True. A closed file cannot be used for further I/O operations. close() may be called more than once without error. Some kinds of file objects (for example, opened by popen()) may return an exit status upon closing.

Returns: None or (perhaps) an integer
Overrides: file.close
(inherited documentation)