ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
PyAlgorithmExample.Partlisthists Class Reference
Collaboration diagram for PyAlgorithmExample.Partlisthists:

Public Member Functions

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

Public Attributes

 n
 
 h
 

Detailed Description

Definition at line 91 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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 #

Member Data Documentation

◆ h

PyAlgorithmExample.Partlisthists.h

Definition at line 98 of file PyAlgorithmExample.py.

◆ n

PyAlgorithmExample.Partlisthists.n

Definition at line 96 of file PyAlgorithmExample.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
lumiFormat.fill
fill
Definition: lumiFormat.py:111