From 0881aa1b709dca91b724431febdfb85ad5dcabc2 Mon Sep 17 00:00:00 2001 From: Armin Ilg Date: Thu, 19 Sep 2024 15:12:16 +0200 Subject: [PATCH] Update utils/material_plots.py Co-authored-by: Andre Sailer --- utils/material_plots.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/material_plots.py b/utils/material_plots.py index 1be47851c..561ca60f7 100644 --- a/utils/material_plots.py +++ b/utils/material_plots.py @@ -38,9 +38,8 @@ def main(): if material == "Tungsten": continue if material == "Copper": continue if material == "beam": continue - if material == "LiquidNDecane": continue - if material == "AlBeMet162": continue - if material == "Gold": continue + if material in ["LiquidNDecane", "AlBeMet162", "Gold"]: + continue if material not in histDict.keys(): histDict[material] = { "x0": ROOT.TH1F("", "", (int)((args.angleMax-args.angleMin) / args.angleBinning), args.angleMin, args.angleMax),