SHiP Data Model
Event data model for the SHiP experiment: C++ data classes with ROOT dictionary support.
Loading...
Searching...
No Matches
SimHit.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <cstdint>
5
6namespace SHiP {
7
9struct SimHit {
10 std::int32_t detectorId{0};
11 std::int32_t trackId{0};
12 std::int32_t pdgCode{0};
13 std::array<double, 3> position{0, 0, 0};
14 std::array<double, 3> momentum{0, 0, 0};
15 double energyDeposit{0};
16 double time{0};
17 double pathLength{0};
18};
19
20} // namespace SHiP
Definition MCParticle.hpp:6
Simulation hit from Geant4 sensitive detectors.
Definition SimHit.hpp:9
double energyDeposit
Energy deposited [GeV].
Definition SimHit.hpp:15
std::array< double, 3 > momentum
Momentum at hit [GeV/c].
Definition SimHit.hpp:14
std::int32_t detectorId
Definition SimHit.hpp:10
std::int32_t trackId
Definition SimHit.hpp:11
std::array< double, 3 > position
Hit position [mm].
Definition SimHit.hpp:13
double time
Global time [ns].
Definition SimHit.hpp:16
std::int32_t pdgCode
Definition SimHit.hpp:12
double pathLength
Step length [mm].
Definition SimHit.hpp:17