File indexing completed on 2024-04-06 12:09:23
0001
0002
0003 from __future__ import print_function
0004 import os, sys
0005 if len(sys.argv) > 1:
0006 os.environ['DD_SOURCE'] = sys.argv[1]
0007
0008 import DQMOffline.EGamma.electronDataDiscovery as dd
0009
0010 if os.environ['DD_TIER_SECONDARY'] == "":
0011 files = dd.search()
0012 print("dataset has", len(files), "files:")
0013 for file in files:
0014 print(file)
0015 else:
0016 files = dd.search()
0017 print("dataset has", len(files), "primary files:")
0018 for file in files:
0019 print(file)
0020 files = dd.search2()
0021 print("dataset has", len(files), "secondary files:")
0022 for file in files:
0023 print(file)
0024
0025
0026
0027