Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hepsim:usage_download [2017/02/07 22:00] hepsim17 [Downloading files after detector simulation] |
hepsim:usage_download [2017/06/09 22:00] hepsim17 |
||
---|---|---|---|
Line 3: | Line 3: | ||
[[: | [[: | ||
- | ====== | + | ====== |
====== | ====== | ||
Line 12: | Line 12: | ||
The compact ProMC files optimized for web streaming, together with the http protocol optimized | The compact ProMC files optimized for web streaming, together with the http protocol optimized | ||
to handle many (relatively small) files, is one of the distinct features of HepSim compared to other production systems. | to handle many (relatively small) files, is one of the distinct features of HepSim compared to other production systems. | ||
- | |||
Simulated data after fast and full detector simulations are kept in ROOT and LCIO formats. | Simulated data after fast and full detector simulations are kept in ROOT and LCIO formats. | ||
- | |||
====== | ====== | ||
Line 104: | Line 102: | ||
All entries are self-explanatory. Varint units - values used to multiply energy (momenta) to convert to variable-byte integers. | All entries are self-explanatory. Varint units - values used to multiply energy (momenta) to convert to variable-byte integers. | ||
- | The " | + | The " |
See the [[http:// | See the [[http:// | ||
Line 111: | Line 109: | ||
<code bash> | <code bash> | ||
- | hs-info http:// | + | hs-info http:// |
</ | </ | ||
Line 131: | Line 129: | ||
<code bash> | <code bash> | ||
- | hs-ls tev100_higgs_ttbar_mg5 | + | hs-ls tev100pp_higgs_ttbar_mg5 |
</ | </ | ||
Line 137: | Line 135: | ||
<code bash> | <code bash> | ||
- | hs-ls tev100_higgs_ttbar_mg5 | + | hs-ls tev100pp_higgs_ttbar_mg5 |
</ | </ | ||
The string " | The string " | ||
<code bash> | <code bash> | ||
- | hs-ls tev100_higgs_ttbar_mg5 | + | hs-ls tev100pp_higgs_ttbar_mg5 |
</ | </ | ||
Line 213: | Line 211: | ||
If you are interested in a specific reconstruction tag, use " | If you are interested in a specific reconstruction tag, use " | ||
Example: | Example: | ||
+ | |||
<code bash> | <code bash> | ||
hs-find pythia%rfast001 | hs-find pythia%rfast001 | ||
Line 226: | Line 225: | ||
</ | </ | ||
where [name] is either the name of the dataset, or the URL of Info page [[http:// | where [name] is either the name of the dataset, or the URL of Info page [[http:// | ||
- | This example downloads dataset "tev100_higgs_ttbar_mg5" to the directory " | + | This example downloads dataset "tev100pp_higgs_ttbar_mg5" to the directory " |
<code bash> | <code bash> | ||
- | hs-get | + | hs-get |
</ | </ | ||
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 240: | Line 239: | ||
hs-get http:// | hs-get http:// | ||
</ | </ | ||
- | 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> | <note important> | ||
Line 254: | 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 " | + | Here are 2 identical examples to download 5 files using single (1) thread and the output |
Using the URL of the info page: | Using the URL of the info page: | ||
Line 262: | 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 | + | hs-get |
</ | </ | ||
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 | + | the names are usually have the sub-string |
<code bash> | <code bash> | ||
- | hs-get | + | hs-get |
</ | </ | ||
The last argument shows that all the downloaded files should have the string " | The last argument shows that all the downloaded files should have the string " | ||
Line 277: | Line 276: | ||
<code bash> | <code bash> | ||
- | [URL] [OUTPUT_DIR] [Nr of threads (optional)] [Nr of files (optional)] [pattern (optional)]. | + | hs-get |
</ | </ | ||
where [URL] is either info URL, [Download URL], or the dataset name. | where [URL] is either info URL, [Download URL], or the dataset name. | ||
Line 290: | Line 289: | ||
Reconstructed files are stored inside the directory " | Reconstructed files are stored inside the directory " | ||
where " | where " | ||
- | [[http:// | + | [[http:// |
fast simulation, version 001). To download the reconstructed events for the reconstruction tag " | fast simulation, version 001). To download the reconstructed events for the reconstruction tag " | ||
<code bash> | <code bash> | ||
- | hs-ls | + | hs-ls |
- | hs-get | + | hs-get |
</ | </ | ||
- | The symbol " | + | The symbol " |
If you want to download 10 files in 3 threads, use this: | If you want to download 10 files in 3 threads, use this: | ||
< | < | ||
- | hs-get | + | hs-get |
</ | </ | ||