#ifndef _sdet_STimeVariance_h_ #define _sdet_STimeVariance_h_ #include namespace sdet { /** \class STimeVariance STimeVariance.h "sdet/STimeVariance.h" See GAP2007-057 for details. \author Darko Veberic \date 6 May 2007 */ class STimeVariance : public utl::Singleton { public: enum Model { eNone = 0, eICRC2005, eGAP2006_016, eNIMA, eCDASv4r4, eGAP2007_057, eCDASv4r6, eCDASv4r8, eCDASv5r0, eDefault = eCDASv4r8 }; STimeVariance() : fModel(eDefault) { } Model GetModel() const { return fModel; } void SetModel(const Model m) { fModel = m; } double GetTimeSigma2(const double signal, const double t50, const double cosTheta, const double distance = 0) const; private: Model fModel; }; } #endif