High level repository for the common software of the Future Circular Collider. Formerly it was a collection of components intended to be run in the Gaudi framework. These days this repository contains little actual code, which can instead be found in the following places:
key4hep/k4FWCore: Basic I/O componentskey4hep/k4Gen: Generators and Particle Gunskey4hep/k4SimDelphes: Delphes Fast Simkey4hep/k4SimGeant4: Geant4 Full Simkey4hep/k4geo: DD4hep models of FCC-ee detector geometries for Full Simhep-fcc/fccdetectors: DD4hep models of FCC-hh detector geometries for Full Simhep-fcc/k4RecCalorimeter: Calorimeter Reconstruction Codekey4hep/k4RecTracker: Tracker reconstruction code
FCCSW is a stakeholder of the Key4hep software ecosystem.
# setup: works on LXPLUS or any Alma9/RHEL compatible OS with CVMFS
source /cvmfs/sw.hsf.org/key4hep/setup.sh
# or
source /cvmfs/fcc.cern.ch/sw/latest/setup.sh
# ^ currently a simple alias of the Key4hep setup script
# Run Pythia generator with EDM4hep output
k4run Examples/options/pythia.py
# Full simulation of FCC-hh, single particle
k4run Examples/options/geant_fullsim_fcchh_main.py
# Full simulation of FCC-ee CLD, single particle
k4run Examples/options/geant_fullsim_fccee_cld_pgun.pyPlease consult the FCCSW homepage for more links, and the fcc-tutorials for an introduction to the software. The key4hep documentation also contains plenty of relevant information.
In case of issues there is a FCC Software Forum.
After fetching of the repository, do
source /cvmfs/sw.hsf.org/key4hep/setup.sh
mkdir build install
cd build
cmake -DCMAKE_INSTALL_PREFIX=install ..
make -j4
make install
cd ..
k4_local_repo # will update all necessary environment variables