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
hepsim:dev_hepsim [2020/06/26 21:12]
hepsim17
hepsim:dev_hepsim [2020/06/26 21:24] (current)
hepsim17
Line 3: Line 3:
 [[:|<< back to HepSim manual]] [[:|<< back to HepSim manual]]
  
-====== Linking event storages======+====== Linking event storage ======
  
-Your files can be  published on [[https://atlaswww.hep.anl.gov/hepsim/|HepSim]] and you  can maintain your own HepSim repository with PROMC/SLCIO/ROOT files. This is useful if:+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 locationsIt is your responsibility 
 +to maintain Monte Carlo data visible from HepSim.  HepSim tools allow:
  
-  * You want to share your own filesso they will be available from HepSim +  * to index files so they will be available from HepSim; 
-  * You want to make a  mirror of data on a server close to your location for faster download+  * to make mirrors of data on a server close to your location for faster download;
  
  
 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.
 +
 +If you created  Monte Carlo files, you can publish them using hepsim#petrel project, and link such files
 +to HepSim after you index them as explained below. In this case you do not need to maintain  a web server.
  
  
 ====== 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 52: Line 57:
 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 89: Line 94:
 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