ATLAS Offline Software
|
Go to the source code of this file.
Namespaces | |
mergePhysValFiles | |
Functions | |
def | mergePhysValFiles.mergeFolder (path) |
Variables | |
mergePhysValFiles.start = time.clock() | |
mergePhysValFiles.parser = argparse.ArgumentParser(description='Merge specific folder(s) in root files.') | |
mergePhysValFiles.help | |
mergePhysValFiles.default | |
mergePhysValFiles.nargs | |
mergePhysValFiles.args = parser.parse_args() | |
mergePhysValFiles.folder = os.path.abspath(args.input) | |
mergePhysValFiles.mergeDirs = args.dir | |
mergePhysValFiles.origDir = os.getcwd() | |
mergePhysValFiles.out = args.output | |
mergePhysValFiles.pattern = args.pattern | |
mergePhysValFiles.output_file = os.path.abspath(args.output) | |
mergePhysValFiles.files = glob.glob(folder + "/" + pattern) | |
mergePhysValFiles.f = ROOT.TFile(output_file, "recreate") | |
mergePhysValFiles.f2 = ROOT.TFile(files[1]) | |
list | mergePhysValFiles.errors = [] |
mergePhysValFiles.newfolder = f.mkdir(mergeDir,mergeDir) | |
mergePhysValFiles.end = time.clock() | |