ATLAS Offline Software
Loading...
Searching...
No Matches
PyAlgorithmExample.Partlisthists Class Reference
Collaboration diagram for PyAlgorithmExample.Partlisthists:

Public Member Functions

 __init__ (self, name, h=None)
 fill (self, plist)

Public Attributes

 n = mybook (name + "_n", 10, 0, 10)
 h = Parthists (name)

Detailed Description

Definition at line 91 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __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

Member Function Documentation

◆ 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# An empty class for holding histograms.
113#
void fill(H5::Group &out_file, size_t iterations)

Member Data Documentation

◆ h

PyAlgorithmExample.Partlisthists.h = Parthists (name)

Definition at line 98 of file PyAlgorithmExample.py.

◆ n

PyAlgorithmExample.Partlisthists.n = mybook (name + "_n", 10, 0, 10)

Definition at line 96 of file PyAlgorithmExample.py.


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