SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
SHiP Data Model

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

Documentation

An automatic class reference is built using Doxygen from comments in the C++ code.

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
SHiP/RecParticle.hpp SHiP::RecParticle Reconstruction

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.