Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 86ce71fc authored by ext-winkle_d's avatar ext-winkle_d
Browse files

Initialize meanR_m and Quaternion with default 0 shift and 0 rotation

parent b9382db0
No related branches found
No related tags found
No related merge requests found
......@@ -558,8 +558,11 @@ private:
/// energy spread of the beam in keV
double dE_m;
Vector_t globalMeanR_m;
Vektor<double, 4> globalToLocalQuaternion_m;
/// Initialize the translation vector and rotation quaternion
/// here. Cyclotron tracker will reset these values each timestep
/// TTracker can just use 0 translation and 0 rotation (quat[1 0 0 0]).
Vector_t globalMeanR_m = Vector_t(0.0, 0.0, 0.0);
Quaternion_t globalToLocalQuaternion_m = Quaternion_t(1.0, 0.0, 0.0, 0.0);
/// maximal extend of particles
Vector_t rmax_m;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment