Skip to content

Commit d642e3e

Browse files
qwert2333jacofan
authored andcommitted
Change histogram ranges
1 parent ecfbf8f commit d642e3e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎GaudiTutorial/MLShowerID/options/compareShowerScore.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def plot_scores(stored, inferred):
9393
):
9494
histogram = ROOT.TH1D(
9595
f"h_{sample}_shape_parameter_{index}",
96-
f";{name.replace('_', ' ')}", 50, 0.0, 1.0,
96+
f";{name.replace('_', ' ')}", 50, -0.1, 1.1,
9797
)
9898
histogram.SetDirectory(0)
9999
histogram.SetStats(0)

‎GaudiTutorial/MLShowerID/options/plotShowerScore.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def read_histograms(input_file, sample, collection):
3737
histogram = ROOT.TH1D(
3838
f"h_{sample}_shape_parameter_{index}",
3939
f";{score_name}",
40-
50, 0.0, 1.0,
40+
50, -0.1, 1.1,
4141
)
4242
histogram.SetStats(0)
4343
histogram.Sumw2()

0 commit comments

Comments
 (0)