Belle II Software
release-08-01-10
|
Public Member Functions | |
def | __init__ (self) |
def | __del__ (self) |
def | Close (self) |
def | OptionFileName (self) |
def | SetFileName (self, filename) |
def | Open (self) |
def | Write (self, lines) |
def | WriteHeader (self, eventtype, descriptor) |
def | AddExtraOptions (self, eventtype) |
def | AddEventTypeNumber (self, eventtype) |
def | AddEvtGenUserDecayFile (self, eventtype) |
def | AddDecayOptions (self, eventtype) |
Public Attributes | |
filename | |
name of the file | |
f | |
alternative name of the file | |
Class to write in an option file
Definition at line 33 of file CreateProdScripts.py.
def __init__ | ( | self | ) |
Constructor. Parameters: filename name of the file f alternative name of the file
Reimplemented in PythonOptionFile.
Definition at line 39 of file CreateProdScripts.py.
def __del__ | ( | self | ) |
Destructor.
Definition at line 51 of file CreateProdScripts.py.
def AddDecayOptions | ( | self, | |
eventtype | |||
) |
Specify options for .dec file.
Definition at line 125 of file CreateProdScripts.py.
def AddEventTypeNumber | ( | self, | |
eventtype | |||
) |
Adds the Event Type Number.
Definition at line 112 of file CreateProdScripts.py.
def AddEvtGenUserDecayFile | ( | self, | |
eventtype | |||
) |
Set the EvtGen .dec file.
Definition at line 118 of file CreateProdScripts.py.
def AddExtraOptions | ( | self, | |
eventtype | |||
) |
Adds extra options.
Definition at line 106 of file CreateProdScripts.py.
def Close | ( | self | ) |
Close file.
Definition at line 57 of file CreateProdScripts.py.
def Open | ( | self | ) |
Open file.
Definition at line 76 of file CreateProdScripts.py.
def OptionFileName | ( | self | ) |
Set option file name.
Definition at line 64 of file CreateProdScripts.py.
def SetFileName | ( | self, | |
filename | |||
) |
Set file name.
Definition at line 70 of file CreateProdScripts.py.
def Write | ( | self, | |
lines | |||
) |
Write the lines in the file.
Definition at line 83 of file CreateProdScripts.py.
def WriteHeader | ( | self, | |
eventtype, | |||
descriptor | |||
) |
Write header of .dec file.
Definition at line 90 of file CreateProdScripts.py.