xboa
|
Factory class for line by line reads of output files using a user-defined format. More...
Inherits LineFactoryBase.
Public Member Functions | |
def | __init__ |
Initialise the factory. More... | |
def | make_hit |
Read the next line in the file handle and return a new hit object. More... | |
Public Attributes | |
filehandle | |
format_list | |
format_units_dict | |
mass_shell_condition | |
Factory class for line by line reads of output files using a user-defined format.
Definition at line 27 of file _user_hit_factory.py.
def __init__ | ( | self, | |
format_list, | |||
format_units_dict, | |||
filehandle, | |||
mass_shell_condition | |||
) |
Initialise the factory.
Definition at line 43 of file _user_hit_factory.py.
def make_hit | ( | self | ) |
Read the next line in the file handle and return a new hit object.
Definition at line 67 of file _user_hit_factory.py.
References LineFactoryBase._read_formatted(), BuiltinHitFactory.filehandle, OpalHitFactory.filehandle, UserHitFactory.filehandle, UserHitFactory.format_list, UserHitFactory.format_units_dict, and UserHitFactory.mass_shell_condition.
filehandle |
Definition at line 45 of file _user_hit_factory.py.
Referenced by UserHitFactory.make_hit().
format_list |
Definition at line 46 of file _user_hit_factory.py.
Referenced by UserHitFactory.make_hit().
format_units_dict |
Definition at line 47 of file _user_hit_factory.py.
Referenced by UserHitFactory.make_hit().
mass_shell_condition |
Definition at line 61 of file _user_hit_factory.py.
Referenced by Hit.abelian_transformation(), UserHitFactory.make_hit(), and Hit.translate().