diff --git a/scripts/checkPulseData.py b/scripts/checkPulseData.py index 60d4d24..8033762 100644 --- a/scripts/checkPulseData.py +++ b/scripts/checkPulseData.py @@ -215,6 +215,10 @@ import pickle pickle.dump(monotonics, open('monotonics.pkl', 'wb')) + if not os.path.isfile('all_data.pkl'): + import pickle + pickle.dump(data_frame, open('all_data.pkl', 'wb')) + # Combine masks with the '&' operator # (intersection in numpy), e.g.: # data_frame[mask_highVbias(125) & mask_monotonics] diff --git a/scripts/checkTrackSelection.py b/scripts/checkTrackSelection.py index 6de0723..e516345 100644 --- a/scripts/checkTrackSelection.py +++ b/scripts/checkTrackSelection.py @@ -3,7 +3,7 @@ # @Author: Elena Graverini # @Date: 2015-10-27 18:26:49 # @Last Modified by: Elena Graverini -# @Last Modified time: 2017-05-03 15:39:04 +# @Last Modified time: 2017-05-03 16:38:19 import ROOT as r import os @@ -53,6 +53,7 @@ h_sig.GetYaxis().SetTitle(r'Ghost Prob.') h_sig.GetZaxis().SetTitle(r'S/B ratio') h_sig.Draw("colz") + c.Update() c, line = putLine(c, det) label = r.TPaveText( 0.74 - r.gStyle.GetPadRightMargin(), 0.87 - r.gStyle.GetPadTopMargin(), 0.95 - r.gStyle.GetPadRightMargin(), 0.95 - r.gStyle.GetPadTopMargin(), "BRNDC")