Definition at line 264 of file PyAlgorithmExample.py.
◆ __init__()
| def PyAlgorithmExample.Parthists_Taujet.__init__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Reimplemented from PyAlgorithmExample.Parthists.
Definition at line 265 of file PyAlgorithmExample.py.
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)
◆ fill()
| def PyAlgorithmExample.Parthists_Taujet.fill |
( |
|
self, |
|
|
|
p |
|
) |
| |
Reimplemented from PyAlgorithmExample.Parthists.
Definition at line 280 of file PyAlgorithmExample.py.
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()
294 emfrac = p.etEM() / tote
297 self.tote.Fill (tote)
298 self.emfrac.Fill (emfrac)
◆ charge
| PyAlgorithmExample.Parthists_Taujet.charge |
◆ emfrac
| PyAlgorithmExample.Parthists_Taujet.emfrac |
◆ emrad
| PyAlgorithmExample.Parthists_Taujet.emrad |
◆ eta
| PyAlgorithmExample.Parthists.eta |
|
inherited |
◆ etem
| PyAlgorithmExample.Parthists_Taujet.etem |
◆ ethad
| PyAlgorithmExample.Parthists_Taujet.ethad |
◆ isofrac
| PyAlgorithmExample.Parthists_Taujet.isofrac |
◆ likeli
| PyAlgorithmExample.Parthists_Taujet.likeli |
◆ ntrack
| PyAlgorithmExample.Parthists_Taujet.ntrack |
◆ phi
| PyAlgorithmExample.Parthists.phi |
|
inherited |
◆ pt
| PyAlgorithmExample.Parthists.pt |
|
inherited |
◆ pt1
| PyAlgorithmExample.Parthists_Taujet.pt1 |
◆ stripw2
| PyAlgorithmExample.Parthists_Taujet.stripw2 |
◆ tote
| PyAlgorithmExample.Parthists_Taujet.tote |
The documentation for this class was generated from the following file: