Skip to content

eic/epic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a010ff · Dec 3, 2024
Apr 16, 2024
Nov 25, 2024
Mar 24, 2024
Sep 19, 2024
Apr 16, 2024
Jul 23, 2024
Dec 3, 2024
Nov 26, 2024
May 2, 2023
Mar 24, 2024
Oct 9, 2024
Dec 3, 2024
Oct 12, 2024
Nov 7, 2022
Apr 16, 2024
Apr 16, 2024
Apr 2, 2024
Nov 27, 2024
Jan 6, 2023
Jul 23, 2024
Dec 26, 2022
Nov 24, 2022
Nov 24, 2022
May 22, 2024
Mar 24, 2024
Jun 14, 2022

Repository files navigation

CI status

Overview

craterlake

Detector geometry:

Detector parameters:

Getting Started

Get a copy of the latest version from this repository:

git clone https://github.com/eic/epic.git

Compilation

To configure, build, and install the geometry (to the install directory), use the following commands:

cmake -B build -S . -DCMAKE_INSTALL_PREFIX=install
cmake --build build
cmake --install build

To load the geometry, you can use the scripts in the install directory:

source install/bin/thisepic.sh

Adding/changing detector geometry

Hint: Use the CI/CD pipelines.

To avoid dealing with setting up all the dependencies, we recommend using the continuous integration/continuous deployment (CI/CD) pipelines to make changes and assess their effects. Any feedback to help this process is appreciated.

Here is how to begin:

  1. Look at existing detector constructions and reuse if possible. Note that "compact detector descriptions" -> xml files, and "detector construction" -> cpp file.
  2. Modify xml file or detector construction.
  3. Create a WIP (or draft) merge request or pull request and look at the CI output for debugging. Then go to back to 2 if changes are needed.
  4. Remove the WIP/Draft part of the merge request if you would like to see your changes merged into the main.

See:

Compiling (avoid it)

First, see if the use case above is best for you. It most likely is and can save a lot of time for newcomers. To run the simulation locally, we suggest using the singularity image. More details can be found at the links below:

Related useful links