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 e5f8fb2e authored by Andreas Adelmann's avatar Andreas Adelmann
Browse files

is MHz not Hz

parent 81981678
No related branches found
No related tags found
No related merge requests found
...@@ -368,7 +368,7 @@ void Beam::print(std::ostream &os) const { ...@@ -368,7 +368,7 @@ void Beam::print(std::ostream &os) const {
os << "* BEAM " << getOpalName() << '\n' os << "* BEAM " << getOpalName() << '\n'
<< "* PARTICLE " << Attributes::getString(itsAttr[PARTICLE]) << '\n' << "* PARTICLE " << Attributes::getString(itsAttr[PARTICLE]) << '\n'
<< "* CURRENT " << Attributes::getReal(itsAttr[BCURRENT]) << " A\n" << "* CURRENT " << Attributes::getReal(itsAttr[BCURRENT]) << " A\n"
<< "* FREQUENCY " << Attributes::getReal(itsAttr[BFREQ])*1e-6 << " MHz\n" << "* FREQUENCY " << Attributes::getReal(itsAttr[BFREQ]) << " MHz\n"
<< "* CHARGE " << (charge > 0 ? '+' : '-') << "e * " << std::abs(charge) << " \n" << "* CHARGE " << (charge > 0 ? '+' : '-') << "e * " << std::abs(charge) << " \n"
<< "* REST MASS " << Attributes::getReal(itsAttr[MASS]) << " GeV\n" << "* REST MASS " << Attributes::getReal(itsAttr[MASS]) << " GeV\n"
<< "* MOMENTUM " << Attributes::getReal(itsAttr[PC]) << '\n' << "* MOMENTUM " << Attributes::getReal(itsAttr[PC]) << '\n'
......
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