Definition at line 91 of file PyAlgorithmExample.py.
◆ __init__()
| PyAlgorithmExample.Partlisthists.__init__ |
( |
| self, |
|
|
| name, |
|
|
| h = None ) |
Definition at line 95 of file PyAlgorithmExample.py.
95 def __init__ (self, name, h=None):
96 self.n = mybook (name + "_n", 10, 0, 10)
97 if not h:
98 self.h = Parthists (name)
99 else:
100 self.h = h
101 return
102
◆ fill()
| PyAlgorithmExample.Partlisthists.fill |
( |
| self, |
|
|
| plist ) |
Definition at line 104 of file PyAlgorithmExample.py.
104 def fill (self, plist):
105 self.n.Fill (len (plist))
106 for p in plist:
107 self.h.fill (p)
108 return
109
110
111
112
113
void fill(H5::Group &out_file, size_t iterations)
| PyAlgorithmExample.Partlisthists.h = Parthists (name) |
| PyAlgorithmExample.Partlisthists.n = mybook (name + "_n", 10, 0, 10) |
The documentation for this class was generated from the following file: