/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/LaserAlignment/interface/LASProfileJudge.h
33 строки
751 B
Cms Build
Clang-Format
20 май 2019, 13:01
20 май 2019, 13:01
125ebea
Код
Авторство
О чём код?
#ifndef __LASPROFILEJUDGE_H #define __LASPROFILEJUDGE_H #include <iostream> #include <utility> #include "Alignment/LaserAlignment/interface/LASModuleProfile.h" /// /// check if a LASModuleProfile is usable /// for being stored and fitted /// class LASProfileJudge { public: LASProfileJudge(); bool IsSignalIn(const LASModuleProfile&, double); bool JudgeProfile(const LASModuleProfile&, double); void EnableZeroFilter(bool); void SetOverdriveThreshold(unsigned int); private: double GetNegativity(int); bool IsPeaksInProfile(int); bool IsNegativePeaksInProfile(int); bool IsOverdrive(int); LASModuleProfile profile; std::pair<unsigned int, double> thePeak; bool isZeroFilter; unsigned int overdriveThreshold; }; #endif