File indexing completed on 2025-08-06 08:17:10
0001
0002
0003
0004
0005
0006
0007
0008 #include "PdbParameterError.h"
0009
0010 #include <cmath>
0011 #include <iostream>
0012
0013 PdbParameterError::PdbParameterError(const double value, const double error, const std::string &name)
0014 : PdbParameter(value, name)
0015 , theParError(error)
0016 {
0017 }
0018
0019 void PdbParameterError::print() const
0020 {
0021 std::cout << getName() << ": " << getParameter() << " +/- " << getParameterError() << std::endl;
0022 }