|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|

Public Member Functions | |
| InteractionModel (boost::filesystem::path dataPath=corsika_data("QGSJetII")) | |
| bool | isValid (Code const beamId, Code const targetId, HEPEnergyType const sqrtS) const |
| Throws exception if invalid system is passed. More... | |
| CrossSectionType | getCrossSection (Code const projectile, Code const target, FourMomentum const &projectileP4, FourMomentum const &targetP4) const |
| Return the QGSJETII inelastic/production cross section. More... | |
| template<typename TSecondaries > | |
| 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. More... | |
Definition at line 26 of file InteractionModel.hpp.
| void corsika::qgsjetII::InteractionModel::doInteraction | ( | TSecondaries & | , |
| Code const | projectile, | ||
| Code const | target, | ||
| FourMomentum const & | projectileP4, | ||
| FourMomentum const & | targetP4 | ||
| ) |
In this function QGSJETII is called to produce one event.
The event is copied (and boosted) into the shower lab frame.
| CrossSectionType corsika::qgsjetII::InteractionModel::getCrossSection | ( | Code const | projectile, |
| Code const | target, | ||
| FourMomentum const & | projectileP4, | ||
| FourMomentum const & | targetP4 | ||
| ) | const |
Return the QGSJETII inelastic/production cross section.
This cross section must correspond to the process described in doInteraction. Allowed targets are: nuclei or single nucleons (p,n,hydrogen).
| projectile | is the Code of the projectile |
| target | is the Code of the target |
| sqrtSnn | is the center-of-mass energy (per nucleon pair) |
| Aprojectile | is the mass number of the projectils, if it is a nucleus |
| Atarget | is the mass number of the target, if it is a nucleus |
| bool corsika::qgsjetII::InteractionModel::isValid | ( | Code const | beamId, |
| Code const | targetId, | ||
| HEPEnergyType const | sqrtS | ||
| ) | const |
Throws exception if invalid system is passed.
| beamId | |
| targetId |