|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
Class that creates and stores histograms of collisions \(dN/dE_{lab}\), \(dN/d\sqrt{s}\) which is used by class InteractionCounter. More...
#include <InteractionHistogram.hpp>
Public Member Functions | |
| void | fill (Code const projectile_id, HEPEnergyType const lab_energy, HEPEnergyType const mass_target) |
| fill both CMS and lab histograms at the same time More... | |
| hist_type const & | CMSHist () const |
| return histogram in c.m.s. frame | |
| hist_type const & | labHist () const |
| return histogram in laboratory frame | |
| InteractionHistogram & | operator+= (InteractionHistogram const &other) |
| InteractionHistogram | operator+ (InteractionHistogram other) const |
Class that creates and stores histograms of collisions \(dN/dE_{lab}\), \(dN/d\sqrt{s}\) which is used by class InteractionCounter.
Histograms are of type boost::histogram
Definition at line 37 of file InteractionHistogram.hpp.
| void corsika::InteractionHistogram::fill | ( | Code const | projectile_id, |
| HEPEnergyType const | lab_energy, | ||
| HEPEnergyType const | mass_target | ||
| ) |
fill both CMS and lab histograms at the same time
| projectile_id | corsika::Code of particle |
| lab_energy | Energy in lab. frame |
| mass_target | Mass of target particle |
| A | if projectile_id is Nucleus : Mass of nucleus |
| Z | if projectile_id is Nucleus : Charge of nucleus |