User Tools

Site Tools



How to download the MC samples

At this moment, you can download the ROOT files from this server. The URL links are provided below. It is recommended to download one-two files and check you code, before downloading the rest. You can find the URL location by using the mouse, and clicking on “copy URL link”, then you can download one file for testing as:


On can also download all ROOT files in an automated way. For example, try this Python script:
#!/usr/bin/env python
import sys,os,string
__version__ = '1.0'
__author__  = 'Sergei Chekanov  ([email protected])'
if len(sys.argv)<4:
    print "Usage: python nfiles dir name"
    print "Exit.."
TOT_FILES=int(sys.argv[1]) # Nr of files to download 
print "Nr of files to copy=",TOT_FILES
print "Copy files from=",server
print xdir+"/"+xname
for i in range(TOT_FILES):
  cmt="wget --no-check-certificate -N "+server+xdir+"/"+f
  print "Downloading .."+f

And run it as:

python 5 pythia8/ttbar650pt pythia8_ttbar_pt650

Copy 5 ROOT files to copy from the directory “pythia8/ttbar650pt”, all files with the generic name “pythia8_ttbar_pt650”. Change 5 to a larger value if you need more files.

You can always stop downloading ([Ctrl-C]) and start downloading again from same files. It uses the (‘-N’) option - with this option, for each file it intends to download, wget will check whether a local file of the same name exists. If it does, and the remote file is not newer, Wget will not download it.

snowmass2013/download.txt · Last modified: 2014/04/24 01:51 (external edit)