|
10 | 10 |
|
11 | 11 | #include "ActsExamples/Utilities/GroupBy.hpp" |
12 | 12 | #include "ActsFatras/EventData/Particle.hpp" |
13 | | -#include "ActsFatras/EventData/SimulationOutcome.hpp" |
| 13 | +#include "ActsFatras/EventData/ParticleOutcome.hpp" |
14 | 14 |
|
15 | 15 | #include <boost/container/flat_set.hpp> |
16 | 16 |
|
@@ -74,7 +74,7 @@ class SimParticle final { |
74 | 74 | } |
75 | 75 |
|
76 | 76 | /// Set the process type that generated this particle. |
77 | | - SimParticle& setProcess(ActsFatras::GenerationProcess proc) { |
| 77 | + SimParticle& setProcess(ActsFatras::ProcessType proc) { |
78 | 78 | initialState().setProcess(proc); |
79 | 79 | finalState().setProcess(proc); |
80 | 80 | return *this; |
@@ -107,9 +107,7 @@ class SimParticle final { |
107 | 107 | /// Particle identifier within an event. |
108 | 108 | SimBarcode particleId() const { return initialState().particleId(); } |
109 | 109 | /// Which type of process generated this particle. |
110 | | - ActsFatras::GenerationProcess process() const { |
111 | | - return initialState().process(); |
112 | | - } |
| 110 | + ActsFatras::ProcessType process() const { return initialState().process(); } |
113 | 111 | /// PDG particle number that identifies the type. |
114 | 112 | Acts::PdgParticle pdg() const { return initialState().pdg(); } |
115 | 113 | /// Absolute PDG particle number that identifies the type. |
@@ -172,9 +170,7 @@ class SimParticle final { |
172 | 170 | std::uint32_t numberOfHits() const { return finalState().numberOfHits(); } |
173 | 171 |
|
174 | 172 | /// Particle outcome. |
175 | | - ActsFatras::SimulationOutcome outcome() const { |
176 | | - return finalState().outcome(); |
177 | | - } |
| 173 | + ActsFatras::ParticleOutcome outcome() const { return finalState().outcome(); } |
178 | 174 |
|
179 | 175 | private: |
180 | 176 | SimParticleState m_initial; |
|
0 commit comments