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