Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PdbParameterError.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PdbParameterError.cc
1 // The pdbcal package
2 // Copyright (C) PHENIX collaboration, 2004
3 //
4 // Implementation of class PdbParameter
5 //
6 // Author: Cesar
7 
8 #include "PdbParameterError.h"
9 
10 #include <cmath>
11 #include <iostream>
12 
13 using namespace std;
14 
16  : theParError(NAN)
17 {
18 }
19 
20 PdbParameterError::PdbParameterError(const double value, const double error, const string &name)
21  : PdbParameter(value, name)
22  , theParError(error)
23 {
24 }
25 
27 {
28  cout << theName << ": " << thePar << " +/- " << theParError << endl;
29 }