72 {
75 return Acts::ParticleHypothesis::geantino();
77 return Acts::ParticleHypothesis::electron();
79 return Acts::ParticleHypothesis::muon();
81 return Acts::ParticleHypothesis::pion();
83 throw std::domain_error(
84 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
85 "kaon");
86
88 return Acts::ParticleHypothesis(Acts::PdgParticle::eProton);
90 return Acts::ParticleHypothesis::photon();
92 throw std::domain_error(
93 "ActsTrk::ParticleHypothesis conversion to Acts doe not handle "
94 "neutron");
95
97 return Acts::ParticleHypothesis::pion0();
99 throw std::domain_error(
100 "ActsTrk::ParticleHypothesis conversion to Acts doe not handle K0");
101
103 throw std::domain_error(
104 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
105 "nonInteractingMuon");
107 throw std::domain_error(
108 "ActsTrk::ParticleHypothesis conversion to Acts does not handle "
109 "undefined/noHypothesis");
110 default:
111 throw std::domain_error(
112 "ActsTrk::ParticleHypothesis conversion to Acts failed for" +
114 }
115}
@ nonInteractingMuon
for Fatras usage
@ neutron
for Fatras usage