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

Public Member Functions

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

Public Attributes

 etem = mybook (name + "etem", 100, 0, 200*GeV)
 ethad = mybook (name + "ethad", 100, 0, 200*GeV)
 ntrack = mybook (name + "ntrack", 10, -0.5, 9.5)
 charge = mybook (name + "charge", 10, -4.5, 4.5)
 emrad = mybook (name + "emrad", 100, 0, 50)
 isofrac = mybook (name + "isofrac", 100, 0, 1)
 stripw2 = mybook (name + "stripw2", 100, 0, 1)
 likeli = mybook (name + "likeli", -10, 0, 40)
 pt1 = mybook (name + "pt1", 100, 0, 200*GeV)
 emfrac = mybook (name + "emfrac", 100, 0, 1)
 tote = mybook (name + "tote", 100, 0, 200*GeV)
 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 264 of file PyAlgorithmExample.py.

Constructor & Destructor Documentation

◆ __init__()

PyAlgorithmExample.Parthists_Taujet.__init__ ( self,
name )

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

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

Member Data Documentation

◆ charge

PyAlgorithmExample.Parthists_Taujet.charge = mybook (name + "charge", 10, -4.5, 4.5)

Definition at line 270 of file PyAlgorithmExample.py.

◆ emfrac

PyAlgorithmExample.Parthists_Taujet.emfrac = mybook (name + "emfrac", 100, 0, 1)

Definition at line 276 of file PyAlgorithmExample.py.

◆ emrad

PyAlgorithmExample.Parthists_Taujet.emrad = mybook (name + "emrad", 100, 0, 50)

Definition at line 271 of file PyAlgorithmExample.py.

◆ eta

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

Definition at line 76 of file PyAlgorithmExample.py.

◆ etem

PyAlgorithmExample.Parthists_Taujet.etem = mybook (name + "etem", 100, 0, 200*GeV)

Definition at line 267 of file PyAlgorithmExample.py.

◆ ethad

PyAlgorithmExample.Parthists_Taujet.ethad = mybook (name + "ethad", 100, 0, 200*GeV)

Definition at line 268 of file PyAlgorithmExample.py.

◆ isofrac

PyAlgorithmExample.Parthists_Taujet.isofrac = mybook (name + "isofrac", 100, 0, 1)

Definition at line 272 of file PyAlgorithmExample.py.

◆ likeli

PyAlgorithmExample.Parthists_Taujet.likeli = mybook (name + "likeli", -10, 0, 40)

Definition at line 274 of file PyAlgorithmExample.py.

◆ ntrack

PyAlgorithmExample.Parthists_Taujet.ntrack = mybook (name + "ntrack", 10, -0.5, 9.5)

Definition at line 269 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.

◆ pt1

PyAlgorithmExample.Parthists_Taujet.pt1 = mybook (name + "pt1", 100, 0, 200*GeV)

Definition at line 275 of file PyAlgorithmExample.py.

◆ stripw2

PyAlgorithmExample.Parthists_Taujet.stripw2 = mybook (name + "stripw2", 100, 0, 1)

Definition at line 273 of file PyAlgorithmExample.py.

◆ tote

PyAlgorithmExample.Parthists_Taujet.tote = mybook (name + "tote", 100, 0, 200*GeV)

Definition at line 277 of file PyAlgorithmExample.py.


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