From b0d6e2db35bd52f3b7de0029182f07c904e25d84 Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de> Date: Sat, 4 Jun 2022 01:06:54 +0200 Subject: [PATCH] docs --- corsika/detail/framework/utility/COMBoost.inl | 2 +- corsika/framework/utility/COMBoost.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/corsika/detail/framework/utility/COMBoost.inl b/corsika/detail/framework/utility/COMBoost.inl index 2664bfa7c..293a0e3d1 100644 --- a/corsika/detail/framework/utility/COMBoost.inl +++ b/corsika/detail/framework/utility/COMBoost.inl @@ -102,7 +102,7 @@ namespace corsika { template <typename FourVector> inline FourVector COMBoost::fromCoM(FourVector const& p4) const { - auto const pCM = p4.getSpaceLikeComponents().getComponents(rotatedCS_); + auto pCM = p4.getSpaceLikeComponents().getComponents(rotatedCS_); auto const Ecm = p4.getTimeLikeComponent(); Eigen::Vector2d com; diff --git a/corsika/framework/utility/COMBoost.hpp b/corsika/framework/utility/COMBoost.hpp index 508973602..ef907d07f 100644 --- a/corsika/framework/utility/COMBoost.hpp +++ b/corsika/framework/utility/COMBoost.hpp @@ -56,14 +56,14 @@ namespace corsika { COMBoost(FourMomentum const& P4projectile, HEPEnergyType const massTarget); /** - * Construct a COMBoost to boost into the rest frame given a 3-momentum and mass. + * Construct a COMBoost to boost into the rest frame of a particle given its 3-momentum and mass. */ COMBoost(MomentumVector const& momentum, HEPEnergyType const mass); /** * Construct a COMBoost given two four-vectors of projectile target. * - * The tow FourMomentum can define an arbitrary system. + * The two FourMomentum can define an arbitrary system. */ COMBoost(FourMomentum const& P4projectile, FourMomentum const& P4target); -- GitLab