Namespaces | Variables
filelisting.py File Reference

Go to the source code of this file.

Namespaces

 filelisting
 

Variables

 filelisting.samweb = samweb_cli.SAMWebClient(experiment='dune')
 
 filelisting.files = samweb.listFiles("defname: %s " % (sys.argv[1]))
 
int filelisting.run = -1
 
int filelisting.totalevts = -1
 
 filelisting.loc = samweb.locateFile(file)
 
 filelisting.metadata = samweb.getMetadata(file)
 
 filelisting.f = open("input_run%s.txt" % run, "w")
 
 filelisting.pnfs = loc[0]['full_path'][8:]
 
 filelisting.stream = os.popen("pnfsToXRootD %s/%s" % (pnfs,file))
 
 filelisting.xroot = stream.read()
 
 filelisting.tfile = TFile.Open(xroot.strip())
 
 filelisting.mytree = gDirectory.Get('michelremoving2/Event')