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

Public Member Functions

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

Public Attributes

 pt = mybook (name + "_pt", 50, 0, 250*GeV)
 eta = mybook (name + "_eta", 50, -4, 4)
 phi = mybook (name + "_phi", 50, -3.5, 3.5)

Detailed Description

Definition at line 72 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

PyAlgorithmExample.Parthists.__init__ ( self,
name )

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

PyAlgorithmExample.Parthists.fill ( self,
p )

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

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#
void fill(H5::Group &out_file, size_t iterations)

Member Data Documentation

◆ eta

PyAlgorithmExample.Parthists.eta = mybook (name + "_eta", 50, -4, 4)

Definition at line 76 of file PyAlgorithmExample.py.

◆ phi

PyAlgorithmExample.Parthists.phi = mybook (name + "_phi", 50, -3.5, 3.5)

Definition at line 77 of file PyAlgorithmExample.py.

◆ pt

PyAlgorithmExample.Parthists.pt = mybook (name + "_pt", 50, 0, 250*GeV)

Definition at line 75 of file PyAlgorithmExample.py.


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