From 0eb01e2dabbfebff2f6148d1af62757673eb4557 Mon Sep 17 00:00:00 2001 From: Dave Casper <dcasper@uci.edu> Date: Wed, 8 Jun 2022 06:21:05 -0700 Subject: [PATCH] Clean-up typos --- .../BarcodeChecker/python/BarcodeCheckerAlg.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py b/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py index f74d84b7..0e29c7d2 100644 --- a/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py +++ b/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py @@ -4,7 +4,7 @@ import AthenaPython.PyAthena as PyAthena from AthenaPython.PyAthena import StatusCode, McEventCollection, HepMC, CLHEP import McParticleEvent.Pythonizations -__author__ = "Dave Caser <dcasper@uci.edu>" +__author__ = "Dave Casper <dcasper@uci.edu>" class BarcodeCheckerAlg(PyAthena.Alg): def __init__(self, name="BarcodeChecker", MCEventKey="TruthEvent"): @@ -32,8 +32,8 @@ class BarcodeCheckerAlg(PyAthena.Alg): return StatusCode.Success def finalize(self): - print("Low part: ", self.maxLow, " out of 200000 (",100*self.maxLow/200000,"% of overflow)") - print("Mid part: ", self.maxMid, " out of ", 1000000 - 200000, " (",100*self.maxMid/(1000000-200000),"% of overflow") - print("Hi part: ", self.maxHi, " out of ", (1<<31)//1000000, " (", 100*self.maxHi/((1<<31)//1000000),"% of overflow") + print("Low part: ", self.maxLow, " out of 200000 (",100*self.maxLow/200000,"% of overflow )") + print("Mid part: ", self.maxMid, " out of ", 1000000 - 200000, " (",100*self.maxMid/(1000000-200000),"% of overflow )") + print("Hi part: ", self.maxHi, " out of ", (1<<31)//1000000, " (", 100*self.maxHi/((1<<31)//1000000),"% of overflow )") return StatusCode.Success \ No newline at end of file -- GitLab