diff --git a/Phys/B2KShh/job/selection.py b/Phys/B2KShh/job/selection.py index 8849665..4f1eb08 100644 --- a/Phys/B2KShh/job/selection.py +++ b/Phys/B2KShh/job/selection.py @@ -42,16 +42,18 @@ os.system('mkdir -p %s' % target_path) if not os.path.isfile(target_path + source): + print "\tSource file not in target directory, I'll bring it along..." os.system('cp %s %s' % (source_path + source, target_path + source)) outfilename = source.split('.')[0] + '_' + '_'.join(sel_names) + '.root' +print '\tCreating file %s ...' % outfilename outfile = r.TFile(target_path + outfilename, 'recreate') clones = [] if truth_tree: - print 'Copying MCTruth tree...' + print '\tCopying MCTruth tree...' truth_tree.AutoSave() for t in recotrees: - print 'Copying %s tree...' % t.GetName() + print '\tCopying %s tree...' % t.GetName() clones.append(t.CopyTree(' && '.join([sel_strings[sel_name] for sel_name in sel_names]))) for c in clones: c.AutoSave()