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

Public Member Functions

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

Public Attributes

 eoverp = mybook (name + "eoverp", 50, 0, 2)
 isem = mybook (name + "isem", 20, -1.5, 18.5)
 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 216 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

PyAlgorithmExample.Parthists_Ele.__init__ ( self,
name )

Definition at line 217 of file PyAlgorithmExample.py.

217 def __init__ (self, name):
218 Parthists.__init__ (self, name)
219 self.eoverp = mybook (name + "eoverp", 50, 0, 2)
220 self.isem = mybook (name + "isem", 20, -1.5, 18.5)
221 return
222

Member Function Documentation

◆ fill()

PyAlgorithmExample.Parthists_Ele.fill ( self,
p )

Reimplemented from PyAlgorithmExample.Parthists.

Definition at line 223 of file PyAlgorithmExample.py.

223 def fill (self, p):
224 Parthists.fill (self, p)
225 if fulldata (p):
226 self.eoverp.Fill (p.parameter (EoverP))
227 isem = p.isEM()
228 if isem == 0:
229 self.isem.Fill (-1)
230 else:
231 for i in range(0, 16):
232 if isem & (1<<i): self.isem.Fill (i)
233 return
void fill(H5::Group &out_file, size_t iterations)

Member Data Documentation

◆ eoverp

PyAlgorithmExample.Parthists_Ele.eoverp = mybook (name + "eoverp", 50, 0, 2)

Definition at line 219 of file PyAlgorithmExample.py.

◆ eta

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

Definition at line 76 of file PyAlgorithmExample.py.

◆ isem

PyAlgorithmExample.Parthists_Ele.isem = mybook (name + "isem", 20, -1.5, 18.5)

Definition at line 220 of file PyAlgorithmExample.py.

◆ phi

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

Definition at line 77 of file PyAlgorithmExample.py.

◆ pt

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

Definition at line 75 of file PyAlgorithmExample.py.


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