Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:10

0001 //  The pdbcal package
0002 //  Copyright (C) PHENIX collaboration, 2004
0003 //
0004 //  Implementation of class PdbParameter
0005 //
0006 //  Author: Cesar
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 }