CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
SecondaryParticle.hpp
1
/*
2
* (c) Copyright 2020 CORSIKA Project, corsika-project@lists.kit.edu
3
*
4
* This software is distributed under the terms of the GNU General Public
5
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6
* the license.
7
*/
8
9
#pragma once
10
11
#include <corsika/framework/geometry/Vector.hpp>
12
#include <
corsika/framework/core/ParticleProperties.hpp
>
13
#include <
corsika/framework/core/PhysicalUnits.hpp
>
14
15
#include <vector>
16
17
namespace
corsika::history
{
18
23
struct
SecondaryParticle
{
24
HEPEnergyType
const
energy_;
25
Vector<hepmomentum_d>
const
momentum_;
26
Code
const
pid_;
27
28
public
:
29
SecondaryParticle
(
HEPEnergyType
energy,
Vector<hepmomentum_d>
momentum, Code pid)
30
: energy_{energy}
31
, momentum_{momentum}
32
, pid_{pid} {}
33
};
34
35
}
// namespace corsika::history
corsika::history
Definition:
HistoryObservationPlane.hpp:13
PhysicalUnits.hpp
Import and extend the phys::units package.
corsika::history::SecondaryParticle
This class stores the non-common properties of secondaries in an event.
Definition:
SecondaryParticle.hpp:23
phys::units::quantity< phys::units::hepenergy_d, double >
corsika::Vector
Definition:
CoordinateSystem.hpp:29
ParticleProperties.hpp
Interface to particle properties.
corsika
stack
history
SecondaryParticle.hpp
Generated by
1.8.13