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
Last revision Both sides next revision
hepsim:dev_hepsim [2020/06/26 21:19]
hepsim17
hepsim:dev_hepsim [2020/06/26 21:22]
hepsim17
Line 5: Line 5:
 ====== Linking event storage ====== ====== Linking event storage ======
  
-Monte Carlo files from any location can be  published on [[https://atlaswww.hep.anl.gov/hepsim/|HepSim].+Monte Carlo files from any location can be  published on [[https://atlaswww.hep.anl.gov/hepsim/|HepSim]].
 HepSim is not a storage, but a catalog of files stored in multiple URL locations. It is your responsibility HepSim is not a storage, but a catalog of files stored in multiple URL locations. It is your responsibility
 to maintain Monte Carlo data visible from HepSim.  HepSim tools allow: to maintain Monte Carlo data visible from HepSim.  HepSim tools allow:
Line 15: Line 15:
 If the dataset is new, you will see a new entry in the HepSim database. Your authorship will be preserved on the HepSim web page. If the dataset is new, you will see a new entry in the HepSim database. Your authorship will be preserved on the HepSim web page.
 If you have made a mirror of the existing data, your server will be added as a mirror for a given dataset. If you have made a mirror of the existing data, your server will be added as a mirror for a given dataset.
 +
  
  
 ====== What do you need ====== ====== What do you need ======
  
-You need the following:+If you decide to publish Monte Carlo files (or make a mirror of the existing files), you need the following:
  
   * A web server that can hold your data (>1 TB for /var/www/html is recommended). It is advisable to create a separate partition with RAID10, say, /data, and link this directory to /var/www/html/   * A web server that can hold your data (>1 TB for /var/www/html is recommended). It is advisable to create a separate partition with RAID10, say, /data, and link this directory to /var/www/html/
Line 54: Line 55:
 tar -zvxf hepsim_web.tgz tar -zvxf hepsim_web.tgz
 cd hepsim_web/web_post cd hepsim_web/web_post
-wget http://atlaswww.hep.anl.gov/hepsim/soft/hs-toolkit.tgz -O - | tar -xz;+wget https://atlaswww.hep.anl.gov/hepsim/soft/hs-toolkit.tgz -O - | tar -xz;
 source hs-toolkit/setup.sh # this checks if Java is installed source hs-toolkit/setup.sh # this checks if Java is installed
 </code> </code>
Line 91: Line 92:
 source hs-toolkit/setup.sh # setup HepSim programs source hs-toolkit/setup.sh # setup HepSim programs
 # now copy a dataset from URL to a new location # now copy a dataset from URL to a new location
-SOURCE=http://cepcgit.ihep.ac.cn:81/hepsim/events/ee/250gev/pythia6_higgs_gamgam_test+SOURCE=https://cepcgit.ihep.ac.cn:81/hepsim/events/ee/250gev/pythia6_higgs_gamgam_test
 OUTPUT_DIR=/var/www/html/ OUTPUT_DIR=/var/www/html/
 hs-mirror -i $SOURCE -o $OUTPUT_DIR hs-mirror -i $SOURCE -o $OUTPUT_DIR