CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::SlidingPlanarTabular< TDerived > Class Template Reference

The SlidingPlanarTabular models mass density as

\[ \varrho(r) = \varrho_0 \rho\left( |p_0 - r| \right). \]

For grammage/length conversion, the density distribution is approximated as locally flat at the starting point \( r_0 \) of the trajectory with the axis pointing rom \( p_0 \) to \( r_0 \) defining the local height. More...

#include <SlidingPlanarTabular.hpp>

Inheritance diagram for corsika::SlidingPlanarTabular< TDerived >:

Public Member Functions

 SlidingPlanarTabular (Point const &p0, std::function< MassDensityType(LengthType)> const &rho, unsigned int const nBins, LengthType const deltaHeight, NuclearComposition const &nuclComp, LengthType referenceHeight=LengthType::zero())
 
MassDensityType getMassDensity (Point const &point) const override
 
NuclearComposition const & getNuclearComposition () const override
 
GrammageType getIntegratedGrammage (BaseTrajectory const &line) const override
 
LengthType getArclengthFromGrammage (BaseTrajectory const &line, GrammageType grammage) const override
 
- Public Member Functions inherited from corsika::BaseTabular< SlidingPlanarTabular< TDerived > >
 BaseTabular (Point const &point, LengthType const referenceHeight, std::function< MassDensityType(LengthType)> const &rho, unsigned int const nBins, LengthType const deltaHeight)
 
Point const & getAnchorPoint () const
 

Additional Inherited Members

- Protected Member Functions inherited from corsika::BaseTabular< SlidingPlanarTabular< TDerived > >
auto const & getImplementation () const
 
MassDensityType getMassDensity (LengthType const height) const
 
GrammageType getIntegratedGrammage (BaseTrajectory const &line) const
 
LengthType getArclengthFromGrammage (BaseTrajectory const &line, GrammageType const grammage) const
 

Detailed Description

template<typename TDerived>
class corsika::SlidingPlanarTabular< TDerived >

The SlidingPlanarTabular models mass density as

\[ \varrho(r) = \varrho_0 \rho\left( |p_0 - r| \right). \]

For grammage/length conversion, the density distribution is approximated as locally flat at the starting point \( r_0 \) of the trajectory with the axis pointing rom \( p_0 \) to \( r_0 \) defining the local height.

Definition at line 34 of file SlidingPlanarTabular.hpp.


The documentation for this class was generated from the following file: