xboa
Public Member Functions | Public Attributes | List of all members
OpalHitFactory Class Reference

Factory class for line by line reads of OPAL output files. More...

Inherits LineFactoryBase.

Public Member Functions

def __init__
 
def make_hit
 Read a new hit from filehandle. More...
 

Public Attributes

 pid
 
 probes
 
 ignore_probes
 
 filehandle
 

Detailed Description

Factory class for line by line reads of OPAL output files.

Definition at line 24 of file _opal_hit_factory.py.

Constructor & Destructor Documentation

def __init__ (   self,
  pid,
  probes,
  ignore_probes,
  filehandle 
)

Definition at line 25 of file _opal_hit_factory.py.

Member Function Documentation

def make_hit (   self)

Read a new hit from filehandle.

  • filehandle = file handle object Returns a new hit object

Raises an EOFError if end of file is hit

Definition at line 45 of file _opal_hit_factory.py.

References OpalHitFactory.ignore_probes, OpalHitFactory.pid, and OpalHitFactory.probes.

Member Data Documentation

pid

Definition at line 30 of file _opal_hit_factory.py.

Referenced by OpalHitFactory.make_hit().

probes

Definition at line 31 of file _opal_hit_factory.py.

Referenced by OpalHitFactory.make_hit().

ignore_probes

Definition at line 32 of file _opal_hit_factory.py.

Referenced by OpalHitFactory.make_hit().

filehandle

Definition at line 33 of file _opal_hit_factory.py.

Referenced by UserHitFactory.make_hit().


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