Skip to content
/ FCCSW Public
forked from HEP-FCC/FCCSW

FCC software, common to FCC-hh, -ee, and -eh.

Notifications You must be signed in to change notification settings

pjanot/FCCSW

 
 

Repository files navigation

FCCSW

Common software for all FCC experiments. This software is based on Gaudi.

Working with GitHub

In this section, you will first find a description of our github organization and workflow. Then, you will find instructions for setting up your github account, and taking part in this workflow.

Organization and workflow

  • The FCC github organization is responsible for software integration. It owns the "main" copies of the FCC software repositories on github:

    • FCCSW : core software shared by hh, ee, and he
    • FCCSW-hh : software specific to the hh configuration
    • FCCSW-ee : to be created
    • FCCSW-eh : to be created
  • Individual github users do not directly push their code to the FCC repositories. Instead, they make ("fork") their own copy of the FCC repositories on github. Then, they:

    • develop and commit on their local machine
    • push their code to their copy of the FCC repositories on github
    • send pull requests to the FCC organization. The FCC organization administrators are then free to pull the code from the user repositories or not, thus taking the responsibility of the software integrity for the organization.

Instructions for new users

  1. create a github account if you don't have one.
  2. go to https://github.com/HEP-FCC/FCCSW and click "Fork" at the top right of the page. You are directed to your newly forked copy of the FCCSW repository
  3. in the instructions below, replace <username> by your github username

Installation

Prepare a global software zone for FCC:

mkdir FCC
cd FCC
export FCCBASE=$PWD

Clone the Gaudi repository:

git clone -b dev/hive  http://cern.ch/gaudi/GaudiMC.git GAUDI/GAUDI_v25r2
export GAUDI=$FCCBASE/GAUDI/GAUDI_v25r2

Clone the FCCSW repository: replace <username> by your github username

git clone [email protected]:<username>/FCCSW.git FCCSW 
export FCCSW=$FCCBASE/FCCSW

Set up your environment:

cd $FCCSW
source init.sh

Compile Gaudi (it will take a bit of time, but you won't do this often):

cd $GAUDI
make -j 12 
make install  # _do not forget to install_

Compile the FCC software:

cd $FCCSW
make -j 12

Test

cp ~hegner/public/example_MyPythia.dat .
./run gaudirun.py example_options.py

You should see an HepMC printout.

About

FCC software, common to FCC-hh, -ee, and -eh.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.4%
  • Python 3.6%
  • Other 1.0%