Skip to content
Snippets Groups Projects
Commit e3e989d5 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Remove printout from multipole magnetic field component access

parent 0f68497a
No related branches found
No related tags found
No related merge requests found
...@@ -129,8 +129,9 @@ void MultipoleField::fieldComponents(const double* pos, double* field) { ...@@ -129,8 +129,9 @@ void MultipoleField::fieldComponents(const double* pos, double* field) {
double x = p.X(), y = p.Y(), z = p.Z(); double x = p.X(), y = p.Y(), z = p.Z();
double coord[3] = {x, y, z}; double coord[3] = {x, y, z};
::printf("Pos: %+15.8e %+15.8e %+15.8e Inverse: %+15.8e %+15.8e %+15.8e\n", // Debug printout:
pos[0]/dd4hep::cm,pos[1]/dd4hep::cm,pos[2]/dd4hep::cm, p.X()/dd4hep::cm, p.Y()/dd4hep::cm, p.Z()/dd4hep::cm); //::printf("Pos: %+15.8e %+15.8e %+15.8e Inverse: %+15.8e %+15.8e %+15.8e\n",
// pos[0]/dd4hep::cm,pos[1]/dd4hep::cm,pos[2]/dd4hep::cm, p.X()/dd4hep::cm, p.Y()/dd4hep::cm, p.Z()/dd4hep::cm);
if ( 0 == volume.ptr() || volume->Contains(coord) ) { if ( 0 == volume.ptr() || volume->Contains(coord) ) {
double bx = 0.0; double bx = 0.0;
......
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