ATLAS Offline Software
|
Functions | |
def | mergeFolder (path) |
Variables | |
start = time.clock() | |
parser = argparse.ArgumentParser(description='Merge specific folder(s) in root files.') | |
help | |
default | |
nargs | |
args = parser.parse_args() | |
folder = os.path.abspath(args.input) | |
mergeDirs = args.dir | |
origDir = os.getcwd() | |
out = args.output | |
pattern = args.pattern | |
output_file = os.path.abspath(args.output) | |
files = glob.glob(folder + "/" + pattern) | |
f = ROOT.TFile(output_file, "recreate") | |
f2 = ROOT.TFile(files[1]) | |
list | errors = [] |
newfolder = f.mkdir(mergeDir,mergeDir) | |
end = time.clock() | |
list | categories |
string | restCategory = 'other' |
list | categories_with_subcategories_type_1 = ['SV', 'tracks'] |
list | sub_categories_type_1 |
list | categories_with_subcategories_type_2 = ['tagger_IP3D', 'tagger_RNNIP', 'tagger_DIPS', 'tagger_SV1', 'tagger_DL1dv01', 'tagger_DL1r', 'tagger_GN2v01','tagger_GN2Xv01'] |
list | sub_categories_type_2 |
list | categories_with_subcategories_type_3 = ['old_taggers'] |
list | sub_categories_type_3 |
list | categories_with_subcategories_type_4 = ['jet'] |
list | sub_categories_type_4 = [ 'jet'] |
list | jetcontainers |
dictionary | tagfolders = {} |
def mergePhysValFiles.mergeFolder | ( | path | ) |
Definition at line 45 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.args = parser.parse_args() |
Definition at line 21 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
list mergePhysValFiles.categories |
Definition at line 18 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.categories_with_subcategories_type_1 = ['SV', 'tracks'] |
Definition at line 37 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.categories_with_subcategories_type_2 = ['tagger_IP3D', 'tagger_RNNIP', 'tagger_DIPS', 'tagger_SV1', 'tagger_DL1dv01', 'tagger_DL1r', 'tagger_GN2v01','tagger_GN2Xv01'] |
Definition at line 46 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.categories_with_subcategories_type_3 = ['old_taggers'] |
Definition at line 53 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.categories_with_subcategories_type_4 = ['jet'] |
Definition at line 58 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
mergePhysValFiles.default |
Definition at line 17 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.end = time.clock() |
Definition at line 93 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
list mergePhysValFiles.errors = [] |
Definition at line 43 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.f = ROOT.TFile(output_file, "recreate") |
Definition at line 32 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.f2 = ROOT.TFile(files[1]) |
Definition at line 34 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
Definition at line 30 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.folder = os.path.abspath(args.input) |
Definition at line 22 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.help |
Definition at line 17 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
list mergePhysValFiles.jetcontainers |
Definition at line 63 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
mergePhysValFiles.mergeDirs = args.dir |
Definition at line 23 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.nargs |
Definition at line 19 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.newfolder = f.mkdir(mergeDir,mergeDir) |
Definition at line 83 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.origDir = os.getcwd() |
Definition at line 24 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.out = args.output |
Definition at line 25 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.output_file = os.path.abspath(args.output) |
Definition at line 27 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.parser = argparse.ArgumentParser(description='Merge specific folder(s) in root files.') |
Definition at line 16 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
mergePhysValFiles.pattern = args.pattern |
Definition at line 26 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
string mergePhysValFiles.restCategory = 'other' |
Definition at line 34 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
mergePhysValFiles.start = time.clock() |
Definition at line 14 of file DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py.
list mergePhysValFiles.sub_categories_type_1 |
Definition at line 39 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.sub_categories_type_2 |
Definition at line 48 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.sub_categories_type_3 |
Definition at line 55 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
list mergePhysValFiles.sub_categories_type_4 = [ 'jet'] |
Definition at line 60 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.
dictionary mergePhysValFiles.tagfolders = {} |
Definition at line 103 of file PhysicsAnalysis/JetTagging/JetTagValidation/JetTagDQA/scripts/mergePhysValFiles.py.