4 #include "KVGeoNodeIterator.h"
38 if (
start ==
nullptr) {
39 current_node = start_node;
40 next_trajectory->
Reset();
43 current_node = start_node =
start;
44 iter_on_traj = trajectory;
45 delete next_trajectory;
46 next_trajectory =
new TIter(
start->GetTrajectories());
48 current_trajectory =
nullptr;
49 begin_iteration_on_next_trajectory();
91 current_node = start_node;
92 iter_on_traj = trajectory;
93 next_trajectory->
Reset();
94 current_trajectory =
nullptr;
95 begin_iteration_on_next_trajectory();
Path taken by particles through multidetector geometry.
Information on relative positions of detectors & particle trajectories.
Iterate from node to node along trajectories in array geometry.
void ResetTrajectory(KVGeoDNTrajectory *trajectory=nullptr)
void Reset(KVGeoDetectorNode *start=nullptr, KVGeoDNTrajectory *trajectory=nullptr)