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

Public Member Functions

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

Public Attributes

 etem
 
 ethad
 
 ntrack
 
 charge
 
 emrad
 
 isofrac
 
 stripw2
 
 likeli
 
 pt1
 
 emfrac
 
 tote
 
 pt
 
 eta
 
 phi
 

Detailed Description

Definition at line 264 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

def PyAlgorithmExample.Parthists_Taujet.__init__ (   self,
  name 
)

Reimplemented from PyAlgorithmExample.Parthists.

Definition at line 265 of file PyAlgorithmExample.py.

265  def __init__ (self, name):
266  Parthists.__init__ (self, name)
267  self.etem = mybook (name + "etem", 100, 0, 200*GeV)
268  self.ethad = mybook (name + "ethad", 100, 0, 200*GeV)
269  self.ntrack = mybook (name + "ntrack", 10, -0.5, 9.5)
270  self.charge = mybook (name + "charge", 10, -4.5, 4.5)
271  self.emrad = mybook (name + "emrad", 100, 0, 50)
272  self.isofrac = mybook (name + "isofrac", 100, 0, 1)
273  self.stripw2 = mybook (name + "stripw2", 100, 0, 1)
274  self.likeli = mybook (name + "likeli", -10, 0, 40)
275  self.pt1 = mybook (name + "pt1", 100, 0, 200*GeV)
276  self.emfrac = mybook (name + "emfrac", 100, 0, 1)
277  self.tote = mybook (name + "tote", 100, 0, 200*GeV)
278  return
279 

Member Function Documentation

◆ fill()

def PyAlgorithmExample.Parthists_Taujet.fill (   self,
  p 
)

Reimplemented from PyAlgorithmExample.Parthists.

Definition at line 280 of file PyAlgorithmExample.py.

280  def fill (self, p):
281  Parthists.fill (self, p)
282  self.etem.Fill (p.etEM())
283  self.ethad.Fill (p.etHad())
284  self.ntrack.Fill (p.numTrack())
285  self.charge.Fill (p.charge())
286  self.emrad.Fill (p.EMRadius())
287  self.isofrac.Fill (p.IsoFrac())
288  self.stripw2.Fill (p.stripWidth2())
289  self.likeli.Fill (p.likelihood())
290  if not not p.track(0):
291  self.pt1.Fill (p.track(0).pt())
292  tote = p.etEM() + p.etHad()
293  if tote > 0:
294  emfrac = p.etEM() / tote
295  else:
296  emfrac = 0
297  self.tote.Fill (tote)
298  self.emfrac.Fill (emfrac)
299  return

Member Data Documentation

◆ charge

PyAlgorithmExample.Parthists_Taujet.charge

Definition at line 270 of file PyAlgorithmExample.py.

◆ emfrac

PyAlgorithmExample.Parthists_Taujet.emfrac

Definition at line 276 of file PyAlgorithmExample.py.

◆ emrad

PyAlgorithmExample.Parthists_Taujet.emrad

Definition at line 271 of file PyAlgorithmExample.py.

◆ eta

PyAlgorithmExample.Parthists.eta
inherited

Definition at line 76 of file PyAlgorithmExample.py.

◆ etem

PyAlgorithmExample.Parthists_Taujet.etem

Definition at line 267 of file PyAlgorithmExample.py.

◆ ethad

PyAlgorithmExample.Parthists_Taujet.ethad

Definition at line 268 of file PyAlgorithmExample.py.

◆ isofrac

PyAlgorithmExample.Parthists_Taujet.isofrac

Definition at line 272 of file PyAlgorithmExample.py.

◆ likeli

PyAlgorithmExample.Parthists_Taujet.likeli

Definition at line 274 of file PyAlgorithmExample.py.

◆ ntrack

PyAlgorithmExample.Parthists_Taujet.ntrack

Definition at line 269 of file PyAlgorithmExample.py.

◆ phi

PyAlgorithmExample.Parthists.phi
inherited

Definition at line 77 of file PyAlgorithmExample.py.

◆ pt

PyAlgorithmExample.Parthists.pt
inherited

Definition at line 75 of file PyAlgorithmExample.py.

◆ pt1

PyAlgorithmExample.Parthists_Taujet.pt1

Definition at line 275 of file PyAlgorithmExample.py.

◆ stripw2

PyAlgorithmExample.Parthists_Taujet.stripw2

Definition at line 273 of file PyAlgorithmExample.py.

◆ tote

PyAlgorithmExample.Parthists_Taujet.tote

Definition at line 277 of file PyAlgorithmExample.py.


The documentation for this class was generated from the following file:
property_tree
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