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

Public Member Functions

def __init__ (self, name)
 
def fill (self, p)
 

Public Attributes

 pt
 
 eta
 
 phi
 

Detailed Description

Definition at line 72 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

def PyAlgorithmExample.Parthists.__init__ (   self,
  name 
)

Reimplemented in PyAlgorithmExample.Parthists_Taujet, PyAlgorithmExample.Parthists_Muo, and PyAlgorithmExample.Parthists_Ele.

Definition at line 74 of file PyAlgorithmExample.py.

74  def __init__ (self, name):
75  self.pt = mybook (name + "_pt", 50, 0, 250*GeV)
76  self.eta = mybook (name + "_eta", 50, -4, 4)
77  self.phi = mybook (name + "_phi", 50, -3.5, 3.5)
78  return
79 

Member Function Documentation

◆ fill()

def PyAlgorithmExample.Parthists.fill (   self,
  p 
)

Reimplemented in PyAlgorithmExample.Parthists_Z, PyAlgorithmExample.Parthists_Taujet, PyAlgorithmExample.Parthists_Muo, and PyAlgorithmExample.Parthists_Ele.

Definition at line 81 of file PyAlgorithmExample.py.

81  def fill (self, p):
82  self.pt.Fill (p.pt())
83  self.eta.Fill (p.eta())
84  self.phi.Fill (p.phi())
85  return
86 
87 
88 #
89 # Histograms for a list of particles.
90 #

Member Data Documentation

◆ eta

PyAlgorithmExample.Parthists.eta

Definition at line 76 of file PyAlgorithmExample.py.

◆ phi

PyAlgorithmExample.Parthists.phi

Definition at line 77 of file PyAlgorithmExample.py.

◆ pt

PyAlgorithmExample.Parthists.pt

Definition at line 75 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