59 {
62 return Acts::ParticleHypothesis::geantino();
64 return Acts::ParticleHypothesis::electron();
66 return Acts::ParticleHypothesis::muon();
68 return Acts::ParticleHypothesis::pion();
70 throw std::domain_error(
71 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
72 "kaon");
73
75 return Acts::ParticleHypothesis(Acts::PdgParticle::eProton);
77 return Acts::ParticleHypothesis::photon();
79 throw std::domain_error(
80 "ActsTrk::ParticleHypothesis conversion to Acts doe not handle "
81 "neutron");
82
84 return Acts::ParticleHypothesis::pion0();
86 throw std::domain_error(
87 "ActsTrk::ParticleHypothesis conversion to Acts doe not handle K0");
88
90 throw std::domain_error(
91 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
92 "nonInteractingMuon");
94 throw std::domain_error(
95 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
96 "undefined/noHypothesis");
97 default:
98 throw std::domain_error(
99 "ActsTrk::ParticleHypothesis conversion to Acts failed for" +
101 }
102}
@ nonInteractingMuon
for Fatras usage
@ neutron
for Fatras usage