00001 #ifndef ErrorOfSigma_h 00002 #define ErrorOfSigma_h 1 00003 00004 namespace marlin{ 00005 00013 class ErrorOfSigma { 00014 00015 public: 00016 00019 ErrorOfSigma( unsigned n ) ; 00020 00022 virtual ~ErrorOfSigma() {} 00023 00026 double lowerError( double sigma ) ; 00027 00030 double upperError( double sigma ) ; 00031 00032 protected: 00033 00036 virtual double getChiSquaredPlus() ; 00037 00040 virtual double getChiSquaredMinus() ; 00041 00043 unsigned _n ; 00044 } ; 00045 00046 00047 00048 } // end namespace 00049 00050 #endif 00051 00052 00053