52 if (! is_adjoint_tracking_mode)
54 if (! did_one_adj_part_reach_ext_source_during_event) {
58 if (theUserFwdSteppingAction !=
nullptr) {
67 did_adj_part_reach_ext_source =
false;
68 if (theUserAdjointSteppingAction !=
nullptr) {
84 did_adj_part_reach_ext_source =
false;
96 aStep, surface_name, crossing_pos, cos_to_surface, GoingIn))
98 if (surface_name ==
"ExternalSource") {
100 did_adj_part_reach_ext_source =
true;
101 did_one_adj_part_reach_ext_source_during_event =
true;
109 last_pos = crossing_pos;
112 if (surface_name ==
"AdjointSource" && GoingIn) {
113 did_adj_part_reach_ext_source =
false;
122 did_adj_part_reach_ext_source =
true;
123 did_one_adj_part_reach_ext_source_during_event =
true;
128 last_pos = crossing_pos;
const G4String & GetParticleType() const
G4int GetBaryonNumber() const