diff --git a/scripts/plot_noise_and_signal.py b/scripts/plot_noise_and_signal.py index fc2fb17..389c18d 100644 --- a/scripts/plot_noise_and_signal.py +++ b/scripts/plot_noise_and_signal.py @@ -2,7 +2,7 @@ # @Author: Elena Graverini # @Date: 2017-04-28 15:34:06 # @Last Modified by: Elena Graverini -# @Last Modified time: 2017-04-28 16:05:40 +# @Last Modified time: 2017-04-28 16:11:46 from __future__ import print_function import sys import os @@ -38,7 +38,6 @@ if __name__ == '__main__': detector, layer = "TT", "TTaU" - ns = 5 location = os.path.expandvars('$DISK/data/ST/Aging_Tuples/') macros = os.path.expandvars('$CCEHOME/macros/CCEScan/') @@ -46,6 +45,7 @@ fill = int(sys.argv[1]) sector = int(sys.argv[2]) + ns = int(sys.argv[3]) filename = location + '/' + detector + '/' + layer + '/%s.root' % fill file = r.TFile(filename, 'read')