Skip to content

Commit

Permalink
chore: improve propagator doc (#2102)
Browse files Browse the repository at this point in the history
make PDG explicit and improve doc a little
  • Loading branch information
andiwand committed May 9, 2023
1 parent 65b6de0 commit 6e613f0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Core/include/Acts/Propagator/Propagator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "Acts/Propagator/StepperConcept.hpp"
#include "Acts/Propagator/detail/VoidPropagatorComponents.hpp"
#include "Acts/Utilities/Logger.hpp"
#include "Acts/Utilities/PdgParticle.hpp"
#include "Acts/Utilities/Result.hpp"

#include <optional>
Expand Down Expand Up @@ -58,10 +59,12 @@ struct PropagatorPlainOptions {
/// Propagation direction
Direction direction = Direction::Forward;

/// The |pdg| code for (eventual) material integration - pion default
int absPdgCode = 211;
/// The |pdg| code for (eventual) material integration -
/// pion default
int absPdgCode = PdgParticle::ePionPlus;

/// The mass for the particle for (eventual) material integration
/// The mass for the particle for (eventual) material integration -
/// pion default
double mass = 139.57018 * UnitConstants::MeV;

/// Maximum number of steps for one propagate call
Expand Down

0 comments on commit 6e613f0

Please sign in to comment.