Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hepsim:dev_fast [2017/03/19 16:33] hepsim17 [Creating Delphes files] |
hepsim:dev_fast [2018/04/27 16:35] hepsim17 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
[[: | [[: | ||
- | Fast simulations in the HepSim are posted under the [[http:// | + | ====== Creating Delphes files ====== |
+ | |||
+ | |||
+ | Fast simulations in the HepSim are posted under the [[http:// | ||
+ | |||
+ | Generally, you do not need to install Delphes to run fast simulations. You can run fast simulations using the HepSim singularity container. This topic is described in [[hepsim: | ||
+ | |||
+ | Below is the description how to use Delphes if you do not want to use the HepSim docker container. | ||
===== Creating Delphes files ===== | ===== Creating Delphes files ===== | ||
- | Here we describe how to make fast detector simulation files | + | Here we describe how to make fast detector simulation files using separate external libraries, without installing FastHepSim. Use the [[https:// |
- | using separate external libraries, without installing FastHepSim. | + | |
- | Use the [[https:// | + | |
<code bash> | <code bash> | ||
echo $PROMC $ROOTSYS | echo $PROMC $ROOTSYS | ||
</ | </ | ||
- | This should point to the installation paths of ProMC and ROOT. The detectors configurations for Delphes together with appropriate Delphes package are posted to [[http:// | + | This should point to the installation paths of ProMC and ROOT. The detectors configurations for Delphes together with appropriate Delphes package are posted to [[http:// |
Copy the ZIP file with Delphes card and Delphes package and compile it. | Copy the ZIP file with Delphes card and Delphes package and compile it. | ||
Line 26: | Line 31: | ||
cd $det | cd $det | ||
tar --strip-components=1 -zvxf Delphes*.tar.gz # untar in the current directory | tar --strip-components=1 -zvxf Delphes*.tar.gz # untar in the current directory | ||
- | ./ | + | ./configure; make # configure and compile |
- | ./ | + | </ |
+ | The last command should create the binary file " | ||
+ | |||
+ | <code bash> | ||
+ | wget http:// | ||
+ | ./ | ||
</ | </ | ||
+ | This commands creates a ROOT file with fast simulations. | ||
< | < | ||
- | Detector configuration files [detector].zip include the Delphes | + | Detector configuration files [detector].zip include the Delphes |
- | and the input control card " | + | and the input control card " |
</ | </ | ||
Line 54: | Line 65: | ||
- | One can also run Delphes in automated mode, without the above scripts. You need to use " | + | One can also run Delphes in an automated mode, without the above scripts. You need to use " |
- | < | + | < |
- | hs-exec DelphesProMC | + | hs-exec DelphesProMC |
</ | </ | ||
where [URL] is HepSim location of files and [Nfiles] is the number of files for processing. | where [URL] is HepSim location of files and [Nfiles] is the number of files for processing. | ||
Line 62: | Line 73: | ||
Here is a small example: | Here is a small example: | ||
- | < | + | < |
- | hs-exec DelphesProMC | + | hs-exec DelphesProMC |
</ | </ | ||
- | which processes 5 files from [[http://mc.hep.anl.gov/asc/hepsim/events/ | + | which processes 5 files from [[http://atlaswww.hep.anl.gov/ |
Line 168: | Line 179: | ||
+ | <note important> | ||
+ | {{ : | ||