Commit e12ba0ac authored by kraus's avatar kraus

remove debug output

parent dadebb2c
......@@ -118,7 +118,6 @@ void Corrector::goOnline(const double &) {
const double momentum = sqrt(std::pow(designEnergy_m, 2.0) + 2.0 * designEnergy_m * RefPartBunch_m->getM());
const double magnitude = momentum / (Physics::c * pathLength);
kickField_m = magnitude * RefPartBunch_m->getQ() * Vector_t(kickY_m, -kickX_m, 0.0);
*gmsg << __DBGMSG__ << kickField_m << "\t" << designEnergy_m << endl;
}
online_m = true;
......@@ -135,7 +134,6 @@ void Corrector::setDesignEnergy(const double& ekin, bool changeable) {
const double momentum = sqrt(std::pow(designEnergy_m, 2.0) + 2.0 * designEnergy_m * RefPartBunch_m->getM());
const double magnitude = momentum / (Physics::c * pathLength);
kickField_m = magnitude * RefPartBunch_m->getQ() * Vector_t(kickY_m, -kickX_m, 0.0);
*gmsg << __DBGMSG__ << kickField_m << "\t" << designEnergy_m << endl;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment