Skip to main content

Posts

Showing posts from February 28, 2010

copy root files from SAM to a local directory

copy the following file and name it xxx.py. $ vi get_sam_ww.py import os, sys, time ############################################################################ # project_definition = "singletop_recovery_p20mu_201002271038" sam_station        = os.environ['SAM_STATION'] snapshot_version   = 'new' appname            = 'generic' version            = "1" group              = "dzero" max_file_amt       = 1000 ##verbosity          = "--verbose" verbosity           = "" # Give up on all exceptions give_up            = 1 def file_ready(filename):     now = time.st...