diff --git a/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py b/Control/CalypsoExample/BarcodeChecker/python/BarcodeCheckerAlg.py index f74d84b7b2145261d8298fc99f32e38717549507..0e29c7d2e60b880f22cf383e766ee9ce338f27d3 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