Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 //  Declaration of class PdbParameterError
0002 //  Purpose: single parameter storage class
0003 //  Author: Cesar & federica
0004 
0005 #ifndef PDBCAL_BASE_PDBPARAMETERERROR_H
0006 #define PDBCAL_BASE_PDBPARAMETERERROR_H
0007 
0008 #include "PdbParameter.h"
0009 
0010 #include <limits>
0011 #include <string>
0012 
0013 class PdbParameterError : public PdbParameter
0014 {
0015  public:
0016   PdbParameterError(const double, const double, const std::string &name);
0017   ~PdbParameterError() override = default;
0018 
0019   double getParameterError() const { return theParError; }
0020 
0021   void setParameterError(const double val) { theParError = val; }
0022 
0023   void print() const override;
0024 
0025  protected:
0026   PdbParameterError() = default;
0027 
0028  private:
0029   double theParError{std::numeric_limits<double>::quiet_NaN()};
0030 
0031   ClassDefOverride(PdbParameterError, 1);
0032 };
0033 
0034 #endif /* PDBCAL_BASE_PDBPARAMETERERROR_H */