diff --git a/scripts/checkTrackSelection.py b/scripts/checkTrackSelection.py index b02af1e..da79096 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 14:53:14 +# @Last Modified time: 2017-05-03 14:55:44 import ROOT as r import os @@ -81,7 +81,7 @@ def printADC(f, t_sig, det, fill, stat, step): # f = r.TFile(location[det] + '%s.root' % fill, 'read') # t_sig = f.Get('STADCTrackMonitor/HitInfo/%s' % layer[det]) - t_sig.Draw("val%s>>hsig%s(110,-35, 75)" % (val[det], step), "odinStep==%s" % step, "goff", stat, 0) + t_sig.Draw("val%s>>hsig%s(210,-35, 175)" % (val[det], step), "odinStep==%s" % step, "goff", stat, 0) h_sig = r.gDirectory.Get('hsig%s' % step) r.gROOT.ProcessLine('.X %s/../include/lhcbstyle.C' % os.getcwd()) @@ -150,7 +150,7 @@ t_sig = f.Get('STADCTrackMonitor/HitInfo/%s' % layer[det]) printSelection(f, t_sig, det, fill, stat) - for step in [0, 60]: + for step in [0, 54]: printADC(f, t_sig, det, fill, stat, step) f.Close()