CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LASProfileJudge.h
Go to the documentation of this file.
1 
2 #ifndef __LASPROFILEJUDGE_H
3 #define __LASPROFILEJUDGE_H
4 
5 #include <iostream>
6 #include <utility>
7 
9 
15 public:
17  bool IsSignalIn(const LASModuleProfile&, double);
18  bool JudgeProfile(const LASModuleProfile&, double);
19  void EnableZeroFilter(bool);
20  void SetOverdriveThreshold(unsigned int);
21 
22 private:
23  double GetNegativity(int);
24  bool IsPeaksInProfile(int);
25  bool IsNegativePeaksInProfile(int);
26  bool IsOverdrive(int);
27 
29  std::pair<unsigned int, double> thePeak;
31  unsigned int overdriveThreshold;
32 };
33 
34 #endif
bool IsSignalIn(const LASModuleProfile &, double)
bool IsNegativePeaksInProfile(int)
LASModuleProfile profile
bool IsPeaksInProfile(int)
bool JudgeProfile(const LASModuleProfile &, double)
std::pair< unsigned int, double > thePeak
unsigned int overdriveThreshold
void SetOverdriveThreshold(unsigned int)
double GetNegativity(int)
void EnableZeroFilter(bool)