SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
SimParticle.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <cstdint>
5
6namespace SHiP {
7
9struct SimParticle {
10 std::int32_t trackId{0};
11 std::int32_t parentId{0};
12 std::int32_t pdgCode{0};
13 std::array<double, 3> vertex{0, 0, 0};
14 std::array<double, 3> endpoint{0, 0, 0};
15 std::array<double, 3> momentum{0, 0, 0};
16 double energy{0};
17 double time{0};
18 std::int32_t creatorProcess{0};
19};
20
21} // namespace SHiP
Definition MCParticle.hpp:6
Tracked particle from simulation.
Definition SimParticle.hpp:9
std::int32_t creatorProcess
Definition SimParticle.hpp:18
std::int32_t pdgCode
Definition SimParticle.hpp:12
double energy
Initial kinetic energy [GeV].
Definition SimParticle.hpp:16
std::int32_t parentId
Definition SimParticle.hpp:11
std::array< double, 3 > momentum
Initial momentum [GeV/c].
Definition SimParticle.hpp:15
std::array< double, 3 > endpoint
End point [mm].
Definition SimParticle.hpp:14
std::array< double, 3 > vertex
Production vertex [mm].
Definition SimParticle.hpp:13
double time
Production time [ns].
Definition SimParticle.hpp:17
std::int32_t trackId
Definition SimParticle.hpp:10