Skip to content

Commit

Permalink
chore: Fix typo in the word gradient (#2867)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Jan 15, 2024
1 parent 242e3b3 commit db1d3c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Core/include/Acts/Propagator/DenseEnvironmentExtension.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct DenseStepperPropagatorOptions
bool meanEnergyLoss = true;

/// Boolean flag for inclusion of d(dEds)d(q/p) into energy loss
bool includeGgradient = true;
bool includeGradient = true;

/// Cut-off value for the momentum in SI units
double momentumCutOff = 0.;
Expand All @@ -66,7 +66,7 @@ struct DenseStepperPropagatorOptions

// Copy dense environment specific parameters
eoptions.meanEnergyLoss = meanEnergyLoss;
eoptions.includeGgradient = includeGgradient;
eoptions.includeGradient = includeGradient;
eoptions.momentumCutOff = momentumCutOff;

// And return the options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ struct GenericDenseEnvironmentExtension {
if (state.stepping.covTransport) {
// Calculate the change of the energy loss per path length and
// inverse momentum
if (state.options.includeGgradient) {
if (state.options.includeGradient) {
if (state.options.meanEnergyLoss) {
dgdqopValue = deriveEnergyLossMeanQOverP(
slab, absPdg, mass, static_cast<float>(qop[0]), absQ);
Expand Down

0 comments on commit db1d3c3

Please sign in to comment.