Variables | |
| samweb = samweb_cli.SAMWebClient(experiment='dune') | |
| files = samweb.listFiles("defname: %s " % (sys.argv[1])) | |
| int | run = -1 |
| int | totalevts = -1 |
| loc = samweb.locateFile(file) | |
| metadata = samweb.getMetadata(file) | |
| f = open("input_run%s.txt" % run, "w") | |
| pnfs = loc[0]['full_path'][8:] | |
| stream = os.popen("pnfsToXRootD %s/%s" % (pnfs,file)) | |
| xroot = stream.read() | |
| tfile = TFile.Open(xroot.strip()) | |
| mytree = gDirectory.Get('michelremoving2/Event') | |
| filelisting.f = open("input_run%s.txt" % run, "w") |
Definition at line 29 of file filelisting.py.
| filelisting.files = samweb.listFiles("defname: %s " % (sys.argv[1])) |
Definition at line 11 of file filelisting.py.
| filelisting.loc = samweb.locateFile(file) |
Definition at line 18 of file filelisting.py.
| filelisting.metadata = samweb.getMetadata(file) |
Definition at line 20 of file filelisting.py.
| filelisting.mytree = gDirectory.Get('michelremoving2/Event') |
Definition at line 35 of file filelisting.py.
| filelisting.pnfs = loc[0]['full_path'][8:] |
Definition at line 30 of file filelisting.py.
| int filelisting.run = -1 |
Definition at line 13 of file filelisting.py.
| filelisting.samweb = samweb_cli.SAMWebClient(experiment='dune') |
Definition at line 9 of file filelisting.py.
Definition at line 31 of file filelisting.py.
| filelisting.tfile = TFile.Open(xroot.strip()) |
Definition at line 34 of file filelisting.py.
| int filelisting.totalevts = -1 |
Definition at line 14 of file filelisting.py.
| filelisting.xroot = stream.read() |
Definition at line 32 of file filelisting.py.
1.8.11