📅  最后修改于: 2023-12-03 15:00:23.725000             🧑  作者: Mango
Delphes is a fast detector simulator for High Energy Physics (HEP) applications. It is capable of simulating a variety of detectors such as CMS, ATLAS, and LHCb. This guide will walk you through the installation process of Delphes in Shell/Bash.
Before installing Delphes, you will need to have the following installed on your system:
tar xvzf Delphes-<version>.tgz
Replace <version> with the specific version of Delphes you downloaded.cd Delphes-<version>
make -j4
The -j flag specifies the number of cores to use for compilation. Adjust this value based on the number of cores available on your system../Delphes examples/delphes_card_CMS.tcl examples/delphes_output.root examples/delphes_input.root
This will simulate a CMS detector using a sample input file and output the results to a ROOT file.Congratulations! You have successfully installed Delphes using Shell/Bash. Now you can start using Delphes to simulate detectors for your High Energy Physics applications.