SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
MCParticle.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <cstdint>
5
6namespace SHiP {
7
9struct MCParticle {
10 std::int32_t pdgCode{0};
11 std::array<double, 3> vertex{0, 0, 0};
12 std::array<double, 3> momentum{0, 0, 0};
13 double energy{0};
14 double time{0};
15 std::int32_t motherId{-1};
16 std::int32_t status{1};
17};
18
19} // namespace SHiP
Definition MCParticle.hpp:6
Monte Carlo particle — input to simulation.
Definition MCParticle.hpp:9
std::int32_t motherId
Index of mother (-1 = primary)
Definition MCParticle.hpp:15
std::array< double, 3 > vertex
Production vertex [mm].
Definition MCParticle.hpp:11
double time
Production time [ns].
Definition MCParticle.hpp:14
std::int32_t status
Status code (1 = stable)
Definition MCParticle.hpp:16
std::array< double, 3 > momentum
Momentum (px, py, pz) [GeV/c].
Definition MCParticle.hpp:12
double energy
Total energy [GeV].
Definition MCParticle.hpp:13
std::int32_t pdgCode
Definition MCParticle.hpp:10