def recreateTest(): mat = ShashlikMatrix("SH_41_out.root") mat.recreate() c1 = mat.getChannel1() c4 = mat.getChannel2() posExp = mat.getPosExp() integral = mat.getIntegral() outFile = TFile("test.root", "recreate") c1.Write() c4.Write() posExp.Write() integral.Write() outFile.Close() mat.close()
def updateChannelsTest(): mat = ShashlikMatrix("SH_42_out.root") mat.recreate() mat.updateChannels() mat.close()
def updateAllTest(): mat = ShashlikMatrix("SH_42_out.root") mat.recreate() mat.updateAll() mat.close()