https://github.com/hep-fcc/fccanalyses
Common analysis framework for the Future Circular Collider
https://github.com/hep-fcc/fccanalyses
cern fcc hep
Last synced: 5 months ago
JSON representation
Common analysis framework for the Future Circular Collider
- Host: GitHub
- URL: https://github.com/hep-fcc/fccanalyses
- Owner: HEP-FCC
- License: apache-2.0
- Created: 2019-03-22T14:09:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T16:43:35.000Z (6 months ago)
- Last Synced: 2026-01-12T21:36:19.315Z (6 months ago)
- Topics: cern, fcc, hep
- Language: C++
- Homepage: https://hep-fcc.github.io/FCCAnalyses/
- Size: 82.8 MB
- Stars: 32
- Watchers: 10
- Forks: 164
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Zenodo: .zenodo.json
Awesome Lists containing this project
README
# FCCAnalyses
[](https://zenodo.org/doi/10.5281/zenodo.4767810)
`master`: [](https://github.com/HEP-FCC/FCCAnalyses/actions/workflows/test.yml)
[](https://github.com/HEP-FCC/FCCAnalyses/actions/workflows/docs.yml)
[](https://github.com/HEP-FCC/FCCAnalyses/actions/workflows/bench.yml)
`pre-edm4hep1`: [](https://github.com/HEP-FCC/FCCAnalyses/actions/workflows/test.yml)
Common framework for FCC related analyses. This framework allows one to write
full analysis, taking [EDM4hep](https://github.com/key4hep/EDM4hep) input ROOT
files and producing the plots.
## Quick Start
Running analysis script can be done using `fccanalysis` command which is
shipped in Key4hep stack:
```sh
source /cvmfs/sw.hsf.org/key4hep/setup.sh
fccanalysis run analysis_script.py
```
## Pre-generated Samples
### Access
To have read access to the FCC pre-generated samples, one needs to be subscribed to
the following e-group (with owner approval): `fcc-eos-access`.
### Winter 2023 and Spring 2021 Pre-generated Samples
In order to run over pre-generated samples from `winter2023` or `spring2021`
campaigns one needs to compile `pre-edm4hep1` branch of the FCCAnalyses in the
`2024-03-10` release:
```sh
source /cvmfs/sw.hsf.org/key4hep/setup.sh -r 2024-03-10
git clone --branch pre-edm4hep1 git@github.com:HEP-FCC/FCCAnalyses.git
cd FCCAnalyses
source ./setup.sh
fccanalysis build -j 8
```
### Sample Metadata
All sample information, including Key4hep stack used for the campaign, is
collected at the
[FCC Physics Events](https://fcc-physics-events.web.cern.ch/)
website.
## Documentation
Detailed documentation can be found at the
[FCCAnalyses](https://hep-fcc.github.io/FCCAnalyses/) webpage.
## Contributing
As usual, if you aim at contributing to the repository, please fork it, develop
your feature/analysis and submit a pull requests.
### Code Formating
The preferred style of the C++ code in the
[FCCAnalyses](https://hep-fcc.github.io/FCCAnalyses/) is LLVM, which is checked
by a CI job.
To apply formatting to a file:
```
clang-format -i -style=file /path/to/file.cpp
```