Skip to content

Commit

Permalink
minor fixes from Jpsi analysis branch by geonmo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhgoh committed Jul 19, 2014
1 parent e85b339 commit c7e81f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Configuration/python/customise_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,5 @@ def addNtupleStep(process, runOnMC):

getattr(process, mode).eventCounters.extend([
"nEventsHLT%s" % mode, "nEventsNtuple%s" % mode,
"nEventsNtuple%s" % mode,
])

4 changes: 2 additions & 2 deletions GenericNtuple/test/makeNtuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def fed(args):
if not os.path.isdir("ntuple"): os.makedirs("ntuple")

samples = []
basedir = "/data/local/data01/jhgoh/CMS/ntuple/Generic/20140120_1/"
basedir = "MC/"
samples.extend([basedir+x for x in os.listdir(basedir) if 'root' in x])
basedir = "/data/local/data01/jhgoh/CMS/ntuple/Generic/20140120_2/"
basedir = "RD/"
samples.extend([basedir+x for x in os.listdir(basedir) if 'root' in x])
p = multiprocessing.Pool(multiprocessing.cpu_count())
p.map(fed, [(x, y) for x in ("MuMu", "ElEl", "MuEl") for y in samples])
Expand Down

0 comments on commit c7e81f7

Please sign in to comment.