This is an old revision of the document!
Your files can be published on HepSim and you can maintain your own Hepim repository with PROMC/SLCIO/ROOT files. This is useful if:
If the dataset is new, you will see a new entry in the HepSim database. If you have made a mirror, your server will be added as a mirror for a given dataset.
Your authorship will be preserved inside HepSim web page.
You need the following:
The root directory of a typical HepSim repository is called “events”. This directory should be served by Apache. You will need to make the directory structure such as:
|-events | |-pp | | |-14tev | | | |-qcd_pythia8 | | | | |-rfast001 | | | | |-rfull001 | | | | |-macros
(it shows a data sample for 14 TeV pp with the name “qcd_pythia8”). The directory “events/pp/14tev/qcd_pythia8” should contain truth-level ProMC files. The sub-directories “rfast001” contains fast simulation files (tag “rfast001”), while “rfull001” should contain LCIO files with full simulation. The directory “macros” contains macro files written in Jython for validation, as well as images (optional).
After populating the directory “events/pp/14tev/qcd_pythia8” with ProMC files, you will need to index all files (including reconstruction tags). Install the needed packages as explained below. Download the example from hepsim_web.tgz Assuming that you are in the directory above the directory “events”, run these commands:
wget https://atlaswww.hep.anl.gov/asc/wikidoc/lib/exe/fetch.php?media=community:hepsim:hepsim_web.tgz -O hepsim_web.tgz tar -zvxf hepsim_web.tgz cd hepsim_web/web_post wget http://atlaswww.hep.anl.gov/hepsim/soft/hs-toolkit.tgz -O - | tar -xz; source hs-toolkit/setup.sh # this checks if Java is installed
This package has 2 directories:
This package has 2 example files in “events/ee/250gev/pythia6_higgs_gamgam” to illustrate how the indexing works.
Now, index all ProMC/ROOT/SLCIO files located in “events”. Open the script “A_RUN_hepsim.sh” and specify the location of the “events” directory. Then run “bash ./A_RUN_hepsim.sh”. It will process the directory “events/”. You can edit the script to change the indexed directory to ““events/pp/100tev/”. After indexing, several new files should appear, such as “files.zip”, “metadata.txt” and “dirs.idx”.
To make sure that everything works, look with the browser in the HTTP link “http://yourserver/events/”. You should see your files and the directory structure. Note that what you see is not what you see in HepSim, which does not use the “index.php” file.
Now you can:
In both cases, make sure that Linux system administrator set correct permission for the directory “events”, so you can copy the files. The directory for indexing should be inside your private directory outside the Web area.
If you have indexed the files successfully, send a request to “[email protected]” (or [email protected]) to include your repository to HepSim database. Please include a short description of your files and your name.
— Sergei Chekanov 2016/04/28 21:31