diff --git a/m4lRangeStudy.py b/optimizeM4lCut/m4lRangeStudy.py similarity index 99% rename from m4lRangeStudy.py rename to optimizeM4lCut/m4lRangeStudy.py index 8f331f85c9c0ad01cb80e6bf3b66dfc1087db931..1950234457f765390e7bfc841884d9b82490057e 100644 --- a/m4lRangeStudy.py +++ b/optimizeM4lCut/m4lRangeStudy.py @@ -10,6 +10,11 @@ import os import collections # so we can use collections.defaultdict to more easily construct nested dicts on the fly import resource # print 'Memory usage: %s (kb)' % resource.getrusage(resource.RUSAGE_SELF).ru_maxrss +# import sys and os.path to be able to import plotPostProcess from the parent directory +import sys +from os import path +sys.path.append( path.dirname( path.dirname( path.abspath(__file__) ) ) ) # need to append the parent directory here explicitly to be able to import plotPostProcess + import plotPostProcess as postProcess from functions.histTools import getSmallestInterval # my own tools for ROOT histograms import math # for simple math diff --git a/testm4lStudy.root b/optimizeM4lCut/testm4lStudy.root similarity index 100% rename from testm4lStudy.root rename to optimizeM4lCut/testm4lStudy.root