11 #include <corsika/modules/qgsjetII/ParticleConversion.hpp> 12 #include <qgsjet-II-04.hpp> 16 #include <corsika/framework/random/RNGManager.hpp> 17 #include <corsika/framework/utility/COMBoost.hpp> 20 #include <boost/filesystem/path.hpp> 29 InteractionModel(boost::filesystem::path dataPath = corsika_data(
"QGSJetII"));
63 template <
typename TSecondaries>
64 void doInteraction(TSecondaries&, Code
const projectile, Code
const target,
69 QgsjetIIHadronType alternate_ =
70 QgsjetIIHadronType::PiPlusType;
72 corsika::default_prng_type& rng_ =
74 std::bernoulli_distribution bernoulli_;
75 static size_t constexpr maxMassNumber_ = 208;
81 #include <corsika/detail/modules/qgsjetII/InteractionModel.inl> Import and extend the phys::units package.
Description of physical four-vectors.
void doInteraction(TSecondaries &, Code const projectile, Code const target, FourMomentum const &projectileP4, FourMomentum const &targetP4)
In this function QGSJETII is called to produce one event.
returns the full path of the file filename within the CORSIKA_DATA directory.
CrossSectionType getCrossSection(Code const projectile, Code const target, FourMomentum const &projectileP4, FourMomentum const &targetP4) const
Return the QGSJETII inelastic/production cross section.
bool isValid(Code const beamId, Code const targetId, HEPEnergyType const sqrtS) const
Throws exception if invalid system is passed.
Interface to particle properties.
prng_type & getRandomStream(string_type const &streamName)