Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hepsim:usage_download [2017/04/13 02:59]
hepsim17
hepsim:usage_download [2017/06/09 22:00]
hepsim17
Line 3: Line 3:
 [[:|<< back to HepSim manual]] [[:|<< back to HepSim manual]]
  
-======  Dealing with data ======+======  HepSim data files ======
  
 ======  EVGEN events ====== ======  EVGEN events ======
Line 129: Line 129:
  
 <code bash> <code bash>
-hs-ls tev100_higgs_ttbar_mg5+hs-ls tev100pp_higgs_ttbar_mg5
 </code> </code>
  
Line 135: Line 135:
  
 <code bash> <code bash>
-hs-ls tev100_higgs_ttbar_mg5 simple+hs-ls tev100pp_higgs_ttbar_mg5 simple
 </code> </code>
 The string "simple" removes the decorations. If you want a list with full URL and without decorations, use: The string "simple" removes the decorations. If you want a list with full URL and without decorations, use:
  
 <code bash> <code bash>
-hs-ls tev100_higgs_ttbar_mg5 simple-url+hs-ls tev100pp_higgs_ttbar_mg5 simple-url
 </code> </code>
  
Line 225: Line 225:
 </code> </code>
 where [name] is either the name of the dataset, or the URL of Info page [[http://atlaswww.hep.anl.gov/hepsim/ | HepSim repository]], or a direct URL pointing to the locations of ProMC files. where [name] is either the name of the dataset, or the URL of Info page [[http://atlaswww.hep.anl.gov/hepsim/ | HepSim repository]], or a direct URL pointing to the locations of ProMC files.
-This example downloads dataset "tev100_higgs_ttbar_mg5" to the directory "data":+This example downloads dataset "tev100pp_higgs_ttbar_mg5" to the directory "data":
 <code bash> <code bash>
-hs-get tev100_higgs_ttbar_mg5 data+hs-get tev100pp_higgs_ttbar_mg5 data
 </code> </code>
 You will be prompted to use certain mirror (if there are alternative mirrors). Select the mirror and start downloading the files. You will be prompted to use certain mirror (if there are alternative mirrors). Select the mirror and start downloading the files.
Line 239: Line 239:
 hs-get http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/higgs_ttbar_mg5 data hs-get http://mc.hep.anl.gov/asc/hepsim/events/pp/100tev/higgs_ttbar_mg5 data
 </code> </code>
-All these examples will download all files from the "tev100_higgs_ttbar_mg5" event sample. +All these examples will download all files from the "tev100pp_higgs_ttbar_mg5" event sample. 
  
 <note important>If you see that the download is slow, use an alternative URL from the mirror list which is given for each dataset. <note important>If you see that the download is slow, use an alternative URL from the mirror list which is given for each dataset.
Line 253: Line 253:
  
 Instead of [Download URL], one can use the URL of the info page, or the name of the dataset. Instead of [Download URL], one can use the URL of the info page, or the name of the dataset.
-Here are 2 identical examples to download 5 files using single (1) thread and the ouput directory "data":+Here are 2 identical examples to download 5 files using single (1) thread and the output directory "data":
  
 Using the URL of the info page: Using the URL of the info page:
Line 261: Line 261:
 or, when using the dataset name given on the info page: or, when using the dataset name given on the info page:
 <code bash> <code bash>
-hs-get tev100_higgs_ttbar_mg5  data 1 5+hs-get tev100pp_higgs_ttbar_mg5  data 1 5
 </code> </code>
  
 You can also download files that have certain pattern in the names. If a directory contains files generated with different pt cuts, You can also download files that have certain pattern in the names. If a directory contains files generated with different pt cuts,
-the names are usually have the substring "pt", followed by the pT cuts. In this case, one can download such files as:+the names are usually have the sub-string "pt", followed by the pT cuts. In this case, one can download such files as:
  
 <code bash> <code bash>
-hs-get tev13_higgs_pythia8_ptbins data 2 5 pt100_+hs-get tev13pp_higgs_pythia8_ptbins data 2 5 pt100_
 </code> </code>
 The last argument shows that all the downloaded files should have the string "pt100_" in their names (in this case, it tells that the  The last argument shows that all the downloaded files should have the string "pt100_" in their names (in this case, it tells that the 
Line 289: Line 289:
 Reconstructed files are stored inside the directory "rfastNNN" (fast simulation) or "rfullNNN" (full simulation), Reconstructed files are stored inside the directory "rfastNNN" (fast simulation) or "rfullNNN" (full simulation),
 where "NNN" is the version number. For example, where "NNN" is the version number. For example,
-[[http://atlaswww.hep.anl.gov/hepsim/info.php?item=15|tev100_ttbar_mg5]] sample includes the link "rfast001" (Delphes+[[http://atlaswww.hep.anl.gov/hepsim/info.php?item=15|tev100pp_ttbar_mg5]] sample includes the link "rfast001" (Delphes
 fast simulation, version 001). To download the reconstructed events for the reconstruction tag "rfast001", use this syntax: fast simulation, version 001). To download the reconstructed events for the reconstruction tag "rfast001", use this syntax:
  
 <code bash> <code bash>
-hs-ls  tev100_ttbar_mg5%rfast001      # list reco files with the tag "rfast001" +hs-ls  tev100pp_ttbar_mg5%rfast001      # list reco files with the tag "rfast001" 
-hs-get tev100_ttbar_mg5%rfast001 data # download to the "data" directory+hs-get tev100pp_ttbar_mg5%rfast001 data # download to the "data" directory
 </code> </code>
-The symbol "%" separates the sample name (tev100_ttbar_mg5) from the reconstruction tag (rfast001).+The symbol "%" separates the sample name (tev100pp_ttbar_mg5) from the reconstruction tag (rfast001).
 If you want to download 10 files in 3 threads, use this: If you want to download 10 files in 3 threads, use this:
 <code> <code>
-hs-get  tev100_ttbar_mg5%rfast001 data 3 10+hs-get  tev100pp_ttbar_mg5%rfast001 data 3 10
 </code> </code>