Newer
Older
TB_Chris / TbUT / src / .svn / text-base / TbUTTresholdProvider.h.svn-base
@iaro iaro on 9 May 2016 697 bytes first attempt of automated anal
  1. /*
  2. * TbUTTresholdProvider.h
  3. *
  4. * Created on: Jan 4, 2015
  5. * Author: ADendek
  6. */
  7.  
  8. #pragma once
  9.  
  10. #include "TbUTITresholdProvider.h"
  11. #include "TbUTNoise.h"
  12. #include <string>
  13.  
  14. namespace TbUT
  15. {
  16.  
  17. class TresholdProvider: public ITresholdProvider
  18. {
  19. public:
  20. TresholdProvider(const std::string& p_noiseFile,
  21. const double& p_lowThresholdMultiplicity,
  22. const double& p_highThresholdMultiplicity );
  23.  
  24. void retreiveTresholds();
  25. double getLowClusterThreshold(int p_channel);
  26. double getHighClusterThreshold(int p_channel);
  27. private:
  28. const std::string& m_noiseFile;
  29. const double& m_lowThresholdMultiplicity;
  30. const double& m_highThresholdMultiplicity;
  31. Noise m_noise;
  32. };
  33.  
  34. } /* namespace TbUT */
  35.