Skip to content

ShipSoft/data-model

Repository files navigation

SHiP Data Model

Event data model for the SHiP experiment, providing C++ data classes with ROOT dictionary support.

Data classes

Header Class Category
SHiP/MCParticle.hpp SHiP::MCParticle MC / generation
SHiP/SimHit.hpp SHiP::SimHit Simulation
SHiP/SimParticle.hpp SHiP::SimParticle Simulation
SHiP/SimResult.hpp SHiP::SimResult Simulation

All classes are plain structs with default member initialisers, suitable for ROOT I/O via RNTuple or TTree.

Building

cmake -B build
cmake --build build

Installing

cmake --install build --prefix /your/install/prefix

Downstream packages consume this via CMake:

find_package(SHiPDataModel REQUIRED)
target_link_libraries(your_target PRIVATE SHiP::SHiPDataModel)

Dependencies

  • ROOT 6.36+ (Core, RIO)

Licence

LGPL-3.0-or-later. See LICENSES/ for the full text.

About

Event Data Model for the SHiP experiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages